Skip to content

Instantly share code, notes, and snippets.

Created March 31, 2023 05:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Multiple 9p folder mounts with proxmox
In `/etc/pve/qemu-server/NNN.conf`
args: -fsdev local,security_model=passthrough,id=fsdev0,path=/some/path/folder1 -device virtio-9p-pci,id=fs0,fsdev=fsdev0,addr=0x4,mount_tag=9p_folder1 -fsdev local,security_model=passthrough,id=fsdev1,path=/some/path/folder2 -device virtio-9p-pci,id=fs1,fsdev=fsdev1,addr=0x1a,mount_tag=folder2
Then inside the VM inside `/etc/fstab`
folder1 /mnt/folder1 9p trans=virtio,rw,_netdev,nobootwait 0 0
folder2 /mnt/folder2 9p trans=virtio,rw,_netdev,nobootwait 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment