I dropped a clanger.
I installed some new disks into my server and added mirrored VDEVS into my pool (2 x 8TB drives).
I wanted to actually remove two 2 x 3TB VDEVS from the pool as the drives are old.
With me so far?
So, can I remove the mirrored VDEVS from the pool and “retire” the old drives?
Thanks.
Once you add an additional VDEV to the existing pool, I believe you can’t remove it.
dan
April 19, 2024, 4:37pm
3
Depends. What’s the layout of the rest of the pool? If all vdevs are either mirrors or single disks, then yes, you can remove one or more mirrored vdevs as long as there’s enough room on the remaining vdevs for the data.
2 Likes
Ah… very hack-ish & dangerous!.
Hi.
Scenario:
I run two 2TB Disks as a mirror-0, they form my pool "tank" (which is obviously 2GB in size).
Now both Disks started showing errors, so I bought two 3TB drives to replace them.
My idea was:
make a mirror-1 from both 3TB drives
make a...
Stux
April 19, 2024, 4:52pm
5
No, that link is outdated.
VDev removal was added to OpenZFS
3 Likes
dan
April 19, 2024, 4:57pm
6
somethingweird:
hack-ish & dangerous!
Not in the least–it’s a fully-supported feature of ZFS that’s been in the TrueNAS GUI since at least TrueNAS 12.
4 Likes
@dan & @Stux - Thanks!
learned something new.
Davvo
April 19, 2024, 5:15pm
8
That’s generally true for RAIDZ.
1 Like