Re: can another disk be added to a zfs stripe

From: void <void_at_f-m.fm>
Date: Tue, 28 Feb 2023 14:09:06 UTC
On Mon, Feb 27, 2023 at 04:27:40PM -0700, Alan Somers wrote:
>On Mon, Feb 27, 2023 at 4:11 PM void <void@f-m.fm> wrote:
>>
>> On Mon, Feb 27, 2023 at 03:52:46PM -0700, Alan Somers wrote:
>>
>> >Yes, that should work.  But why would you want to?  If it's just a
>> >matter of adding space to the guest, you'd be better off simply
>> >enlarging the zvol.
>>
>> I wondered about that. But how would the guest handle it?
>> Would I not have to tell the zfs guest that there's more space,
>> or is it automatic?
>> --
>
>First, check the partition table in the guest.  If ZFS is the last
>partition, then it isn't hard.  The steps are:
>* Enlarge the zvol in the host
>* Reboot the guest, if it doesn't automatically see the size change.
>* Resize the partition in the guest, with a command like "gpart resize
>-i 3 vtbd0".  You may also need to do "gpart recover vtbd0"
>* Then ZFS should automatically resize, if the pool's autoexpand
>property is set.  If not, do "zpool online -e zroot vtbd0p3".
>

TYVM thats very helpful. I've saved this also to my dir of 
sysadmin tips because until now the information wasn't
all in one place (well it might be but I couldn't find it at the time)

thanks again,
--