hi Jeremy - It's in the faq,
http://oss.sgi.com/projects/xfs/faq.html#xfschecks
Q: My filesystem is ok - but xfs_check or xfs_repair shows errors/won't
run - whats wrong here?
You can not run xfs_repair on a mounted filesystem although support is
available in CVS (08-02-2002) that lets you run xfs_repair with the -n
switch on a read-only mounted filesystem. You must not try to repair a
mounted fs since this will result in dataloss and corruption when
attempted.
If you have to repair you're filesystem it needs to be unmounted first.
If this is the root (/) filesystem this will mean you have to boot from
a bootable CD and perform the repair on the unmounted filesystem. There
is a link to various bootable floppy/cd projects mentioned in the FAQ
here.
-Eric
On Mon, 2003-03-31 at 16:43, Jeremy Jackson wrote:
> Hi,
>
> I'm wonder what's the official word about xfs_repair on a read-only
> mounted fs. The utilities complain for me, so I have to boot from a
> repair partition to fix XFS (a while back when the shutdown files in use
> bug was still a problem). Ext2 has no problem with this. I'd just to
> know for future reference, so I know if I have to have a spare root fs
> or not.
>
> --
> Jeremy Jackson <jerj@xxxxxxxxxxxx>
>
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc. 651-683-3102
|