|
|
|
|
|
by detaro
3255 days ago
|
|
The commonly wished-for feature is not to entirely replace disks as you describe, but to expand it bit by bit. To be able to have e.g. a z2 setup spanning 4 disks of equal size and then add a 5th one later to get one disk's worth of extra capacity. |
|
If you want, though, you can add capacity by attaching a second raidz2 to an existing pool - this forces you to add 4 new drives instead of one, but it works:
zpool add <poolname> raidz2 <first new vdev> <second new vdev> <third new vdev> <fourth new vdev>
You now have a concat of 2 raidz2's, in a single pool.
Nowhere as elegant as merging a new slice in an existing z2, I concur. Does the job though. Oh and if you are insane you could probably even add a single device, resulting in a concat of a z2 + unmirrored single device. I don't think it will stop you from doing that.