Re: can another disk be added to a zfs stripe
- Reply: void : "Re: can another disk be added to a zfs stripe"
- In reply to: void : "can another disk be added to a zfs stripe"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Feb 2023 22:52:46 UTC
On Mon, Feb 27, 2023 at 11:05 AM void <void@f-m.fm> wrote: > > Hello fs@ > > On a 13-stable host I have a 13-stable bhyve guest. > The vdisk is a 64GB zvol. In the guest, the filesystem is > also zfs. I'd like to add another 64GB zvol to this zfs, and > for the resulting zfs system (zroot) to remain a stripe. > > Is it simply a case of, within the guest (after booting the > guest with an additional -d pointing to the unused-at-that-point > zvol) and running 'zpool add zroot vtblk1' ? > > It's important the zpool remains a stripe not a mirror. > > Or is there a better way of doing this? > > tia, > -- 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.