Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi,
I'm new to drbd and fairly new to Centos, I am trying to setup a NFS
server using heartbeat.
I managed to get drbd to work using a simple setup of 2 drives on
different machines, but when I add a further 2 drives I run into this
error on.
Starting DRBD resources: [ d0 d1 ioctl(,SET_DISK_CONFIG,) failed:
Invalid argument
Lower device is already mounted.
cmd /sbin/drbdsetup /dev/drbd1 disk /dev/hdd1 internal -1 failed!
As far as I can tell, hdd1 is not mounted, there is no reference to it in
fstab etc. - It is a new partition that I created just before running drbd
and it is not listed in response to mount.
The simple drbd.conf I am trying is below.
Any suggestions on how to fix this would be gratefully received.
Rob
resource drbd0 {
protocol C;
syncer {
rate 12M;
}
on fs1.bathnetworks.local {
device /dev/drbd0;
disk /dev/hde1;
address 10.0.0.1:7788;
meta-disk internal;
}
on shorty.bathnetworks.local {
device /dev/drbd0;
disk /dev/hdc1;
address 10.0.0.2:7788;
meta-disk internal;
}
}
resource drbd1 {
protocol C;
syncer {
rate 12M;
}
on fs1.bathnetworks.local {
device /dev/drbd1;
disk /dev/hdf1;
address 10.0.0.1:7789;
meta-disk internal;
}
on shorty.bathnetworks.local {
device /dev/drbd1;
disk /dev/hdd1;
address 10.0.0.2:7789;
meta-disk internal;
}
}