I'm running a VM where the boot drive is on ssd's. I'd like to have one of the directories on the OS be backed by my spinning rust pool. On lxc containers I can select a storage option and a path to mount it at within the container, how would I do something similar for a VM?
I may have attempted this in the past, I see two "Unused Disk" entries under Hardware (probably qcow2). When I double click them and "Add" them as SATA drives to the VM and reboot, I see them listed with
I'm using ZFS if that matters. I thought there might be a fancy way to just create a new dataset and map it as a subdirectory, but maybe that's just for lxc?
I may have attempted this in the past, I see two "Unused Disk" entries under Hardware (probably qcow2). When I double click them and "Add" them as SATA drives to the VM and reboot, I see them listed with
fdisk -l
, but I don't know how to mount those to a directory.I'm using ZFS if that matters. I thought there might be a fancy way to just create a new dataset and map it as a subdirectory, but maybe that's just for lxc?