xfs
[Top] [All Lists]

Re: How to fsck read-only-mounted root filesystem?

To: Dan Hollis <goemon@xxxxxxxxx>
Subject: Re: How to fsck read-only-mounted root filesystem?
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2001 14:04:44 +0100
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 5421F57306; Wed, 5 Dec 2001 14:04:49 +0100 (CET)
Cc: linux xfs ml <linux-xfs@xxxxxxxxxxx>
Organization: Sauter AG, Basel
References: <Pine.LNX.4.30.0112050252480.28833-100000@xxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Dan Hollis schrieb:
> 
> How can one xfs_check/xfs_repair a root filesystem?

Boot from a bootable CD and perform the repair on the unmounted
filesystem.
Have a look at this http://lbt.linuxcare.com/index.epl

HTH.
-Simon

> 
> 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>