[OpenIndiana-discuss] Resizing?
Peter Tribble
peter.tribble at gmail.com
Mon Mar 1 20:38:02 UTC 2021
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
where you have to give the pool name and the name of the device.
You can only enlarge a pool this way; shrinking a device isn't possible.
And you may need a reboot for the guest to see the changes (eg on AWS,
I have to reboot instances to pick up the size changes of EBS volumes).
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
More information about the openindiana-discuss
mailing list