[DRBD-user] Partitioning /dev/drbd1

Felix Frank ff at mpexnet.de
Wed Mar 9 09:18:17 CET 2011

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


>> while partitioning a partition is possible and rather straight-forward,
>> it sure isn't standard practice.
> 
> I wasn't actually suggesting to create "partitions in partitions" I just
> wasn't aware that the drbd device nodes are partitions and not basic
> block devices (like i.e. the /dev/xvdN nodes that xen adds). That
> certainly explains the behavior I'm seeing.

You're right, technically DRBDs are not harddrive partitions (I think).
This had me wondering: What is your backing device? I was assuming you
created a DRBD on top of a physical partition.

>> Also, please make sure that replication actually works when you mount
>> your "inner partitions" this way. I think it should, but I might be
>> wrong.
> 
> I'm sure one could make this work but I don't intend to try it. I've
> seen people use logical LVM volumes as physical volumes for new volume
> groups which *seemed* to work though I didn't know for sure because I
> was too busy trying to get out of there. Always fun to see these kinds
> of M.C.Escher-esque topologies....as long as I don't have to maintain
> them :)

Within the DRBD paradigm, this is actually a common and documented
approach: http://www.drbd.org/users-guide/s-nested-lvm.html

What I'm saying is: You *are* mounting nested partitions using kpartx.
I'd be interested in whether this is supported and works wrt. replication.

Cheers,
Felix



More information about the drbd-user mailing list