[DRBD-user] Lower device already claimed error

Pascal BERTON pascal.berton3 at free.fr
Wed Jul 11 10:00:33 CEST 2012

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


/dev/sda2 ? Wouldn't it sound like a swap partition or something alike ?
Or wouldn't it be already in use by one of the MDs ?
What does "fdisk -l /dev/sda" return ?

-----Message d'origine-----
De : drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] De la part de Digimer
Envoyé : mercredi 11 juillet 2012 07:13
À : Lin Zhao
Cc : drbd-user at lists.linbit.com
Objet : Re: [DRBD-user] Lower device already claimed error

On 07/10/2012 06:54 PM, Lin Zhao wrote:
> Hi I'm setting up drbd on a Linux 2.6.18-238.el5. When I'm doing 
> drbdadmin attach, i get error:
> 
> //dev/drbd1: Failure: (114) Lower device is already claimed. This 
> usually means it is mounted./ /Command 'drbdsetup /dev/drbd1 disk 
> /dev/sda2 /dev/sda2 internal --set-defaults --create-device' 
> terminated with exit code 10/ / /
> 
> sda2 should by no means be mounted:
> /[root at mbus5 ~]# mount -l/
> //dev/md1 on / type ext3 (rw,noatime)/ /proc on /proc type proc (rw)/ 
> /sysfs on /sys type sysfs (rw)/ /devpts on /dev/pts type devpts 
> (rw,gid=5,mode=620)/
> //dev/md0 on /boot type ext3 (rw)/
> /tmpfs on /dev/shm type tmpfs (rw)/
> /none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)/

Could it be claimed by LVM or similar? *Something* has it... Any clues in
'lsof'?

--
Digimer
Papers and Projects: https://alteeve.com


_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list