Page 1 of 1

Recover deleted files from drive pool.

Posted: 20 Nov 2012, 17:17
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.