xfs
[Top] [All Lists]

xfs_repair takes long time

To: <xfs@xxxxxxxxxxx>
Subject: xfs_repair takes long time
From: <Kiran.Chandapu@xxxxxxx>
Date: Thu, 2 Feb 2012 03:19:01 -0500
Accept-language: en-US
Acceptlanguage: en-US
Thread-index: Aczhg1CSZVB3aZTxT7ayRHkdfqxkzQ==
Thread-topic: xfs_repair takes long time

Hi

 

My set up looks like this, we have software raid on top of it we have LVM and using XFS file system. Currently we have faced on an issue with raid /dev/md1 so we have activated it and when we checked we had missed PV information, so we had to restore the metadata information from Volume group and that was successful. Later we had activated VG and LV, now when I try to mount the volume using xfs, I am unable to and when I check the system logs I see below logs:

 

Feb  2 12:21:08 DDATA kernel: XFS: bad magic number

Feb  2 12:21:08 DDATA kernel: XFS: SB validate failed

 

So I have realized that the file system might have corrupted and started running xfs_repair but it takes such a long time, not sure it is because of the amount of data we have on the volume around 12TB.

First time it took 3 days, incomplete and unfortunately the session got terminated. Now again I have to run the repair.

 

Could anyone please let me know, is there any way I can speed up the process or any rough idea who much time the file system repair going to take.

 

Any help is really appreciated.

 

Thanks

-Kiran

 

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