[DRBD-user] can't use LVM2 on drbd devices - "Failed to write physical volume"? [SOLVED]

Tomasz Chmielewski mangoo at wpkg.org
Mon Jan 14 14:54:58 CET 2008

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


Tomasz Chmielewski schrieb:

>> if that works out, figure out how you can make
>> that dm-XY device apear always as the same XY after reboot,
>> then filter it out specifically.
> 
> Thanks for theory. I added "r|/dev/dm-2|" as a filter for LVM and 
> created the volume just fine.
> 
> As of making /dev/dm-XY persistent - I'm trying to do it for some time, 
> but the more I try, the more hopeless it looks to me ;)
> 
> udev creates its persistent rules by taking something that never 
> changes: ethernet card's MAC address, disk's ID, fs label etc.
> 
> I've no idea how to make /dev/dm-XY for such a device static.

I can't find a way to make a persistent /dev/dm-XY.

This means my system may not be very reliable across reboots.


Is it possible to write DRBD metadata at the beginning of the device, 
not at the end of it? This should solve my problem.



-- 
Tomasz Chmielewski
http://wpkg.org



More information about the drbd-user mailing list