Skip to contentSkip to conversation

Correct fsck behavior on boot

DISCUSSION Anders Aagaard 2 participants 4 messages Sep 11, 2008 – Oct 13, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi

What's the correct options to pass to reiser4.fsck on boot to get it to check the filesystem when it's not marked as clean?

reiser4 fsck does implement -a, but it seems to return right away, including when the filesystem wasn't unmounted cleanly. Is the filesystem integrity still secured by hash'es, so skipping fsck is intentional? --check --fix seems a tad bit excessive on every boot.

Anders Aagaard

#2 lore raw
In reply to a message not in the archive
Quoted 2 lines · Alexander Lyamin

Why one have to worry about cleanness of a _journaled_ fs ?
Its seems like immediate return on -a is intended behavior.

I suspect it is, I'm just making sure I have something to fire back with when a gentoo developer complains about my patch here:

http://bugs.gentoo.org/show_bug.cgi?id=237393

Quoted 20 lines · On Thu, Sep 11, 2008 at 3:26 PM, Anders Aagaard <[email protected]…

Hi

What's the correct options to pass to reiser4.fsck on boot to get it to check the filesystem when it's not marked as clean?

reiser4 fsck does implement -a, but it seems to return right away, including when the filesystem wasn't unmounted cleanly. Is the filesystem integrity still secured by hash'es, so skipping fsck is intentional?
--check --fix seems a tad bit excessive on every boot.

Anders Aagaard

Signature · 1 line
connecting the dots
#4 lore raw
In reply to a message not in the archive
Quoted 3 lines · Alexander Lyamin

I dont really like both: idea and flag name.
Can you elaborate a bit on your reasoning behind the patch ?

http://bugs.gentoo.org/195988

Currently closed as RESOLVED_FIXED with preen aliased to --check --fix more or less. It's not something I expect will be included upstream anytime soon, but if the gentoo developers refuse to support reiser4 in init scripts it has to be supported elsewhere. And they default to -p on linux systems.

Quoted 47 lines · On Thu, Sep 11, 2008 at 4:21 PM, Anders Aagaard <[email protected]…

Alexander Lyamin wrote:

Why one have to worry about cleanness of a _journaled_ fs ?
Its seems like immediate return on -a is intended behavior.

I suspect it is, I'm just making sure I have something to fire back with when a gentoo developer complains about my patch here:

http://bugs.gentoo.org/show_bug.cgi?id=237393

On Thu, Sep 11, 2008 at 3:26 PM, Anders Aagaard <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote:

Hi

What's the correct options to pass to reiser4.fsck on boot to
get it
to check the filesystem when it's not marked as clean?

reiser4 fsck does implement -a, but it seems to return right
away,
including when the filesystem wasn't unmounted cleanly. Is the filesystem integrity still secured by hash'es, so skipping
fsck is
intentional?
--check --fix seems a tad bit excessive on every boot.

Anders Aagaard

--
connecting the dots

Signature · 1 line
connecting the dots
#5 lore raw
In reply to Anders Aagaard
Quoted 8 lines · Anders Aagaard
Quoted 2 lines · Alexander Lyamin

Why one have to worry about cleanness of a _journaled_ fs ?
Its seems like immediate return on -a is intended behavior.

I suspect it is, I'm just making sure I have something to fire back with when a gentoo developer complains about my patch here:

http://bugs.gentoo.org/show_bug.cgi?id=237393

Would you please maintain this issue in Gentoo? I was sure that reiser4 is not checked after every incorrect umount, whereas people shrink their root partitions, format them with other file systems, etc.. and this is sad.

Thanks,
Edward.

Quoted 28 lines
Quoted 21 lines

On Thu, Sep 11, 2008 at 3:26 PM, Anders Aagaard <[email protected] <mailto:[email protected]>> wrote:

Hi

What's the correct options to pass to reiser4.fsck on boot to get it to check the filesystem when it's not marked as clean?

reiser4 fsck does implement -a, but it seems to return right away, including when the filesystem wasn't unmounted cleanly. Is the filesystem integrity still secured by hash'es, so skipping fsck is intentional?
--check --fix seems a tad bit excessive on every boot.

Anders Aagaard

Signature · 1 line
connecting the dots
Signature · 4 lines
To unsubscribe from this list: send the line "unsubscribe
reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html