My current configuration is raidz1 with 4 disks, on Scale 24.10. And I got 5 more disks that will be added to pool, I will reconfigure the pool to 9 disks with raidz2.
As zfs does not support changing redundancy level, I’m planning to copying all the data out, then copy it back to the new raidz2 pool.
The problem is, I got a lot of configurations on current pool, such as permissions, dataset configs, truenas apps, smb shares ,iscsi shares, also periodic tasks. Is it possible to backup all the pool’s configs and import them to the new pool, make everything the same as it in the old pool?
Zfs replication will do that job, flawlessy and fast.
I have made something similar, passing from 3x raidz1 to 6x raidz2, using same disks for the new array, but obviously needed 1 more large disk where transfer data in the process.
i refreshed backups (in case something goes bad)
i replicate data from A (my pool) on the single disk, B
i checked the data on B
i exported my pool without erasing nor data and config
i created the new pool, called A as the old, care about in this step data are destroied anyway
i replicare from B to A
There are a lot of different way to achieve this, i preferred to not using directly backups just because are on a different system with less Speed than using a disk directly connected.