Coming from FreeNAS and TrueNAS Core with the familiarity of Jails and VMs, TrueNAS Scale does VMs a bit different. There is a use case, where I could possibly consolidate two machines into one with TrueNAS Scale due to the fact Scale uses a Type-1 Hypervisor (as opposed to Type-2 in CORE). It would be a computer (VM), that is not connected to the internet, but runs on bare metal (due to performance benefits).
My question here would be, how to add storage and/or how to get files to said VM? One option for both options is to either send through a SATA controller with some hard drives attached and have a PCIe USB card and send that over and get files to the VM using USB sticks. Simple, functional, but cumbersome.
Here are my questions then.
First: Is it possible, to add a folder as a storage to a Type-1 hypervisor in some way, shape or form in TrueNAS Scale (I think it might be possible with some other Type-1 hypervisors, depending on the underlying platform and software packages to manage the VMs)? Similarly to how it's possible with jails. Ideally I would have a network shared folder, where I would be throwing files in on my main PC and it would show up in the VM, but not via a network share! (remember, no internet connectivity)
Second: is it possible to add hard drive storage to the VM via a virtual disk? I would like to be doing regular backups inside the VM and I have a pair of hard drives for that purpose in the current physical machine. If I were to run a joint Scale box, it would make sense to be able to backup said items onto my ZFS array essentially on a block level, which would be possible when using virtual hard drive files (again, no internet connectivity). Passing through the SATA controller would mean Scale would have no idea about the files inside the VM and no link. Having a virtual disk ont he ZFS array is sort of a happy medium (performance of this drive is not of essence).
I haven't played around with Scale, so these questions might be obvious (maybe the second is a simple yes), I'm merely getting a feel of the land before I commit too much with this idea.
My question here would be, how to add storage and/or how to get files to said VM? One option for both options is to either send through a SATA controller with some hard drives attached and have a PCIe USB card and send that over and get files to the VM using USB sticks. Simple, functional, but cumbersome.
Here are my questions then.
First: Is it possible, to add a folder as a storage to a Type-1 hypervisor in some way, shape or form in TrueNAS Scale (I think it might be possible with some other Type-1 hypervisors, depending on the underlying platform and software packages to manage the VMs)? Similarly to how it's possible with jails. Ideally I would have a network shared folder, where I would be throwing files in on my main PC and it would show up in the VM, but not via a network share! (remember, no internet connectivity)
Second: is it possible to add hard drive storage to the VM via a virtual disk? I would like to be doing regular backups inside the VM and I have a pair of hard drives for that purpose in the current physical machine. If I were to run a joint Scale box, it would make sense to be able to backup said items onto my ZFS array essentially on a block level, which would be possible when using virtual hard drive files (again, no internet connectivity). Passing through the SATA controller would mean Scale would have no idea about the files inside the VM and no link. Having a virtual disk ont he ZFS array is sort of a happy medium (performance of this drive is not of essence).
I haven't played around with Scale, so these questions might be obvious (maybe the second is a simple yes), I'm merely getting a feel of the land before I commit too much with this idea.