xfs
[Top] [All Lists]

Re: fsck.xfs on ro mounted disks

To: linux-xfs@xxxxxxxxxxx
Subject: Re: fsck.xfs on ro mounted disks
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Tue, 15 Apr 2003 02:15:06 -0800
In-reply-to: <20030414112911.GA8577@xxxxxxxxxxxxx>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <20030414112911.GA8577@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Mon, Apr 14, 2003 at 01:29:11PM +0200, Valentijn Sessink wrote:
> Hello list,
> 
> Is there any chance that the XFS check and repair utilities will start
> working on a (read-only) mounted disk someday? xfs_check and xfs_repair now
> complain that the disk is mounted and refuse to do anything. This makes
> using XFS as root fs a bit unpleasant, as a reboot in single user mode or
> even in "emergency" mode (running /bin/sh instead of init) will not help to
> fix any file system problems.
> 
> Is there a way to force xfs_repair to work on a read only fs?

xfs_check -f works on readonly filesystems (read/write too, but will
usually report erroneous errors) xfs_repair -n is the same, but its
been said that xfs_repair misses quite a bit in no-write mode (which
is what -n is). 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgppVZqGZsX8i.pgp
Description: PGP signature

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