Hello!
I’m trying to find the best way to access my host storage from my VMs.
I did this:
lxc config device add uvm main disk source=/mnt/main/ path=/mnt/main/
and it just works. I have my “main” directory accesible from inside my VM. But it sometimes fails, saying “file doesn’exists” or “file handle in disuse”. Maybe this is a bug, or it shouldn’t be allowed to use this “device add” in this way with VMs?
I turned to sshfs and by now it is working 100%.