[Bug 299724] FreeBSD Handbook - Virtualization / Jailing Bhyve: missing vmmctl in devfs.rules & volmode=dev in zfs create

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Oct 2026 13:21:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299724

            Bug ID: 299724
           Summary: FreeBSD Handbook - Virtualization / Jailing Bhyve:
                    missing vmmctl in devfs.rules & volmode=dev in zfs
                    create
           Product: Documentation
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: tivolo@posteo.net

In 25.7.9.1. (Creating a Jail for bhyve), this devfs rule seems to be missing
in general:
=> add path 'vmmctl' unhide

without this line, i did not manage to create a vm with `bhyvectl --create
--vm=bhyvevm0`.

In the third command block of chapter 25.7.9.1., the creation of a zvol is
given by `zfs create -V 20G zroot/vms/bhyvevm0`, but this always led me into
input/output error when choosing a drive during installation of either FreeBSD
or Debian.
Instead, it should be `# zfs create -V10G -o volmode=dev zroot/vms/bhyvevm0`,
setting the option volmode=dev as in 25.8.3. or 25.7.7.

see [1]
https://forums.freebsd.org/threads/creating-vm-inside-jail-fails.104057/
[2]
https://forums.freebsd.org/threads/bhyve-vm_openf-no-such-file-or-directory-in-jailed-bhyve.103574/#post-771749

-- 
You are receiving this mail because:
You are the assignee for the bug.