39 lines
856 B
Markdown
39 lines
856 B
Markdown
GENERIC PLEX SALVAGE
|
|
====================
|
|
|
|
Scan:
|
|
./scan.sh '/Warez/Books'
|
|
./scan.sh '/Warez/3D Printing'
|
|
./scan.sh '/Media/Some Folder'
|
|
|
|
Recover:
|
|
./recover.sh '/Warez/Books'
|
|
|
|
The source tree is mirrored beneath /mnt/recovery:
|
|
/Warez/Books -> /mnt/recovery/Warez/Books
|
|
|
|
The scan creates uniquely named manifest/summary files under /mnt/recovery.
|
|
|
|
Classifications:
|
|
SAFE
|
|
LOST
|
|
ETB_LOST
|
|
ETB_SURVIVES
|
|
UNKNOWN
|
|
OTHER
|
|
|
|
Only SAFE files are recovered.
|
|
|
|
Safety:
|
|
- damaged LV must remain kernel read-only;
|
|
- /mnt/recovery must be a separate mounted filesystem;
|
|
- filesystem root "/" is refused;
|
|
- ".." is refused;
|
|
- each file is dumped by inode;
|
|
- dumped byte size must match inode size;
|
|
- existing same-size recovered files are skipped;
|
|
- at least 2 GiB free is preserved on /mnt/recovery.
|
|
|
|
Known dead ext4 block range:
|
|
3418636288 - 4395389951
|