[linux-lvm] Offline fsck (checking snapshots)

Bryan Kadzban bryan at kadzban.is-a-geek.net
Sun May 11 00:25:25 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

David Coulson wrote:
> I've been playing with this script today - Is there a more current 
> version, or someone who maintains it? There are a bunch of things
> that seem to be broken that I ended up cleaning up on my own

There isn't a more current version, no.  I guess (for the moment anyway)
I maintain it, since I was the one that took the original and added the
config file, support for other filesystems, etc.  (All that really
happened was some discussion on the ext3-users list.)

If you have patches, I'd be happy to apply them, and re-post.  :-)

(I did try running it once or twice, but those were older versions, and
lots of stuff got changed since then.  Unfortunately my main system
doesn't use LVM, and the qemu image that does seems to be corrupted (it
crashed at one point, and the RAID5 under the LVM got screwed up), so
it's been a long time since I ran it.  It sounds like I should create
another qemu image and start testing it again.)

> (e.g. it calculates the snapshot size in M, then creates it in 
> extents...).

Ouch.  I don't remember exactly when that part of the script changed,
but obviously it should be using -L, and should have an "M" suffix.
I've fixed that.

> I imagine there are other users who are frustrated with it, as it
> does not run cleanly as it is.

If there are any other users.  ;-)

So far, this is just an idea that was brought up in the context of ext3
(and someone complaining about really long fsck times being forced on
them on huge FSes).  I brought it up here in an attempt to get it maybe
merged into the LVM tools.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIJjz1S5vET1Wea5wRAySLAKCXKxAA+ahI/bTzlP2Zcf0gwuNqGwCfeeZC
Cmg0RzRJmIrSKD+0XabcRTQ=
=xn99
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list