reiserfsck with LVM read-only snapshot
Thanks - I'll go digging :-)
Quoted 32 lines
-----Original Message-----
From: David Masover [mailto:[email protected]]
Sent: 10 November 2006 17:45
To: Roger Lucas
Cc: [email protected]
Subject: Re: reiserfsck with LVM read-only snapshotQuoted 1 line · Roger Lucas
Hmmm. I'm not sure about
dm_snapshothaving not used it before and LVM seems to work pretty well(at least as far as its
Quoted 1 line
capabilities allow). I'm open to all suggestions, however.
I'm not sure exactly where to point you to, though. The scary thing about
dm_snapshotis that there's so little documentation.No, wait, looks like there is. Check a copy of the kernel source:
Documentation/device-mapper/snapshot.txtYou should be able to get it to work, even on top of LVM. But, if you're only using LVM for snapshots, you might consider using device-mapper directly instead.
Try it out on some loop devices first to get an idea of how it works. You know, little 10 meg files with an ext2 fs, set up with losetup (not mount -o loop), then you can play with dmsetup. As far as I know, any device-mapper device can be created from any block device, period -- dmraid works by creating
dm_lineardevices to represent the partitions of, say, adm_stripedevice. No performance hit that I can tell.If you need more help with that, let me know.