So, I create an encrypted+compressed pool, secdata. I used pvesm to add it as a zfspool, so now I see it with pvesm status:
From a running VM, if I "add disk" I can see this volume, but if I add it, it turns up as a drive on the VM, here /dev/sdc, so I have to create a new filesystem on it etc.
From the hyperviser I can go directly to /poolz/vmdata and store files, so isn't there a way to pass this through directly to the VM, and avoid another level of partitioning/filesystems with all the overhead and inconvenience this carries?
Hope this makes sense, otherwise let me know...
Code:
root@pve3:~# pvesm status
Name Type Status Total Used Available %
..
secdata zfspool active 14354464013 178 14354463834 0.00%
root@pve3:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
..
poolz/secdata 179K 13.4T 179K /poolz/secdata
From a running VM, if I "add disk" I can see this volume, but if I add it, it turns up as a drive on the VM, here /dev/sdc, so I have to create a new filesystem on it etc.
From the hyperviser I can go directly to /poolz/vmdata and store files, so isn't there a way to pass this through directly to the VM, and avoid another level of partitioning/filesystems with all the overhead and inconvenience this carries?
Hope this makes sense, otherwise let me know...