007revad / Synology_M2_volume

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

Working on DSM 7.2-64570 #57

Closed Swaazz closed 1 year ago

Swaazz commented 1 year ago

Thanks and Great work

Quick question .... Why do Esxternal USB Drives now get picked up as a hardrive to create a Volume , they not reconized as External Devices any longer

007revad commented 1 year ago

The script should ignore USB drives. Maybe something has changed in DSM 7.2-64570

Which version of the script are you using?

Swaazz commented 1 year ago

Thanks again ... using v1.2.14

007revad commented 1 year ago

It should only list drives that are listed in /sys/block/ starting with nvme (or nvc for SATA M.2 drives). I wonder if DSM 7.2-64570 are listing USB drives as nvc now.

What does the following command output: sudo ls -I ram -I loop -I dm- /sys/block

Also, can you run the script again up to the "Select the 1st M.2 drive" prompt and select Quit, Then copy the output and paste it in your reply.

Swaazz commented 1 year ago

Awesome will update you , had to rebuild NAS.... so i can test for you with a fresh install , im just restoring NAS at the moment then ill run script as you have guided