I’ve looked through the community forum and user manual and I can find some topics which are related, but nothing exactly like my situation. If someone can direct me to a relevant post, I would be grateful.
I have “TrueNAS-SCALE-23.10.2” with 5 disks:
5 4TB HDDs, striped, with 1 pool "lambo"
I would like to replace the 5 HDDs with 4 20TB and put my pool onto these. I have no spare sata sockets but a total of 3 slots for USB HDD enclosures.
So, my plan is to put 1 new 20TB in a HDD enclosure, clone my pool to it. Then remove all my drives and put 3 20TB drives in my system. Clone the HDD enclosure back, and then add the last HDD to the pool. With Raidz1
I haven’t found a great way to do this. My current pool is pretty full and I am getting some ZFS and health errors. So I would like to resolve this quick!
Any help much appreciated. Let me know if any further information would be useful.
RAIDZ1 with four 20TB drives, are you sure? It’s your data but that is terrible redundancy when using 20TB drives. You are jumping up to ~58TB of storage from 20TB stripe. Well I guess a RAIDZ1 is much better than a Stripe.
A RAIDZ is also a RAIDZ1, it requires all the drives to be present so trying to add one drive to make it RAIDZ1 I don’t think will work.
Here is a possible way to do it:
OPTION 1) Backup all your data to a single drive, but if you can backup the data elsewhere, that would be smart.
OPTION 2) You could create a MIRROR using two of the 20TB drives and place the data on that pool. Option 2 changes are in ().
Destroy your current pool.
Remove 3 (2) drives 2 (3) drives installed drive.
Install 3 (2) of the 20TB drives.
Power up and create a RAIDZ1 using all 4 installed drives.
Copy the data back to your pool.
REPLACE the one 4TB drive following the proper procedures with a 20TB drive and have it resilver into place. If you are doing option 2 then once the resilvering is complete, you can REPLACE the last 20TB drive and resilver. Once done your pool should be about 58TB in capacity.
There is risk here for losing your data, but then again, a Stripe is a serious risk as well. Backup your data is all I can say.
This process is not the same as relocating Apps or VMs should you have those. They would need to be recreated using this method.