XFS data recovery
XFS is a Linux filesystem which is typically used in ready-made NAS devices produced by various vendors.
Buffalo chooses XFS as a main filesystem for its TeraStation NAS devices.
Many other NAS vendors like NetGear, Thecus, LaCie, and others use XFS filesystem actively in their devices as well.
As for DIY NASes, there is a tendency that people who are going to build NAS,
more often prefer either one of the versions of the reliable EXT or the latest-fashion ZFS filesystem.
Because XFS is typically used for the NAS devices working under Linux OS, XFS filesystem typically operates in conjunction
with the md-raid driver. This means that if you cannot access the data on the XFS volume, then you face one of:
- XFS filesystem failure,
- md-raid driver failure,
- simultaneous failure of XFS and md-raid.
The first two cases can be solved by ReclaiMe File Recovery software ,
since the software can read XFS filesystem on Windows.
Third case and severe cases of md-raid failure require both RAID recovery software to restore RAID configuration and data recovery software to extract data.
XFS data recovery using ReclaiMe
Before you start to recover data from XFS filesystem
you need to pull the disks out of the device and connect them to a Windows PC.
If you deal with Buffalo device, you may want to check our video on how to get disks out of the Buffalo NAS.
Make sure you label the disks so that you can restore exactly the original configuration if need be.
Additionally, you need to prepare the storage device which you will use for copying the recovered data.
It may be external drives, network drives, another NAS or something else.
Further to recover data from XFS you should:
- Download and install ReclaiMe File Recovery.
- Launch the tool and select the volume or disk for recovery.
If the disks were brought from the NAS device you see your XFS volume in the Linux MD RAID volumes section.
If you see several volumes, select the largest one.
- Wait until the software completes the analysis and check the recovey result using the preview function.
It is not required to wait till the end of the scan since ReclaiMe File Recovery handles XFS filesystem records first.
- If you are satisfied with the XFS folder tree and files you see, purchase the licnese key and start to copy the recovered data.
When you need to recover RAID configuration
If you do not see the needed XFS volume in the list of
ReclaiMe File Recovery software, most likely, significant md-raid failure has occurred. If so, you need to
recover RAID configuration using
ReclaiMe Free RAID Recovery first and thereafter start XFS data recovery as described above.
XFS specifics with respect to data recovery
During the format the XFS filesystem driver divides a disk into groups, similar to what the EXT driver does.
Each of these groups contains a superblock describing the general filesystem parameters.
Each group also contains a whole number of other filesystem structures, most important of them being the inode table.
Inode is a filesystem record describing some filesystem object like a file or folder.
Each particular group has an inode table which contains inode records describing objects in this group.
The significant difference between XFS and EXT is that inode tables of XFS have a variable size and location.
So if an XFS volume is formatted, only minimally needed parts of tables will be overwritten,
instead of overwriting the entire table as it would happen in EXT filesystem.
Thus, a chance to recover XFS data is sufficiently high even if the volume was formatted.
Still have questions?