Repairing Corrupted XFS partitions

General support questions
Post Reply
jnananwesha
Posts: 1
Joined: 2017/08/03 09:59:18

Repairing Corrupted XFS partitions

Post by jnananwesha » 2017/08/03 10:07:59

Hi,

My OS is

CentOS release 6.9 (Final)

Code: Select all

rpm -qa | grep xfs
xfsprogs-4.5.0-9.el6.x86_64
xfsprogs-devel-4.5.0-9.el6.x86_64

I have a VirtualDisk, 60TB in size which is RAID6, created with megacli. I am using MegaRAID card. I have 10 partitions on it.

Due to a power failure, the server rebooted and VD was gone. I recreated the VD in the same order as it used to be and VD is up now. However I can not see any partition in it.

By using the parted, I tried to rescue, by using the starting and ending sectors.

Code: Select all

start -23437500416s   end - 35156250623s
Parted says it has detected a partition which is XFS, good so far.

But when I run

Code: Select all

xfs_repair -n /dev/sdx1 

candidate secondary superblock...
unable to verify superblock, continuing...
Is there anyway I can recover the partitions ?

Regards,

J

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Repairing Corrupted XFS partitions

Post by TrevorH » 2017/08/03 10:16:54

Personally I would stop playing with it and call a professional data recovery company for support. The more you do, the more things you may break and the less likely it is that you'll be able to recover.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply