So currently, I have a FreeNas box with 5x4TiB drives in Raid Z2 and a spare SSD that’s on a different (unused) pool. I am wanting to get a disk shelf and have 2x Raid Z2 vdevs of 6 drives each, but I’m not sure if it’s doable. Here’s my though process:
- Connect disk shelf with 6 drives to FreeNas host
- Create new pool with new disks
- Create temp datasets for each current dataset, set compression to the max, and copy everythigng over
- i.e. foo -> foo_tmp
- Take the 5 drives that I’m currently using out of the host box and put them in the shelf with the 1 remaining drive, wiping them in the process
- Add the 6 new drives to the in new pool
- recreate the original datasets with the correct settings/compression, and copy everything back over
- foo_tmp -> foo
- delete all of the tmp datasets
- Might go move, delete, move, delete, etc to save space
- Add the unused SSD as SLOG
I know this will be tricky, but this is the only way I’ve found to minimize the number of disks needed for the transition and optimize the pool architecture. I think there should be enough room because I’m taking 5x4TiB then moving it to 6x4Tib (with compression) and adding another 6x4TiB when I’m copying over.
Does anybody see any glaring flaws in this plan? Has anybody done anything similar? FWIW I’m still open to the idea of moving everything over to 2 sets of 5x4TiB vdevs with 2 hot spares if it’s easier.
Also, Are there any hardware recommendations? I was looking at the netap DS4246 but I have no idea. The FreeNas host is using consumer parts in a 4U Rosewill case.
Thanks for bearing with this long post and I’ll appreciate any and all feedback!