<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi I'm setting up drbd on a Linux&nbsp;2.6.18-238.el5. When I'm doing drbdadmin attach, i get error:<div><br></div><div><div><i>/dev/drbd1: Failure: (114) Lower device is already claimed. This usually means it is mounted.</i></div><div><i>Command 'drbdsetup /dev/drbd1 disk /dev/sda2 /dev/sda2 internal --set-defaults --create-device' terminated with exit code 10</i></div></div><div><i><br></i></div><div><br></div><div>sda2 should by no means be mounted:</div><div><div><i>[root@mbus5 ~]# mount -l</i></div><div><i>/dev/md1 on / type ext3 (rw,noatime)</i></div><div><i>proc on /proc type proc (rw)</i></div><div><i>sysfs on /sys type sysfs (rw)</i></div><div><i>devpts on /dev/pts type devpts (rw,gid=5,mode=620)</i></div><div><i>/dev/md0 on /boot type ext3 (rw)</i></div><div><i>tmpfs on /dev/shm type tmpfs (rw)</i></div><div><i>none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)</i></div></div><div><br></div><div><br></div><div>Any pointer how to resolve this issue? I also tried zero out /dev/sda2 but it won't help.</div><div><br></div><div>My drbd.conf:</div><div><div><i>global {</i></div><div><i>&nbsp; usage-count yes;</i></div><div><i>}</i></div><div><i><br></i></div><div><i>common {</i></div><div><i>&nbsp; protocol C;</i></div><div><i>&nbsp; syncer {</i></div><div><i>&nbsp; &nbsp; rate 40M;</i></div><div><i>&nbsp; }</i></div><div><i>}</i></div><div><i><br></i></div><div><i>resource r0 {</i></div><div><i><br></i></div><div><i>&nbsp; on mbus5 {</i></div><div><i>&nbsp; &nbsp; device &nbsp; &nbsp;/dev/drbd1;</i></div><div><i>&nbsp; &nbsp; disk &nbsp; &nbsp; &nbsp;/dev/sda2;</i></div><div><i>&nbsp; &nbsp; address &nbsp; 10.20.40.100:7789;</i></div><div><i>&nbsp; &nbsp; meta-disk internal;</i></div><div><i>&nbsp; }</i></div><div><i>&nbsp; on mbus6 {</i></div><div><i>&nbsp; &nbsp; device &nbsp; &nbsp;/dev/drbd1;</i></div><div><i>&nbsp; &nbsp; disk &nbsp; &nbsp; &nbsp;/dev/sda2;</i></div><div><i>&nbsp; &nbsp; address &nbsp; 10.20.40.81:7789;</i></div><div><i>&nbsp; &nbsp; meta-disk internal;</i></div><div><i>&nbsp; }</i></div><div><i><br></i></div><div><i>}</i></div></div><div><br></div><div><br></div><div>Thanks, Lin</div></body></html>