[OpenIndiana-discuss] Resizing?

Tomasz Kłoczko kloczko.tomasz at gmail.com
Mon Mar 1 20:45:10 UTC 2021


On Mon, 1 Mar 2021 at 20:40, Peter Tribble <peter.tribble at gmail.com> wrote:

> On Mon, Mar 1, 2021 at 8:19 PM L. F. Elia via openindiana-discuss <
> openindiana-discuss at openindiana.org> wrote:
>
> > I don't need to do this, so this can be an academic discussion: I can
> > resize a drive in a hypervisor, but can I resize a zpool afterwards or
> are
> > we talking exporting, creating a new pool and importing on it?
> > Thank you for all the excellent info you provide
> >
>
> If you enlarge the underlying drive, then you can tell zfs to make use of
> the available space
> with a command like:
>
> zpool online -e rpool c2t0d0
>

It can be done easier.
Just change settings of the zpool to autoresize=on and then resize the
device.
ZFS will automatically handle signal that device size in the pool has
changed and will resize without any additional intervention.

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH


More information about the openindiana-discuss mailing list