xfs
[Top] [All Lists]

Re: Data destruction

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Data destruction
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 29 Aug 2001 09:22:29 +1100
Cc: Ivan Ivanov <ivandi@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <3B8BF3F2.3291510@sgi.com>; from sandeen@sgi.com on Tue, Aug 28, 2001 at 02:41:38PM -0500
References: <Pine.LNX.4.33.0108282209330.3986-100000@idi.vamo.orbitel.bg> <3B8BF3F2.3291510@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi,

On Tue, Aug 28, 2001 at 02:41:38PM -0500, Eric Sandeen wrote:
> Ivan Ivanov wrote:
> 
> > 1. When XFS is root filesystem it can't be checked for errors.
> > Wnen I go to runlevel 1 and remount / readonly all xfs repair tools say
> > that filesystem is mounted. The only way is to make two boot disks with 
> > kernel
> > and static linked repair tools on ramdisk.
> 
> If you only want to _check_ for errors, you can do "xfs_repair -n
> /dev/foo" on a read-only-mounted device.  You can also run xfs_check on
> the read-only device.  If you actually want to repair a filesystem, then
> yes, it must be unmounted.
> 

I made some changes awhile ago now which will allow xfs_repair to
run on a readonly, mounted filesystem.  root was a little tricky,
but should still work - Ivan, which version of xfsprogs are you
using and can you try the latest version?

cheers.

-- 
Nathan


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