Broken RAID0 with 2 disks. Need help on that please.

Recommended Posts

Hi there,


I have an old DS2017+ that is running on DSM3.1 and my volume just crashed. I was using this NAS as a back up of my already broken XPEnology.
I need to recover those data. It happened when I unplugged the power cord by accident... Even if i was not writting thinds on the NAS.

I do not see the other drive I think...

Please help 





BackUpStation> cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
md2 : active raid1 sdb5[1](E)
      385977472 blocks super 1.2 [2/1] [_E]
md1 : active raid1 sdb2[1]
      2097088 blocks [2/1] [_U]
md0 : active raid1 sdb1[1]
      2490176 blocks [2/1] [_U]


Link to post
Share on other sites

is the second disk still there after the reboot? the picture only shows one disk in the system, check the cables and dmesg log about the other disk


i guess the only way would be to force the disk back into the raid and hope for the best (doing a file system check in read only mode and if needed copy all data to somewhere else) , as its not btrfs as file system then there is no extra layer of protection

as there are no redundancy data with raid0 i dont see what else can be done, but i'm not the expert on recovery mdadm raid's


but as long as there is no 2nd disk available i dont think anything can be done


if that the copy then whats the state of the xpenology box containing you original data?


edit: jbod might have been a better option for a disk array with no redundancy? at least the the data of one file would not be spread out to different disk and the data of the disks still readable might be recoverable

Edited by IG-88
Link to post
Share on other sites

Thanks IG-88 (again, and again :-)

I opened the box yesterday and could not hear the second disk spinning.


I need to investigate on how to make it spin again. The only thing it did was unplug the power cord, while DSM was on...

Link to post
Share on other sites

If the disk doesn’t spin-up there’s no chance to recover anything. If you’re lucky it may be a PSU problem. You could try to use both drives on a regular board and see if both disks spin-up and are detected. 

Link to post
Share on other sites

in theory (no writes to the data volume) the raid0 volume should come up clean when both drives are running again, the system (raid1 over all disks) will be faulty and would need to be repaired (you now have one system partition of the raid1 running and if the 2nd comes up again it will be out of sync - that's expected normal behavior) but he raid0 with your data might come up normal because as long as the 2nd partition is not ready there will be no writes to that raid0 so both parts will be inactive as long as they are not both ready

if it comes up again and you see no simple reason why the 1st drive failed you should not switch the system off as long as you don't have a backup, if the disk itself has a problem it might never come up again in the worst case, so take what you have a still can recover to a new drive or array


using a raid0 might be ok if you do a permanent rsync to a different system all the time but for something you rely on over a longer time ... failing disks are kind of normal in consumer grade hardware area and also in such unsafe environment like home use (there are reasons why entering a datacenter can be kind of difficult)


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.