[DRBD-user] ds:Inconsistent/Diskless

Digimer linux at alteeve.com
Mon Sep 13 18:39:31 CEST 2010

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


On 10-09-13 12:33 PM, Sam Przyswa wrote:
>> You need to attach the local disk first, it's currently diskless.
>>
>> drbdadm attach r0
>>    
> 
> Ok, I got that:
> 
> # drbdadm attach r0
> 2: Failure: (114) Lower device is already claimed. This usually means it
> is *mounted*.
> Command 'drbdsetup 2 disk /dev/LVM-1/POSTFIX-2 /dev/LVM-1/meta-1 0
> --set-defaults --create-device --on-io-error=detach' terminated with
> exit code 10
> 
> But the disk *must* be mounted
> 
> Sam.

No, it should not be mounted. DRBD expects to use a raw partition as
it's backing device.

So your '/dev/LVM-1/POSTFIX' LV should be unmounted. If you see it in
the output of 'df -h' then that is your problem.

-- 
Digimer
E-Mail:         linux at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org



More information about the drbd-user mailing list