[DRBD-user] DRBD + LVM backup

J j at koarcg.com
Thu Feb 3 21:16:08 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.


On 2/3/2011 1:09 PM, Digimer wrote:
> On 02/03/2011 01:50 PM, J wrote:
>
>    If you use clustered LVM, snapshotting is not an option.
>
>    How you snapshot depends, to an extent, on where LVM is in relation to
> your DRBD resource. That is, if it's raw partition ->  DRBD ->  LVM, raw
> partition ->  LVM ->  DRBD or stacked raw ->  LVM ->  DRBD ->  LVM.
>
>    If you've got LVM below DRBD, then snapshotting it would, I suspect,
> take a point-in-time snapshot of one side of the resource. So long as
> the DRBD itself is UpToDate, this should provide you with a "drive
> image" capable of restoring your DRBD resource. Alternatively, if you
> use LVM on DRBD, then you can snapshot individual LVM LVs as you
> normally would.
>
>    In either case, you should not impact or effect your DRBD resource,
> beyond allocating enough space for the snapshot partition (be it
> node-side or space in the DRBD resource).
>

So, I believe the answer is no: I will not be able to mount that locally 
and easily. Suppose remounting the file system read only for a fast 
rsync is a viable fall back.

J




More information about the drbd-user mailing list