xfs
[Top] [All Lists]

Re: Problem with xfs_repair

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Problem with xfs_repair
From: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Date: Sat, 29 Jul 2006 14:57:19 +0200
In-reply-to: <Pine.LNX.4.64.0607281023370.30325@p34.internal.lan>
References: <20060728064505.GA14714@charite.de> <Pine.LNX.4.64.0607281019400.30325@p34.internal.lan> <Pine.LNX.4.64.0607281023370.30325@p34.internal.lan>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.3
Am Freitag 28 Juli 2006 16:23 schrieb Justin Piszcz:

> > Is your knoppix boot cd 5.0.1 == 2.6.17 == bugged kernel? ;P
>
> When repairing, do not use knoppix 5.0.1 or any version that uses
> 2.6.17 either..

Hello Justin,

since xfs_repair works independently of the in-kernel XFS implementation 
it is possible to repair a directory-corruption broken XFS filesystem 
with Knoppix 5.0.1.

It did so already. I used 5.0.1 to rsync a workstation image and sure it 
had this slight corruption afterwards. Thus I xfs_repair'ed it and 
xfs_check'ed it afterwards and all was well again.

No this is not a recommendation to use Knoppix 5.0.1 to rsync an 
workstation image ;), but an xfs_repair should be possible (unless one 
hits the unfixable bug). 

Important: When XFS needs to be mounted first before repair in order to 
clean the log it might not be wise to use Knoppix 5.0.1 tough.

BTW when using Knoppix 5 or even an older version instead I recommend 
switching off the write cache to be on the safe side (hdparm -W0).

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


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