Re:ZFS Gotchas
by takeda on Monday June 02, 2014 @02:07AM
(#7832122)
I believe there are no problems with your scenario, there's zpool replace command which does this:
[ Parent
| on HN ]
Thanks for pointing this out. I still don't know how to see all of this in a home NAS context however. It would be really great if someone could explain.
Lets say I have 6 SATA ports. I have 4 drives that I collected from various computers that I now want to unify in a home built NAS:
A. 1TB
B. 2TB
C. 4TB
D. 1TB
E. -empty-
F. -empty-
Now all my drives are full and I want to either add a disk or replace a disk; How do I: 1. replace disk A. with a 4TB disk
2. add a 4TB disk on slot E. 1. connect 4T disk to F, "zpool replace pool A F"
2. connect 4T disk to E, "zpool add pool E"
Where A, E, and F are virtual devices (vdevs) provided by your OS. On my FreeBSD system they are da0, da1, etc.