Page 1 of 1

Repair XFS partition: Too small for data

Posted: 21 Jul 2013, 07:09
by cmonty
Hello!

I have a 3TB HDD containing 2.4TB of data.
Unfortunately the HDD was not identified correctly (due to outdated controller) and the size was set to 2TB.
Now the partition is too small for the data.

How can I repair this?

THX

Re: Repair XFS partition: Too small for data

Posted: 02 Aug 2013, 14:02
by Fiona
First of all, you have to make sure, that your disk is a GPT-Disk (GUID-partition table).
Intel MBR only supports disk up to 2.2 TB.
If you write over this limit and you your disk is Intel-MBR, it can cause loss of data.

TestDisk can handle XFS-partitions, only to qwrite it to your GUID-partition table.

If your Disk is recognized correctly, and testdisk finds your partition during a scan, you can write it to your GUID-partition table.

If your file system is damaged, you need datarecovery software like PhotoRec or commercial software.

XFS-chk or repair is only intended to repair a file system and not to recover data.
It's on your own risk;
http://docs.cray.com/books/S-2377-22/ht ... 70303.html

Fiona

Re: Repair XFS partition: Too small for data

Posted: 02 Aug 2013, 15:53
by cmonty
I fixed the problem by disabling HPA on the 3TB disk.