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?