We're trying to setup DRBD on SLES10 sp2.
1. I added a partition on my HD with Yast (/dev/sda3) and I don't format it.
2. I created /etc/drbd.conf file :
global {
}
resource r0 {
protocol C;
on node01 {
device /dev/drbd0;
disk /dev/sda3;
address 10.1.1.1:7788;
meta-disk internal;
}
on node02 {
device /dev/drbd0;
disk /dev/sda3;
address 10.1.1.2:7788;
meta-disk internal;
}
}
3- When I start DRBD with rcdrbd start I get the following error :
Starting DRBD resources: [ d0 ioctl(,SET_DISK_CONFIG,) failed: Device or resource busy
cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda3 internal -1 failed!
Can this version of drdb (0.7) can use a partition or do I have to dedicate a disk to it?