From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1xNa-000339-4J for garchives@archives.gentoo.org; Mon, 08 Aug 2005 02:28:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j782Rab1009637; Mon, 8 Aug 2005 02:27:36 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j782N0PT010878 for ; Mon, 8 Aug 2005 02:23:01 GMT Received: by zproxy.gmail.com with SMTP id x7so639656nzc for ; Sun, 07 Aug 2005 19:23:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=i2kxspXFxnJiOad/CYQSdkMCLQcLh++Y7tnxTsW3GXr7440XbbAjOKL77c3lOmOMbIKQZOhbeU9jQljDIQis90oKTCgwrMmmiH2epGvKDXbos6jXtB829TFYbzX50vYZ05cNOOgU0mLESZsTZonmqEKe3J80+O7vheuKOX3Ia5g= Received: by 10.37.20.72 with SMTP id x72mr1837612nzi; Sun, 07 Aug 2005 19:23:14 -0700 (PDT) Received: by 10.37.15.48 with HTTP; Sun, 7 Aug 2005 19:23:13 -0700 (PDT) Message-ID: Date: Sun, 7 Aug 2005 19:23:13 -0700 From: Aaron Nichols To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re-post:How to get jfs root partition to properly fsck on power failure? In-Reply-To: <200508071703.03038.benno.schulenberg@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_341_27989618.1123467793246" References: <200508071703.03038.benno.schulenberg@gmail.com> X-Archives-Salt: 76703390-1f03-4905-a03b-1e26010d3af7 X-Archives-Hash: c7f933e0daab030482cdf4216584c823 ------=_Part_341_27989618.1123467793246 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/7/05, Benno Schulenberg wrote: >=20 > Aaron Nichols wrote: > > The way I'm able to recover this is to boot to the live CD, > > fsck.jfs/dev/sda6 and then reboot >=20 > Do you have an /sbin/fsck.jfs on your root partition? Because here > it doesn't exist. Hmm, you did emerge jfsutils? Boy, I wish it were that easy! (~)>> which fsck.jfs /sbin/fsck.jfs The problem I had here with reiserfs upon an irregular shutdown, > was that the root partition mounted okay, replaying several journal > entries, but the boot scripts refused to mount the home partition, > seemingly because it was uncleanly unmounted. I've sidestepped > this by changing the localmount script, to simply explicitly mount > the home partition, and now all is fine after a lockup (experiments > with a driver): journals get replayed and it boots on. >=20 > Maybe the scripts are doing something similar wrong for you, but > for the root partition, refusing to mount it because it is unclean > and it gets confused by the journal? >=20 >=20 Perhaps, though I'm not sure how to determine that this is the cause, nor= =20 how I would fix it. I have this problem on 3 different Gentoo hosts I run= =20 (the only 3 Gentoo hosts I have) so it's not an isolated problem on one=20 machine. Granted, all were setup by me using the guides on gentoo's site, s= o=20 if I made a mistake I probably did it 3 times.=20 I was going to try the "non-genkernel" approach and see if that worked any= =20 differently, as the grub configuration is quite different. I have examples= =20 of other distributions which work fine using jfs in this situation, but=20 those do not use udev and none require the same options that genkernel seem= s=20 to.=20 Anyways, thanks for the info - if there are any other bits of useful info= =20 let me know. I'll continue to fiddle. Aaron ------=_Part_341_27989618.1123467793246 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/7/05, Benno Schulenberg <benno.schulenberg@gmail.com>= wrote:
Aaron Nichols wrote:
> The way I'm able to recover this is to boot to= the live CD,
> fsck.jfs/dev/sda6 and then reboot

Do you have = an /sbin/fsck.jfs on your root partition?  Because here
it doe= sn't exist.  Hmm, you did emerge jfsutils?


Boy, I wish it were that easy!

(~)>> which fsck.jfs
/sbin/fsck.jfs
 
The problem= I had here with reiserfs upon an irregular shutdown,
was that the root = partition mounted okay, replaying several journal
entries, but the boot scripts refused to mount the home partition,
s= eemingly because it was uncleanly unmounted.  I've sidesteppedthis by changing the localmount script, to simply explicitly mount
the = home partition, and now all is fine after a lockup (experiments
with a driver): journals get replayed and it boots on.

Maybe the= scripts are doing something similar wrong for you, but
for the root par= tition, refusing to mount it because it is unclean
and it gets confused = by the journal?


Perhaps, though I'm not sure how to determine that this is the cause, nor how I would fix it. I have this problem on 3 different Gentoo hosts I run (the only 3 Gentoo hosts I have) so it's not an isolated problem on one machine. Granted, all were setup by me using the guides on gentoo's site, so if I made a mistake I probably did it 3 times.

I was going to try the "non-genkernel" approach and see if that w= orked any differently, as the grub configuration is quite different. I have examples of other distributions which work fine using jfs in this situation, but those do not use udev and none require the same options that genkernel seems to.

Anyways, thanks for the info - if there are any other bits of useful info l= et me know. I'll continue to fiddle.

Aaron
------=_Part_341_27989618.1123467793246-- -- gentoo-user@gentoo.org mailing list