First time using the VM stuff, so I read the manual, fire up a new VM, and I use the GUI navigator to tell it to put its disks in
zvol: DataPool/VMs
where DataPool is my main pool, and VMs is one of the datasets I created inside it.
All good, install completes. After the install using the shell I take a look in DataPool/VMs and there's no content. Confusing.
Going back to the GUI, in VM Devices the hard disk is shown as being in /dev/zvol/DataPool/VMs/VWin10.f4oyha - which indeed it is, I can see using the shell. But how does this path come about? This isn't a represenatation of the DataPool I created as the base pool as it doesn't have the other content that DataPool has. There is nothing other than the "VMs" dir in /dev/zvol/DataPool.
'mount' on the command line only shows one VMs dataset, where I created it:
DataPool on /mnt/DataPool (zfs, local, nfsv4acls)
DataPool/Stuff on /mnt/DataPool/Stuff (zfs, local, nfsv4acls)
DataPool/TimeMachine on /mnt/DataPool/TimeMachine (zfs, local, nfsv4acls)
DataPool/VMs on /mnt/DataPool/VMs (zfs, local, nfsv4acls)
DataPool/iocage on /mnt/DataPool/iocage (zfs, local, nfsv4acls)
But Storage on the UI shows the virtual disk as being inside VMs:
Datapool dataset
zvol: DataPool/VMs
where DataPool is my main pool, and VMs is one of the datasets I created inside it.
All good, install completes. After the install using the shell I take a look in DataPool/VMs and there's no content. Confusing.
Going back to the GUI, in VM Devices the hard disk is shown as being in /dev/zvol/DataPool/VMs/VWin10.f4oyha - which indeed it is, I can see using the shell. But how does this path come about? This isn't a represenatation of the DataPool I created as the base pool as it doesn't have the other content that DataPool has. There is nothing other than the "VMs" dir in /dev/zvol/DataPool.
'mount' on the command line only shows one VMs dataset, where I created it:
DataPool on /mnt/DataPool (zfs, local, nfsv4acls)
DataPool/Stuff on /mnt/DataPool/Stuff (zfs, local, nfsv4acls)
DataPool/TimeMachine on /mnt/DataPool/TimeMachine (zfs, local, nfsv4acls)
DataPool/VMs on /mnt/DataPool/VMs (zfs, local, nfsv4acls)
DataPool/iocage on /mnt/DataPool/iocage (zfs, local, nfsv4acls)
But Storage on the UI shows the virtual disk as being inside VMs:
Datapool dataset
Stuff dataset
TimeMachine dataset
VMs dataset
VWin10-f4oyha zvol
iocage dataset
Is this just ignorance on my part as to how zvols are represented in the filesystem, showing up as "character" device files in /dev/zvol/? Or is bhyve doing something odd?
Last edited: