Absestos
Cadet
- Joined
- Feb 4, 2021
- Messages
- 6
I have an 8x8TB RAIDz2 that uses legacy GELI encryption and has less than 3TB worth of free space. The server running hase enough space and SATA ports for 10 drives.
I have purchased 8 16TB HDDs and would like to expand and migrate to native ZFS encryption in a single step. To do so I'm thinking of doing the following:
My original idea was to buy a cheap 2nd hand PC and migrate over the network, but I guess this would be safer.
I have purchased 8 16TB HDDs and would like to expand and migrate to native ZFS encryption in a single step. To do so I'm thinking of doing the following:
- Purchase an extra HDD, the bigger the better within budget.
- Hook up the HDD to the one spare slot and SATA port, create a single disk zpool using it.
- Create a clone of my existing pool
- Run rsync with --remove-source-files from the clone to the single disk. Let rsync fail due to insufficient space
- Export the RAIDz2 pool, swap the 8 8TB disks with the 8 16TB disks
- Create a new RAIDz2 pool with native ZFS encryption
- rsync from the single disk to the RAIDz2
- Export RAIDz2 pool. Swap back the old 8 disks. Import pool
- Delete and recreate the single disk zpool
- Run rsync with --remove-source-files from the clone to the single disk. Let rsync fail due to insufficient space
- Export RAIDz2 pool. Swap new 8 disks. Import
- rsync from the single disk to the RAIDz2
- Repeat steps 8-12 until clone is empty
My original idea was to buy a cheap 2nd hand PC and migrate over the network, but I guess this would be safer.