Date: Wed, 24 Jun 2015 18:58:13 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: ZFS pool within FreeBSD bhyve guest Message-ID: <558B3605.4070600@freebsd.org> In-Reply-To: <CAP1HOmSj5nNn7%2Bso=D_2qXrSh%2BtE=cTTbgjzCBkCCim1vZUTGg@mail.gmail.com> References: <CAP1HOmSj5nNn7%2Bso=D_2qXrSh%2BtE=cTTbgjzCBkCCim1vZUTGg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-06-24 18:49, javocado wrote: > Hi, > > I would like to create a zfs filesystem within my bhyve (FreeBSD 10.1 as > the guest and host) allowing users of the VM to run zfs send/receive > commands on the zfs filesystem within their bhyve VM. > > Is this possible and what is/are the methods and options for creating the > zfs filesystem (or volume) within the VM? If there is a way to do this, > would any of the proposed methods depend on whether the VM lives in a file > versus a zfs volume? My VM is file-based. > > Thanks! > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > It should just work. You create the zpool inside the VM the same as you would on a bare metal machine. bsdinstall inside the VM should be able to handle it without issue. If you are using a ZFS zvol, you'll want to make sure the 'volmode' is set to dev. For a file-backed VM, there should not be any special steps required. -- Allan Jude
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558B3605.4070600>