From: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Offline fsck (checking snapshots)
Date: Sat, 26 Apr 2008 22:17:09 -0400 [thread overview]
Message-ID: <4813E225.7040900@kadzban.is-a-geek.net> (raw)
In-Reply-To: <4813D644.7080003@Media-Brokers.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Charles Marcus wrote:
> Bryan Kadzban wrote:
>> I've gotten a script that I think is reasonable, that handles this.
>> With some help from others, it now works with XFS as well as ext2/3,
>> and it's supposed to also work with JFS. Since it requires LVM, I
>> think it might make sense to put something like it into the LVM
>> userspace tools.
>
> Sounds interesting... but any particular reason you're ignoring
> reiserfs?
No particular reason, no. I just haven't used it in maybe 6 years, so I
don't remember much about it. I also assume that nobody listening to
the discussion on ext3-users uses it either (based on the fact that
nobody else asked for it). So it didn't get added. :-)
I assume fsck.reiserfs is the right executable to use? (I seem to
remember a reiserfsck, but not whether they were equivalent...) What
args should be used to get it to check the snapshot FS, preferably
making as few changes as possible? (E.g., ext3 requires a pre-check
check to clean up orphan inodes, otherwise the real check will exit with
a failure status; does reiserfs require anything similar?)
I don't remember whether it stores the last-fsck time either; if it
does, is there some way to get that out (for try_get_check_date)? Does
it support updating that time while an LV is online? What about forcing
a check (per-filesystem) on the next reboot? (Any ability to set the
last-fsck time would work for both preventing a check and forcing a
check, of course.)
Google says it can do an external journal; how can you tell whether
that's in use (to skip making snapshots of only half the device)?
Thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIE+IlS5vET1Wea5wRA9jiAKDWRfyU42n5gVbmeN5oqdt4ElhhkgCfZ+we
T5XNVLgYw/tG4r5g5uaNIAU=
=Vdq3
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-04-27 2:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 22:39 [linux-lvm] Offline fsck (checking snapshots) Bryan Kadzban
2008-04-27 1:26 ` Charles Marcus
2008-04-27 2:17 ` Bryan Kadzban [this message]
2008-04-27 19:48 ` Charles Marcus
2008-04-27 23:37 ` Bryan Kadzban
2008-04-27 23:48 ` Dale
2008-05-10 1:07 ` David Coulson
2008-05-11 0:25 ` Bryan Kadzban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4813E225.7040900@kadzban.is-a-geek.net \
--to=bryan@kadzban.is-a-geek.net \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).