Too bad that the pool disappeared somehow. The partitioning scheme isn't necessarily bad, just unusual. If you add a disk to a Zpool VDEV and pass it as the full disk, e.g. /dev/sda, it will look like this:
Code:
sda 259:0 0 931.5G 0 disk
├─sda1 259:1 0 931.5G 0 part
└─sda2 259:2 0 8M 0 part
vm installers
I guess that makes sense, I don't suppose the installers have any way of knowing they're running in a vm with the underlying media being "ready to use". Anyway, shouldn't there at least be a way to add a data drive "as is" as a secondary drive? Is that perhaps what will be in the "virtio-fs" you mentioned?
The underlying media isn't "ready to use" for a VM. The concept of a virtual machine makes it necessary to simulate physical hardware. An operating system expects raw block device storage and cannot use the file system of an underlying virtualization host.
You can add additional disks to the VM which will be (if the storage is ZFS) zfs volumes.
Some people pass through disk controllers directly to the VM via PCI passthrough in order for the disk to have raw access to the physical disks. But this only works in small single node setups.
Once you start to cluster your virtualization hosts you usually want to be able to move VMs between nodes. This makes it necessary to have this kind of abstraction.
All the solutions to exchange data between the host and VM use some kind of protocol that the guests need to be aware of and usually means to install additional software.
bind mounts
So essentially, if you want some sort of large data storage being shared with different virtual machines, the best way would be to bind-mount a dataset on the host filesystem to a container, and from there share it through some other means, nfs/smb/sshfs/webdav ?
A bind mount remounts a part of a file system somewhere else in the file system. This is needed for containers if they should be able to access a directory structure outside from the directory in which they are locked in to.
The host itself doesn't need any bind mounts as possibly installed services can access them already in their original location.
admin-guide
Yes I use your pve-admin-guide a lot. I find it very good as a reference, but things are not always completely explained. More examples would be nice, like you find it in most man pages.
We are happy if you open enhancement requests in our bugtracker[0] if you have specific areas in the documentation that you wish to be improved upon.
[0]
https://bugzilla.proxmox.com