Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I have install drbd 0.7.14 on 2 centos 4.2 boxes. Everything is running fine on one box(hostname cluster2) but on the machine with the hostname cluster1 I get the following message when starting the service: service drbd start Starting DRBD resources: [ d0 ioctl(,SET_DISK_CONFIG,) failed: Invalid argument Lower device is already mounted. cmd /sbin/drbdsetup /dev/drbd1 disk /dev/hdc1 internal -1 failed! Both systems appear to be the same but I can not see why cluster1 does not work. The mount command does not show it mounted: (cluster1) mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) (cluster2) mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) The drbd.conf file on both systems: resource drbd0 { protocol C; incon-degr-cmd "halt -f"; on cluster1 { device /dev/drbd1; disk /dev/hdc1; address 10.0.0.2:7789; meta-disk internal; } on cluster2 { device /dev/drbd1; disk /dev/hdc1; address 10.0.03:7789; meta-disk internal; } } cluster1 - ip is 10.0.0.2 cluster2 - ip is 10.0.0.3 Installed on cluster1(Linux cluster1 2.6.9-22.0.2.EL ) kernel-module-drbd-2.6.9-22.0.2.EL-0.7.14-1.centos4 drbd-0.7.14-1.centos4 Installed on cluster2 - uname -a (Linux cluster2 2.6.9-22.0.2.EL ) drbd-0.7.14-1.centos4 kernel-module-drbd-2.6.9-22.EL-0.7.14-1.centos4 kernel-module-drbd-2.6.9-22.0.2.EL-0.7.14-1.centos4 cat /proc/drbd on cluster1 version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by updatecentos at x8664-build.centos.org, 2006-01-18 06:56:59 0: cs:Unconfigured 1: cs:Unconfigured cat /proc/drbd on cluster2 version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by updatecentos at x8664-build.centos.org, 2006-01-18 06:56:59 0: cs:Unconfigured 1: cs:WFConnection st:Secondary/Unknown ld:Inconsistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 Any assistance would be greatly appreciated.