Re: gjournal + WARNING: R/W mount of / denied. Filesystem not clean - run fsck.

From: Niki Denev <ndenev_at_totalterror.net>
Date: Mon, 11 Jun 2007 12:51:42 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Niki Denev wrote:
> Wilkinson, Alex wrote:
>>     0n Wed, Jun 06, 2007 at 06:45:26PM +0300, Niki Denev wrote: 
> 
>>     > I have the following problem when using gjournal for the root filesystem on my laptop (Sony VAIO PCG-U3)
>>     > If there is a unclean shutdown (hard poweroff/ kernel panic) on the next boot the machine starts to load normally,
>>     > i have messages as :
>>     >
>>     >        GEOM_JOURNAL: Journal ad0s1a consistent.
>>     >        Trying to mount root from ufs:/dev/ad0s1a.journal
>>     >        WARNING: / was not properly dismounted
>>     >
>>     > Then the system continues with executing fsck  in preen mode (fsck -p),
>>     > which reports :
>>     >        /dev/ad0s1a.journal: FILESYSTEM CLEAN; SKIPPING CHECKS
>>     > and fsck returns with zero, but after this when a read/write mount is tried the
>>     > system barfs this :
>>     >
>>     >        WARNING: R/W mount of / denied. Filesystem not clean - run fsck.
>>     >        mount:  : Operation not permitted
> 
>> Make sure your "Pass" column is correct in fstab(5).
> 
>>  -aW
> 
>> IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.
> 
> 
> 
> What do you mean by correct? Right now it's the default for root
> filesystems "1". Is there a special setting needed for gjournaled
> filesystems?
> 
> 

Well, i still can't find a way to make my system skip fsck on unclean
shutdown/reboot.
The strange thing is that "fsck -p" reports that the filesystem is
clean, but the kernel refuses to mount it r/w with the message "WARNING:
R/W mount of / denied. Filesystem is not clean - run fsck"

I guess i'm doing something wrong.. just can't see what it is.. any
ideas are appreciated.

Thanks.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbRsuHNAJ/fLbfrkRAi0PAJ9SUJ4ORvhsRb31tZRx/a5oUQFMdACeMBAX
wcFU4QB41aC7v8IqEFX/h/k=
=Gbnm
-----END PGP SIGNATURE-----
Received on Mon Jun 11 2007 - 07:53:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC