[Bug 271449] re-write 23.6.2 and 23.6.6
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271449] FreeBSD Handbook: re-write 'Creating a FreeBSD Guest' and 'Using ZFS with bhyve Guests'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271449] FreeBSD Handbook: re-write 'Creating a FreeBSD Guest' and 'Using ZFS with bhyve Guests'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271449] FreeBSD Handbook: re-write 'Creating a FreeBSD Guest' and 'Using ZFS with bhyve Guests'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271449] FreeBSD Handbook: re-write 'Creating a FreeBSD Guest' and 'Using ZFS with bhyve Guests'"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 May 2023 11:03:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271449
Bug ID: 271449
Summary: re-write 23.6.2 and 23.6.6
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Books & Articles
Assignee: doc@FreeBSD.org
Reporter: Steven.E.Friedrich@Gmail.com
I am new to virtualization and zfs.
Could someone re-write 23.6.2. Creating a FreeBSD Guest
to use zfs instead of ufs?
Create a file to use as the virtual disk for the guest machine. Specify the
size and name of the virtual
disk:
# truncate -s 16G guest.img
I read 23.6.6. Using ZFS with bhyve Guests
If ZFS is available on the host machine, using ZFS volumes instead of disk
image files can provide
significant performance benefits for the guest VMs. A ZFS volume can be created
by:
# zfs create -V16G -o volmode=dev zroot/linuxdisk0
When starting the VM, specify the ZFS volume as the disk drive:
# bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0
-s3:0,virtio
-blk,/dev/zvol/zroot/linuxdisk0 \
-l com1,stdio -c 4 -m 1024M linuxguest
but can't correlate it.
I believe the vm man page states that using a zfs volume through a /dev point
should be avoided.
What is best practice for a mere workstation using root-on-zfs?
It looks like these two sections were written by different people.
I know much has changed over the last two years.
--
You are receiving this mail because:
You are the assignee for the bug.