[DRBD-user] ds:Inconsistent/Diskless

Sam Przyswa samp at arial-concept.com
Mon Sep 13 18:51:48 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.


Le 13/09/2010 18:39, Digimer a écrit :
> 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.
>    

If I umount the /dev/LVM-1/POSTFIX-2 ans restart DRBD I got:

version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757

  2: cs:Connected ro:Secondary/Secondary ds:Inconsistent/Inconsistent B 
r----
     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b 
oos:20971520

And I can't promote it as primary because it's not UpToDate !

But /dev/LVM-1/POSTFIX-2 is *NOT* a raw partition but *ext3* !

Sam.





More information about the drbd-user mailing list