007revad / Synology_M2_volume

Easily create an M.2 volume on Synology NAS
MIT License
810 stars 56 forks source link

Cannot Create Pool after Raid1 Creation Failure #77

Closed cmacnichol closed 1 year ago

cmacnichol commented 1 year ago

I ran the script and unfortunately had a network disconnect of my SSH Session during the Raid1 Drive Sync. Now I cannot create the storage pool or volume from DSM. The script itself thinks the drives are being used by DSM. Using the -a switch allows it to continue, however it will fail to create the system partition. Same error as this issue: #69

[/sbin/sfdisk -N1 -uS -q -f -j256 -z4980480 -tfd -F /dev/nvme0n1] failed. err=255 Create system partitions failed.

ERROR 5 Failed to create syno partitions!

Is there anything I can do to reset everything back to the beginning? I have already tried erasing them in DSM and re-creating them through the script with the above error.

cmacnichol commented 1 year ago

Closing this out. Multiple reboots fixed something, no idea what. But the script is running a new sync now.