[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: recovery warning.



On Wed, 8 Nov 2000, Nigel Metheringham wrote:

> running, only root and proc was mounted, and root was readonly.   Even 
> then I am still seeing these messages logged on root mount:-
>   EXT3-fs: WARNING: recovery required on readonly filesystem.
>   EXT3-fs: write access will be enabled during recovery.
>   JFS DEBUG: (journal.c, 549): journal_init_inode: journal c7f97b60:
> 	inode 48:09/12, size 10485760, bits 12, blksize 4096
>   JFS DEBUG: (recovery.c, 414): journal_recover: JFS: recovery,
> 	exit status 0, recovered transactions 66 to 66
>   EXT3-fs: recovery complete.
>   VFS: Mounted root (ext3 filesystem) readonly.
> 
> The kernel is a self-built 2.2.18pre16, with ext3 0.0.3b.
> 
> Just to check I upgraded the e2fsprogs on one box from 1.19 to 
> 1.20-WIP-1026 - no change in effect.

Well, I thought I figured out the possible reason for this, in
initscripts, but I was wrong.  At the tail end of S01halt, we remount
read only anything that's left mounted.

Then, we have the following:

mount | awk '/ext2/ { print $3 }' | while read line; do
    mount -n -o ro,remount $line
done

This is going to miss root, because mount will show root mounted as ext3,
not ext2.

I changed this to the following:

mount | awk '/ext[23]/ { print $3 }' | while read line; do
    mount -n -o ro,remount $line
done

... but I still get the recovery warning.  Any other ideas?

-- 
Sam





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]