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

Greg Freemyer freemyer-ml at NorcrossGroup.com
Wed Apr 7 23:44:04 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.


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.

HTH
Greg
-- 
Greg Freemyer




More information about the drbd-user mailing list