Share a Dataset with VMs

PetrZ

Dabbler
Joined
Feb 23, 2018
Messages
20
What is the best way to share some TrueNAS SCALE dataset with one or more VMs running on the same host?
In the case of FreeBSD-based systems, I used jails and nullfs mounts, but I am not a big fan of docker, especially when it starts to consume CPU just by assigning the pool for containers / plugins.
Is NFS only way or is there any other choice?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Is NFS only way or is there any other choice?
SMB is also possible.

In the case of FreeBSD-based systems, I used jails and nullfs mounts, but I am not a big fan of docker, especially when it starts to consume CPU just by assigning the pool for containers / plugins.
I agree that jails are very light on resources and that's great.

Docker itself isn't what's going on with the CPU... kubernetes is monitoring status and making sure your app is running properly, so no matter how many apps you run, that small amount of CPU will be consumed to monitor containers/pods. Don't get too fussy about it, it's a good thing and once you have a few apps running it's really peanuts in terms of resource.
 
Top