On Wed, Apr 16, 2003 at 03:12:26PM +0200, Valentijn Sessink wrote:
> At Tue, Apr 15, 2003 at 02:15:06AM -0800, Ethan Benson wrote:
> > > 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
>
> Yes, you're right, my fault: I checked with a "rw" entry in /etc/mtab, which
> makes xfs_check think the fs is r/w mounted (as far as I can see).
yes libxfs checks /etc/mtab for this information.
> Ehm, as far as I understand, this will not help me repair a disk as
> xfs_repair -n does not repair anything - or does it?
correct, you can only repair a fully unmounted filesystem with
xfs_repair, that means you cannot repair the root filesystem unless
you boot from an alternate root.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpqtkdszvOF4.pgp
Description: PGP signature
|