[DRBD-user] dmesg: drbd_bm_set_bits_in_irq ?

Florian Haas florian.haas at linbit.com
Mon Dec 10 17:06:55 CET 2007

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


Vincent,

Problem reproduced. Steps to reproduce:

1. drbdadm down <resource>
2. remove underlying device (e.g. rename logical volume)
3. drbdadm up <resource>

after "drbdadm up", DRBD issues this error message:

Can not open device '<local device>': No such file or directory
Command 'drbdsetup /dev/drbd<num> disk <local device> <local device>
internal --set-defaults --create-device --on-io-error=detach' terminated with
exit code 20

This is likely to confuse users. This doesn't mean that the "up" command 
failed altogether. "up" is really the combination of "detach" 
and "connect"; "detach" fails here while "connect" proceeds as normal. 

The device is then Diskless. But, the in-memory representation of the sync
bitmap was never initialized.

4. drbdadm primary <resource>
5. issue any write I/O to DRBD device.

When write I/O is issued after the device has been made Primary, DRBD attempts
to update an in-memory sync bitmap that isn't there. Hence your error messages 
in the kernel log.

This is a bug. A fix is being worked on. It is not fixed in 8.0.8.

Still, you would never have run into this issue if your underlying disks 
hadn't been totally broken (as they were, apparently).

From your last message, it appears that you have fixed your setup, and also 
ran a full resync to be on the safe side. Which is a good thing.

Cheers,
Florian


-- 
: Florian G. Haas                               Tel +43-1-8178292-60  :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82  :
: Vivenotgasse 48, A-1120 Vienna, Austria       http://www.linbit.com :

This e-mail is solely for use by the intended recipient(s). Information 
contained in this e-mail and its attachments may be confidential, privileged 
or copyrighted. If you are not the intended recipient you are hereby formally 
notified that any use, copying, disclosure or distribution of the contents of 
this e-mail, in whole or in part, is prohibited. Also please notify 
immediately the sender by return e-mail and delete this e-mail from your 
system. Thank you for your co-operation.



More information about the drbd-user mailing list