Rafal Lukawiecki
Dabbler
- Joined
- Jul 23, 2017
- Messages
- 34
Is it possible to migrate from a 4-drive raidz1 to a 2-drive mirror, in-place, in a 4-bay server?
Assuming backups have been done and the 4-drive raidz1 has been scrubbed, I would expect to be able to do something like this:
If As it is impossible to do 3-5 above, is there a built-in zfs function to properly copy all data from the degraded pool to a new one?
Many thanks for helping a newbie. I realise this could not be done using the GUI in FreeNAS, and I am not experienced enough with the interplay of
Assuming backups have been done and the 4-drive raidz1 has been scrubbed, I would expect to be able to do something like this:
- Remove one of the 4 raidz1 drives. Pool now shows as degraded. Vulnerable, but with a backup.
- Add a new, much larger drive.
Somehow create a mirror consisting of the new drive and the degraded 3-drive raidz1. Wait for the resilvering to finish copying data to the new drive.Remove the original 3 raidz1 drives.Add the second much larger drive and mirror the one that is already there.
Many thanks for helping a newbie. I realise this could not be done using the GUI in FreeNAS, and I am not experienced enough with the interplay of
zpool
and zfs
commands, I am afraid.
Last edited: