diff options
| author | Sarder Kamal <s.kamal@mdx.ac.uk> | 2026-10-29 15:26:46 +0000 |
|---|---|---|
| committer | Benedict Reuschling <bcr@FreeBSD.org> | 2026-10-29 15:30:36 +0000 |
| commit | 6addb71a83324ec4b64e4168f36a7d5bfbf843ad (patch) | |
| tree | b5b331482624045507da93fedfa3a57440fa2299 | |
| parent | f0fa1c40e83603725fa770c57875ea675470398b (diff) | |
Add missing devfs vmmctl rule and the volmode=dev to the example
When vmmctl is not set to unhide in devfs.rules, the example will fail.
Add it to the instructions. Further, add a volmode=dev to the zvol
creation command to not get an input/output error.
PR: 299724
Event: Olso Hackathon 2026
| -rw-r--r-- | documentation/content/en/books/handbook/virtualization/_index.adoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/documentation/content/en/books/handbook/virtualization/_index.adoc b/documentation/content/en/books/handbook/virtualization/_index.adoc index b5cfb5222e..c146554923 100644 --- a/documentation/content/en/books/handbook/virtualization/_index.adoc +++ b/documentation/content/en/books/handbook/virtualization/_index.adoc @@ -1828,7 +1828,7 @@ Then create a ZFS zvol for the virtual machine `bhyvevm0`: [source,shell] .... # zfs create zroot/vms -# zfs create -V 20G zroot/vms/bhyvevm0 +# zfs create -V 20G -o volmode=dev zroot/vms/bhyvevm0 .... If not using ZFS, use the following commands to create a disk image file directly in the jail directory structure: @@ -1871,6 +1871,7 @@ add path 'vmm' unhide add path 'vmm/*' unhide add path 'vmm.io' unhide add path 'vmm.io/*' unhide +add path 'vmmctl' unhide add path 'nmdmbhyve*' unhide add path 'zvol' unhide add path 'zvol/zroot' unhide |
