xfs
[Top] [All Lists]

Re: xfs_repair on a 1.5 TiB image has been hanging for about an hour, n

To: linux-xfs@xxxxxxxxxxx
Subject: Re: xfs_repair on a 1.5 TiB image has been hanging for about an hour, now
From: Nicolas Stransky <nico@xxxxxxxxxxx>
Date: Fri, 12 Feb 2010 17:27:30 -0500
In-reply-to: <4B75BEA6.70403@xxxxxxxxxxx>
References: <2d460de71002120607g763afc2bt2167fcfbf4664b56@xxxxxxxxxxxxxx> <4B75738D.80108@xxxxxxxxxxx> <2d460de71002120845ue5b127ex1033b37ae5ff6ba2@xxxxxxxxxxxxxx> <2d460de71002120902g3bda548t4e202dfe43a0c742@xxxxxxxxxxxxxx> <hl438l$bhm$1@xxxxxxxxxxxxx> <4B7594D3.6040304@xxxxxxxxxxx> <hl45te$kjs$1@xxxxxxxxxxxxx> <hl4dpt$fq2$1@xxxxxxxxxxxxx> <4B75BEA6.70403@xxxxxxxxxxx>
Sender: news <news@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100212 Shredder/3.0.2pre
On 2/12/10 3:48 PM, Eric Sandeen wrote:
> Nicolas Stransky wrote:
>> The -P option allowed me to complete xfs_repair successfully, but it
>> also deleted almost everything on the filesystem... A directory that I
>> could mount -o ro,norecovery before, with tens of GB of data in it, is
>> now empty... That is really too bad.
> 
> Any idea what happened to the fs - what prompted the repair?

Yes, it's a RAID 5 array that failed pretty bad due to multiple reboots
of the machine. Some disks failed and at some point, the RAID card did
stopped to detect some of the disks, or failed to assemble the RAID
array correctly. 3ware (LSI) issued a fix that allowed to start the
array in degraded mode, but the xfs filesystem seemed in a pretty bad
shape at that point. xfs_repair was failing right at the beginning and I
had to xfs_repair -L. Then xfs_repair was hanging forever. It's only
today, by using -P, that I got it to complete.

> Did you save the logs, or a preliminary metadump?

No I did not.

> I wonder what it found.  The files aren't in lost+found/ ?

There are tons of gigs of files in lost+found but I can't really sort
them and figure out which one is which at this point...

Thanks,
-- 
Nico

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