xfs
[Top] [All Lists]

Re: XFS recovery on root filesystem

To: <linux-xfs@xxxxxxxxxxx>
Subject: Re: XFS recovery on root filesystem
From: Sarwer Zafiruddin <sarwer.zafiruddin@xxxxxxxx>
Date: Thu, 25 Apr 2002 13:50:08 -0400 (EDT)
Cc: Sarwer Zafiruddin <sarwer.zafiruddin@xxxxxxxx>
In-reply-to: <1019748122.8309.52.camel@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
I rebooted the system and this time it came up without any recovery 
required.  Come to think of it, the reboot I did after the 1.1 upgrade was 
the first reboot of the system since I installed it from the installer.  
:-)

Thanks,
Sarwer

On 25 Apr 2002, Steve Lord wrote:

> 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
> 
> 

-- 
--------------------------
System Administrator
Rune Information Services
http://www.rune.org
e-mail:  sarwer@xxxxxxxx
--------------------------


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