xfs
[Top] [All Lists]

Re: xfs mount warning

To: linux-xfs@xxxxxxxxxxx, Chris Szilagyi <szilagy2@xxxxxxx>
Subject: Re: xfs mount warning
From: Steve Lord <lord@xxxxxxx>
Date: Fri, 01 Jun 2001 12:50:25 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx

ctooley@xxxxxxxx said:
>> Hello, I have a question.  When my system boots, it reports the
>> following errors when it mounts my xfs volumes:

>> kernel: Partition check:
>> kernel:  /dev/scsi/host1/bus0/target0/lun0: p1 p2 
>> kernel: Start mounting filesystem: sd(8,1)
>> kernel: XFS: WARNING: recovery required on readonly filesystem.
>> kernel:
>> kernel: XFS: write access will be enabled during mount.
>> kernel:
>> kernel: Starting XFS recovery on filesystem: sd(8,1) (dev: 8/1)
>> kernel: Ending XFS recovery on filesystem: sd (8,1) (dev: 8/1)
>> kernel: VFS: Mounted root (xfs filesystem) readonly.

>> Just wondering why it has to do a recovery,  and if this is common and
>> if it can be fixed.  When I shutdown it unmounts the volumes ok...

>> Thanks, -- Chris


This does actually mean it was not successfully unmounted, the last phase
of system shutdown is to remount the root filesystem readonly, it is possible
that this is not working.

If you are running a redhat based system, then look at /etc/rc.d/init.d/halt
for this code:

#echo "Remounting remaining filesystems (if any) readonly"
mount | awk '/ext2/ { print $3 }' | while read line; do
    mount -n -o ro,remount $line
done

Try adding:

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

and see if that helps. I think someone else also reported that devfs was
getting in the way during shutdown.

Steve

p.s. this was cut and pasted from the archive since we had an email outage
     here and I didn't actually get this message.





<Prev in Thread] Current Thread [Next in Thread>
  • Re: xfs mount warning, Steve Lord <=