ZFS pool within FreeBSD bhyve guest
Allan Jude
allanjude at freebsd.org
Wed Jun 24 22:58:26 UTC 2015
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at 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
More information about the freebsd-virtualization
mailing list