I’ve read that changing the name of data disks in Snapraid is tolerated. However to my understanding changing the order of data drives in the Snapraid config will cause issues with parity.
For example when replacing two smaller disks for one larger 18TB HDD, I run into the issue:
Data Disks:
d1-Exos10tb (this drive to be replaced with larger HDD)
d2-Exos-8tb (drive also to be replaced with same large HDD from above)
d3-Exos20tb
d4-Exos16tb
d5-Exos14tb
I wish to replace d1 and d2 with one large HDD. How would I go about this operation?
If I just assign the new larger data disk as d1, what would happen to d2 and the the drives listed after it? Should I comment out the d2 line until I utilize that position with another drive, preserving the following disk’s order? Or is there a better way to go about this?
Remove Disk 1 and then Disk 2 from the array using SnapRAID’s suggestion:
https://www.snapraid.it/faq#remdatadisk
To remove a data disk from the array do:
- Change in the configuration file the related “disk” option to point to an empty directory
- Remove from the configuration file any “content” option pointing to such disk
- Run a “sync” command with the “-E, --force-empty” option:
snapraid sync -E
The “-E” option tells at SnapRAID to proceed even when detecting an empty disk. When the “sync” command terminates, remove the “disk” option from the configuration file. Your array is now without any reference to the removed disk.
Then add the new disk as d1 (it’s ok to not have a ‘d2’ entry) with your consolidated data on it.
Then perform a new sync.
It will likely take as long as a fresh sync, so you may just want to start from scratch. At least I would. One time parity generation and you’re back in business.