xfs
[Top] [All Lists]

Re: XFS recovery on root filesystem

To: Sarwer Zafiruddin <sarwer.zafiruddin@xxxxxxxx>
Subject: Re: XFS recovery on root filesystem
From: Steve Lord <lord@xxxxxxx>
Date: 25 Apr 2002 10:22:02 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0204251049450.1201-100000@xxxxxxxxxxxx>
References: <Pine.LNX.4.33.0204251049450.1201-100000@xxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 2002-04-25 at 10:09, Sarwer Zafiruddin wrote:
> Hello,
> 
> I was curious about somthing.  I have a system running the RedHat 
> distribution of XFS 1.1 on a system.  When I upgraded the RPM's and the 
> redhat kernel (I recompiled the kernel using the SGI XFS kernel SRPM on my 
> system) and rebooted the system, I noticed the following messages in my 
> dmesg log (I rebooted the system remotely):
> 
> XFS mounting filesystem ide0(3,2)
> XFS: WARNING: recovery required on readonly filesystem.
> XFS: write access will be enabled during mount.
> Starting XFS recovery on filesystem: ide0(3,2) (dev: 3/2)
> Ending XFS recovery on filesystem: ide0(3,2) (dev: 3/2)
> VFS: Mounted root (xfs filesystem) readonly.
> 
> None of my other filesystems performed a recovery
> 
> XFS mounting filesystem ide0(3,1)
> XFS mounting filesystem ide0(3,10)
> XFS mounting filesystem ide0(3,7)
> XFS mounting filesystem ide0(3,8)
> XFS mounting filesystem ide0(3,3)
> XFS mounting filesystem ide0(3,9)
> 
> I was runing the SGI XFS 1.0.2 (using installer) Redhat 7.2, and the 
> system was up for more than 120 days before the reboot.  
> 
> QUESTION #1:
> 
> What could have prompted the recovery???  Un-clean unmount during the 
> reboot???  The fact the upgrade process requires a xfs recovery to be 
> performed on the root fs???  Could it be similar to ext2 where if the fs 
> has not been check in X amount of days it does a fsck equivlent???

Almost certainly the remount readonly in the shutdown path did not work,
there was a bug in this, possibly your old kernel was suffering from it,
or you had a version of the user space init scripts which limited the
remount readonly to ext2 filesystems, although I thought that was 7.1
and earlier user space.

Try another reboot with the current kernel and see if it comes up clean.

> 
> QUESTION #2:
> 
> Should I bring my system down to maintaince, boot off CD and run 
> xfs_repair on my root filesystem to make sure everything is consistant?
> 

Probably not needed.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>