mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 17:30:23 +01:00
added a how to for custom sparse zvol.
This commit is contained in:
14
README.md
14
README.md
@@ -188,6 +188,20 @@ a full shutdown and restart of the guest
|
||||
See the man page for a full description of all available commands.
|
||||
|
||||
# man vm
|
||||
|
||||
## Adding custom disks
|
||||
|
||||
Create a sparse-zvol of 50G in size.
|
||||
|
||||
# zfs create -sV 50G -o volmode=dev "zpool/vm/yourvm/disk1"
|
||||
|
||||
Manually add it to your vms config file.
|
||||
|
||||
disk1_name="/dev/zvol/zpool/vm/yourvm/disk1"
|
||||
disk1_type="virtio-blk"
|
||||
disk1_dev="custom"
|
||||
|
||||
Restart your vm.
|
||||
|
||||
## Windows Support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user