[DRBD-user] Partitioning a drbd device

Dominik Klein dk at in-telegence.net
Thu Mar 12 09:14:50 CET 2009

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


Hi

> Whether it's "supported" depends entirely on what you do with this sort
> of setup. :-) For KVM or Xen it's generally fine, for KVM it's indeed
> something of a prerequisite.

So it is supposed to work and does not conflict with drbd in any manner.
 That's what I was looking for.

> I suppose you want to know what you can do with these "partitions" from
> the host environment. Check out the man page of kpartx and play with the
> devmaps which "kpartx -av /dev/drbd2" generates.

I already got into that. There even is something called "vbdmount", a
python script that did the job quite nicely. Still learning though.

> Be warned, though: you're on your own in coordinating your devmap access
> with that from KVM. In other words, don't mount and modify any of these
> filesystems while KVM is using the device.

Of course not.

Thank you!
Dominik



More information about the drbd-user mailing list