Date: Mon, 27 Feb 2023 15:52:46 -0700 From: Alan Somers <asomers@freebsd.org> To: freebsd-fs@freebsd.org Subject: Re: can another disk be added to a zfs stripe Message-ID: <CAOtMX2g%2B-bt-2=xifNoFDjqQQ0CqM-OpwupxHxcBb4Wdc09PNA@mail.gmail.com> In-Reply-To: <Y/zw9xTAitgrcqUt@int21h> References: <Y/zw9xTAitgrcqUt@int21h>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2g%2B-bt-2=xifNoFDjqQQ0CqM-OpwupxHxcBb4Wdc09PNA>