Gentoo Archives: gentoo-user

From: Benno Schulenberg <benno.schulenberg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re-post:How to get jfs root partition to properly fsck on power failure?
Date: Sun, 07 Aug 2005 15:09:38
Message-Id: 200508071703.03038.benno.schulenberg@gmail.com
In Reply to: [gentoo-user] Re-post:How to get jfs root partition to properly fsck on power failure? by Aaron Nichols
1 Aaron Nichols wrote:
2 > The way I'm able to recover this is to boot to the live CD,
3 > fsck.jfs/dev/sda6 and then reboot
4
5 Do you have an /sbin/fsck.jfs on your root partition? Because here
6 it doesn't exist. Hmm, you did emerge jfsutils?
7
8 (Yes, you said that "the remaining filesystems fsck fine", but
9 journalled file systems do not really need to be fully checked,
10 they just need to replay a few journal entries, and fine.)
11
12 The problem I had here with reiserfs upon an irregular shutdown,
13 was that the root partition mounted okay, replaying several journal
14 entries, but the boot scripts refused to mount the home partition,
15 seemingly because it was uncleanly unmounted. I've sidestepped
16 this by changing the localmount script, to simply explicitly mount
17 the home partition, and now all is fine after a lockup (experiments
18 with a driver): journals get replayed and it boots on.
19
20 Maybe the scripts are doing something similar wrong for you, but
21 for the root partition, refusing to mount it because it is unclean
22 and it gets confused by the journal?
23
24 Benno
25 --
26 gentoo-user@g.o mailing list

Replies