From: Kuba Ober <kuba@mareimbrium.org>
To: " ( Marc A. Lehmann )" <pcg@goof.com>
Cc: reiserfs-list@namesys.com
Subject: Re: A couple of questions
Date: Fri, 17 May 2002 11:05:00 -0400 [thread overview]
Message-ID: <ac36a2$o6k$2@main.gmane.org> (raw)
In-Reply-To: <20020516214419.GE15774@schmorp.de>
> > What I'm thinking of is this:
> > to the user, which most users w/o intimate filesystem knowledge won't be
> > able to answer at all?
>
> Unix traditionally wasn't aimed at the point-and-click users without
> knowledge.
Yep. But the thing is that either fsck can restore the data or not. There's no
way in between.
What more can unix-poweruser do about recovering a filesystem, other than
running a disk editor (say a reiserfs-customized version of norton disk
editor, which used to be a good thing for hand recovery of fat fs before it
became crap) ?
What kinds of questions can fsck really ask without having to present user
with a lot of intricate data, which is better visualized graphically or, at
least in a more interactive ui?
Example: If e2fsck starts asking questions like "inode counts don't match for
groups (a long list of groups). fix them <y>", what should I answer? no? that
would be nonsense.
One of the reasons for these questions are that they are eyebrow-raisers. Say,
if your raid1 array got out of sync somehow, a lot of fsck errors will maybe
prompt you to look at whether something like that might have happened in the
first place. But fsck should be able, as far as it can from the fs metadata,
tell the user whether the fs was seriously corrupted by a block device
failure (say raid corruption, hd having transfer problems, etc), overwriting
of data with garbage, or unclean shutdown / fs-specific kernel bugs. It's the
fsck utility that has this data. No power admin will have that kind of
knowledge without at least dumping metadata and having a look at it with some
specialized tool, or an on-the-spot hacked script to test things out.
I had a hardware crash. Or a raid failure. Obviously I don't have recent
enough backup, or I really need those last-minute changes back, quickly. Or
may system crashed in such a way that some metadata got corrupted. Many ifs.
Now please tell me specifically how that knowledge applies to answering
particular questions that say ext2fsck or reiserfsck may ask.
> for some strange reason no fsck behaves like that.
Because most fscks are hacks. They are useful, they mostly do their job, but
they are far from full-features tools, and that's the reality. I don't
complain. I just say that their functionality isn't optimal, and shouldn't be
cited as something that's the way to go, or as something that should be a
design goal. They are effects of how much time did the fs-knowing people have
to put in them.
Cheers, Kuba
next prev parent reply other threads:[~2002-05-17 15:05 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 18:44 A couple of questions Steve Pratt
2002-05-16 18:55 ` Oleg Drokin
2002-05-16 20:33 ` Hans Reiser
2002-05-16 21:23 ` Kuba Ober
2002-05-16 21:44 ` Lehmann
2002-05-16 21:44 ` Lehmann
2002-05-16 23:57 ` Hans Reiser
2002-05-17 0:45 ` Philipp Gühring
2002-05-17 1:06 ` Manuel Krause
2002-05-17 15:21 ` Kuba Ober
2002-05-17 0:17 ` Manuel Krause
2002-05-17 15:04 ` Kuba Ober
2002-05-18 20:40 ` Hans Reiser
2002-05-17 15:05 ` Kuba Ober [this message]
2002-05-17 13:10 ` Valdis.Kletnieks
2002-05-17 15:35 ` Kuba Ober
-- strict thread matches above, loose matches on Subject: below --
2010-05-27 13:39 Paul Millar
2010-05-27 14:56 ` Hubert Kario
2010-05-31 17:59 ` Paul Millar
2010-06-02 16:19 ` Hubert Kario
2010-05-27 16:00 ` Chris Mason
2010-05-31 18:06 ` Paul Millar
2010-05-31 20:33 ` Mike Fedyk
2010-06-02 11:56 ` Paul Millar
2010-06-01 13:39 ` Martin K. Petersen
2010-06-02 13:40 ` Paul Millar
2010-06-04 1:17 ` Martin K. Petersen
2005-04-18 11:51 Imre Simon
2005-04-18 15:31 ` Linus Torvalds
2005-04-18 16:23 ` Paul Jackson
2002-05-17 15:27 Steve Pratt
2002-05-17 13:11 berthiaume_wayne
2002-05-17 16:03 ` Kuba Ober
2002-05-16 18:48 Steve Pratt
2002-05-16 15:11 Steve Pratt
2002-05-16 15:35 ` Oleg Drokin
2002-05-16 14:52 Steve Pratt
2002-05-16 15:13 ` Hans Reiser
2002-05-15 21:22 Steve Pratt
2002-05-16 5:20 ` Oleg Drokin
2002-05-16 9:42 ` Hans Reiser
2002-05-16 11:40 ` Oleg Drokin
2002-05-16 11:54 ` Hans Reiser
2001-10-10 11:28 Adil EL YOUSSEFI
2001-10-10 12:11 ` David Woodhouse
1999-03-02 13:11 Neil Booth
1999-03-15 18:58 ` Stephen C. Tweedie
1999-03-15 22:46 ` neil
1999-03-16 12:22 ` Stephen C. Tweedie
1999-03-16 2:11 ` Andrea Arcangeli
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='ac36a2$o6k$2@main.gmane.org' \
--to=kuba@mareimbrium.org \
--cc=pcg@goof.com \
--cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.