My Synology (10 disks) suddenly doesn't reboot.
Connecting it with the serial port, I could manage to boot on "Synology 1" and "Synology 2"
Synology 1, is a kind of "recovery partition" allowing you to recover your DSM with the synology assistant.
Synology 2, is the default boot option and boots on your DSM. In my case, the synology server fails to boot.
I've an raid 5 of 10 disks.
How to recover it
I found the solution this way.
I removed ALL the disks an formated one of the disk (you'd better use a new one. I had a backup so didn't take much risk doing this) using
I inserted this only disk in the last slot of my synology server. and rebooted it. At this moment synology assistant was able to install a new dsm version.
After installation of the dsm , I choose not to configure a raid.([https://www.synology.com/en-us/knowledgebase/DSM/tutorial/General/How_to_reset_your_Synology_NAS]) reboot the synology.
Once rebooted, I added the 9 old other disks and connected with ssh to my synology.
Find out raid information on your disks
Those are the raid configured by the DSM so, didn't find anything on my disks
Trying to assemble raids with scan option
Seems to work !
Now, I'd like to be able to mount my raids.
I'll try to mount the raid md127 as it seems to be the biggest one (the one containing my data)
I try to find some information about the Volume Group
There is a Volume Group
And a logical Volume
A can't find the vg1000 in /dev/vg1000. I seems to be inactive. So I activate it doing:
Now I'm able to mount it!
@ this point make a backup !
We'll now "merge the raids"
md125 seems to be the old root partition of my former RAID . I'll try to propagate the md0 to all the disks
first stop /dev/md125
check that'is stopped
now add all the former partitions of your disks to the raid
check if it worked
You can do the same for md1
For you're data raid, you'll need to create the partition (in my case sdj5) on your "new disk".
I did it quite easily using parted on /dev/sda to know the propreties of the partition
The created the same partition using parted /dev/sdj
At this time it created a partition n°3 but I don't mind.
I only need to add this partition to my raid doing:
You can then check if your raid is rebuilding with