So, I have an Ubuntu VM with a usb drive attached via passthrough from the host. It in turn, shares the contents of the drive to anything on the network via SMB.
All of this works fine, but got me thinking. If an LXC needs to grab files from the SMB, I'm assuming it has no knowledge that the files are actually stored on a drive locally attached to the host, so it has to go out onto the network to get them via SMB.
This means the speed of the connection to the drives is limited (I'm guessing) to the network connection to the router, which is 1 gigabit hardwired connection.
If this is right, the only options I seem to have to speed this up, is either a 2.5g or 10g network ?
Is there a way of sharing drives (perhaps internal ones as well, not just usb) to other VMs and LXC's without having to go out onto the network to get them, and therefore getting closer to the actual speed of the connection/drive ?
Am I right in that I recall its dangerous to directly share (say) usb drives with more than one VM at a time ?
All of this works fine, but got me thinking. If an LXC needs to grab files from the SMB, I'm assuming it has no knowledge that the files are actually stored on a drive locally attached to the host, so it has to go out onto the network to get them via SMB.
This means the speed of the connection to the drives is limited (I'm guessing) to the network connection to the router, which is 1 gigabit hardwired connection.
If this is right, the only options I seem to have to speed this up, is either a 2.5g or 10g network ?
Is there a way of sharing drives (perhaps internal ones as well, not just usb) to other VMs and LXC's without having to go out onto the network to get them, and therefore getting closer to the actual speed of the connection/drive ?
Am I right in that I recall its dangerous to directly share (say) usb drives with more than one VM at a time ?
Last edited: