xfs
[Top] [All Lists]

How to fsck read-only-mounted root filesystem?

To: linux xfs ml <linux-xfs@xxxxxxxxxxx>
Subject: How to fsck read-only-mounted root filesystem?
From: Dan Hollis <goemon@xxxxxxxxx>
Date: Wed, 5 Dec 2001 02:56:52 -0800 (PST)
Sender: owner-linux-xfs@xxxxxxxxxxx
How can one xfs_check/xfs_repair a root filesystem?

If you try this, even from singleuser mode where / is mounted read-only,
the utilities whinge about the filesystem being mounted, and refuse to
touch the disk at all.

I have an xfs filesystem with some corruption from (I think) bad dma.
There's some directories which xfs won't let me remove. And with no way
to repair the filesystem :-( :-( this sux.

Seems to me that repairing a read-only mounted filesystem should be
allowed?!? e2fsck allows it.

-Dan
-- 
[-] Omae no subete no kichi wa ore no mono da. [-]


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