Here is what I want to do. Tell me if my thinking is flawed.
I have a ZFS Pool Created on the host that I keep all my media on. For various reasons I need to share this media locally to other VM's and physical machines. So I'm using a NFS server on the host to share out the media.
Ideally I would like to have the NFS server in a VM so I can restrict resources a bit better. But I'm having a hard time figuring out how to pass the pool to the VM. The only thing I've seen is adding the Pool as a Storage option the Node.
Here is where I'm confused. If I do this, all the media will then be put inside a VM-100-Disk(correct?) or whatever the ID is and not written directly to the ZFS Pool. When I do ZFS Scrub it's just going to see a really large virtual disk instead of individual files. This doesn't seem desirable to me? If I had an error that ZFS had to recover wouldn't I rather have it repair an individual file than a large virtual disk?
Second problem is, if the VM explodes for some reason, how would I mount that Virtual Disk on something else?
I have a ZFS Pool Created on the host that I keep all my media on. For various reasons I need to share this media locally to other VM's and physical machines. So I'm using a NFS server on the host to share out the media.
Ideally I would like to have the NFS server in a VM so I can restrict resources a bit better. But I'm having a hard time figuring out how to pass the pool to the VM. The only thing I've seen is adding the Pool as a Storage option the Node.
Here is where I'm confused. If I do this, all the media will then be put inside a VM-100-Disk(correct?) or whatever the ID is and not written directly to the ZFS Pool. When I do ZFS Scrub it's just going to see a really large virtual disk instead of individual files. This doesn't seem desirable to me? If I had an error that ZFS had to recover wouldn't I rather have it repair an individual file than a large virtual disk?
Second problem is, if the VM explodes for some reason, how would I mount that Virtual Disk on something else?