First of all a big thank you for TestDisk!
I would like to ask a little help on how to proceed.
What happened:
My 8 bay Synology was standing on a shelf in our garage, but unfortunately a pending electrical cable to be installed, inadvertently opened one of the drive bays.
Result: At first sight all data gone.
I'm not sure, but I think my Disk Station hat two volumes. What I'm sure of is that all volumes were JBOD.
Primary mistake: off course no decent backup
TestDisk to the rescue:
- I have connected all 8 hard drives to a PC that is running Ubuntu 20.04 from a usb drive. (slow)
- Gparted can see the disk, but sees it as unknown filesystm
- I then installed TestDisk and ran it
- After running for approx two days. TestDisk apparently has found the necessary ingredients and proposes to go to the next step
And this is where I'd like some help..
(I've navigated to the first line in the attached screenshot, filesys. data, then I could press P to view data, and it seems to me that my files are intact.)
I assume that the Partition Table has been damaged.
I think Synology is using mdadm, at least mdadm can be used to interrogate the disks
TestDisk shows:
Keys A: Add partition, L: Load backup and T: change type
Am I correct in assuming that:
a) I need to navigate using up / down arrow to each partition
b) on each partition > press Key A (to add partition)
Is this the way to reconstruct the partition table?
Or are their other steps to be taken?
Thanks for helping out!
Apparently I'm not allowed to post or upload a screenshot?
So I'm mimicking the screenshot
----------------------
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
----------------------
Disk /dev/sdb - 8001 GB / 7452 GiB - CHS 972801 255 63
Partition Start End Size in sectors
D Linux filesys. data 2048 4982399 4980352 [1.42.6-24922]
D Linux Raid 2048 4982527 4980480 [md0]
D Linux Swap 4982528 9176687 4194160
D Linux Raid 4982528 9176831 4194304 [md1]
Structure: Ok. Use Up/Down Arrow keys to select partition
Use Left / Right Arrow keys to CHANGE partition characteristics:
P = Primary D= Deleted
Keys A: add partition, L load backup, T: change type,
Enter: to continue
md 0.90.0 B.Endian Raid 1: devices 0(8,17) 1(8,1) 2(8,33) 3(8,49) 4(8,68) 5(8,113) 6(8,97)* 7(8,81), 2550 MB / 2431 MiB
------------------------