Recover deleted files from drive pool.

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
Posts: 1
Joined: 20 Nov 2012, 17:08

Recover deleted files from drive pool.

#1 Post by elxiliath »


I have had the recent misfortune of having one of my family members deleting files off of my server at home that runs as a NAS. I have a total of 5 drives pooled on my NAS with BTRFS. I use incremental backups of my system, but between the last back-up, when the files were added, then deleted there was no backup. I have been able to use photorec to locate the files in question, but because the data is pooled and striped across all of the drives in the pool, I am unable to recover complete files. I was hopeful that photorec would allow me to select the pool as a target drive, but it will only allow me to select an individual drive.

This is my output from "df -h"

/dev/sda1 228M 48M 169M 22% /boot
/dev/sde 4.6T 3.3T 1.2T 74% /mnt/Xserve
/dev/sdb1 932G 900G 33G 97% /mnt/Xserve/TV
/dev/sdd1 466G 374G 93G 81% /mnt/Xserve/backup500

You see /dev/sde is my pool, but photorec can only see it as the initial drive in the pool.

Any suggestions would be greatly appreciated.