XFS file recovery after an accidental 'rm -rf <dir>'

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
rameshk
Posts: 1
Joined: 17 Sep 2012, 14:23

XFS file recovery after an accidental 'rm -rf <dir>'

#1 Post by rameshk »

Hello All,

Today I had executed the much feared 'rm -rf <dir>' command, on a few data taking machines. What I lost was ~1.5 TB of large files (each 640 MB), on a 8TB-RAID0 device, running XFS.

On googling, I stumbled across TestDisk, and have started a deep search on the disks. I guess this is going to take a day or so to complete the search.

Does anyone here have had success in recovering a large number of deleted files on a XFS volume?

Cheers,
Ramesh

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: XFS file recovery after an accidental 'rm -rf <dir>'

#2 Post by cgrenier »

If PhotoRec knows this file format, you can always try it. No need to wait for completion to check the recovered files

Locked