Hi
Truenas and zfs can do some pretty darn advanced stuff and yet it's not possible to add or remove disks to a vdev that uses raidz, how come?
The more I think about it the less I understand it. I'm not stupid (in that way), if it was an easy fix it would have been done ages ago but why is it so hard? Could someone explain like I'm five (not literally, but almost)?
In my uneducated mind it sounds like adding a disk would be a two step progress.
1. Add the disk to the vdev. 2. Ask Truenas to spread the data so it incorporates the new disk.
Removing a disk would require some conditions to be fulfilled but if they were it wouldn't be that hard either. A simplified example:
I have six disks a 10Tb in a raidz2 which totals 40Tb of usable space. I do however only have 20 Tb used on the disks. Then in my mind I would be able to:
1. Let Truenas know that I plan to remove two drives but still keep the vdev and raidz2.
2. Truenas then moves those 20 Tb to the four drives that will still be in use.
3. After some time the data has been moved and I now have two empty drives that is not in the vdev.
Again; I do understand that it's not as easy as it sounds but why is it not so easy? I have found some info about it when I searched but it was way above my current knowledge. I would like a simplified version if there is any.
Truenas and zfs can do some pretty darn advanced stuff and yet it's not possible to add or remove disks to a vdev that uses raidz, how come?
The more I think about it the less I understand it. I'm not stupid (in that way), if it was an easy fix it would have been done ages ago but why is it so hard? Could someone explain like I'm five (not literally, but almost)?
In my uneducated mind it sounds like adding a disk would be a two step progress.
1. Add the disk to the vdev. 2. Ask Truenas to spread the data so it incorporates the new disk.
Removing a disk would require some conditions to be fulfilled but if they were it wouldn't be that hard either. A simplified example:
I have six disks a 10Tb in a raidz2 which totals 40Tb of usable space. I do however only have 20 Tb used on the disks. Then in my mind I would be able to:
1. Let Truenas know that I plan to remove two drives but still keep the vdev and raidz2.
2. Truenas then moves those 20 Tb to the four drives that will still be in use.
3. After some time the data has been moved and I now have two empty drives that is not in the vdev.
Again; I do understand that it's not as easy as it sounds but why is it not so easy? I have found some info about it when I searched but it was way above my current knowledge. I would like a simplified version if there is any.