[DRBD-user] Operation not permitted, works with another machine.

Matti Paksula matti.paksula at iki.fi
Sun Mar 6 19:39:52 CET 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I'm having problems creating drbd-resource:

root at server1:# drbdsetup /dev/drbd0 disk /dev/cciss/c0d0p7 internal -1 

ioctl(,SET_DISK_CONFIG,) failed: Operation not permitted

This works on server2 (see config below)

server1 is 2.4.26 #3 SMP with scsi-raid
c0d0p7 is a 10gb partition.

-- drbd.conf --

resource test {

   protocol C;

   startup {
     degr-wfc-timeout 120;    # 2 minutes.

   disk {
     on-io-error   detach;

   syncer {
     rate 100M;
     group 1;
     al-extents 257;

   on server1 {
     device     /dev/drbd0;
     disk       /dev/cciss/c0d0p7;
     meta-disk  internal;

   on server2 {
     device    /dev/drbd0;
     disk      /dev/hda4;
     meta-disk internal;
-- eof --

What am I missing here?

More information about the drbd-user mailing list