how to expand zpool

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Tue Feb 28 10:33:33 UTC 2017


On Tue, 28 Feb 2017 08:27:10 +0100
Michael Schuster <michaelsprivate at gmail.com> wrote:

> simply put, physically replace one disk, 'zpool replace' it. when that's
> done, next disk ... This process is very well documented :-)

You need to set autoexpand for the pool to "on" before it can grow to
utilise the extra space.

Also see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216881
there's a bug which causes zpool detach to hang if autoexpand is set to
"on". I don't know if this also affects zpool replace but to be safe
leave autoexpand set to "off" until after you've replaced the last
drive.

-- 
Mike Clarke


More information about the freebsd-questions mailing list