[DRBD-user] DRBD and LVM Snapshot with 2 nodes configuration

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Apr 8 00:39:12 CEST 2004

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


/ 2004-04-07 17:44:04 -0400
\ Greg Freemyer:
> I have not been following this thread very closely, but I think one of
> the major issues is that the LVM VFS-lock patch does not work if drbd is
> layered above lvm.
> 
> If this is the only issue, then maybe xfs_freeze can be used as a work
> around.  (It can be used in the absense of the vfs-lock patch.)
> 
> With a kernel lacking the vfs-lock patch, the following does work on a
> single node setup:
> 
> xfs_freeze -f /dev/...   // Cause XFS to prepare for a snapshot
> create snapshot          
> xfs_freeze -u /dev/...   // Allow XFS to continue handling i/o
> 
> I don't know if any of the other filesystems over a userspace took to
> invoke freeze/unfreeze.

only that XFS does not work with DRBD 0.6.x :)

But: just use LVM2 on top of DRBD, and ll is working. So what.

	Lars Ellenberg



More information about the drbd-user mailing list