In 2 weeks times, I lost a disk twice in my synology DS210.
First time, the disk was truly giving signs of imminent death.
Because I was using SHR (synology hybrid raid), I could not mount my disk under my ubuntu.
So this is how I got my datas back (right before the disk died for good).
The disk is mounted thru a USB dock bay onto my synology.
-1: locate your disk and raid partition with fdisk -l,
you should get something like this :
/dev/sdx3 588 19457 151569760+ fd Linux raid autodetect
-2: ensure this partition actually contains an MD device with mdadm –examine –scan /dev/sdx3,
you should something like that :
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=db7c8f07:6f0f4570:852c2e22:a378fec9
-3: locate your last active MD device with mdadm –detail –scan,
you should get something like :
ARRAY /dev/md1 metadata=0.90 UUID=f07f5754:cf6f8af4:663cbd89:1480ea74
ARRAY /dev/md2 metadata=1.1 name=ds201j:2 UUID=17f442a7:d767633b:a4fc4e5b:88db9d4b
-> you want to use next free MD device which is MD3.
-4: create a MD device pointing to your partition with mdadm -A –verbose –run /dev/md3 /dev/sdx3
-5 : now mount it with mount /dev/md3 /mnt/usb
You can now retrieve your files in /mnt/usb !!!
Now, like I told you at the beginning at this article, I lost 2 disk in a row in a week time.
The second time, the method above did not work đ
This time, UFS Explorer saved my datas.
Hope this can help others…
Thank you very much for your step by step guide.
Some notes:
In your comments, the « — » gets replaced by a « â ».
I was able to mount my Synology disk, but had to do some extra steps:
> mount /dev/md1 /media/usb/
mount: unknown filesystem type ‘LVM2_member’
So I did a
> pvs
PV VG Fmt Attr PSize PFree
/dev/md1 vg1 lvm2 a– 927.00g 0
and
> lvdisplay vg1
— Logical volume —
LV Path /dev/vg1/lv
LV Name lv
VG Name vg1
LV UUID 1irtss-N0Cb-wbbZ-4Pkn-a0HM-Z2Mi-zQ41Hj
LV Write Access read/write
LV Creation host, time ,
LV Status NOT available
LV Size 927.00 GiB
Current LE 237311
Segments 1
Allocation inherit
Read ahead sectors auto
Note the line
LV Status NOT available
This means I first had to activate it:
> vgchange -ay
1 logical volume(s) in volume group « vg1 » now active
Now it was active:
> lvdisplay vg1
…
LV Status available
…
After that, I successfully could mount it:
> mount /dev/vg1/lv /media/usb/
Note also that you should « clean up » afterwards:
> umount /dev/vg1/lv
> mdadm –remove /dev/md1