Multiple 9p shares

petric

Renowned Member
Oct 5, 2011
2
0
66
I intend to pass multiple directories from the Proxmox host to a VM using the 99p protocol.

so i added this line to the xxx.conf file:
Code:
args:  -virtfs local,id=fsdev0,path=/backup,security_model=passthrough,mount_tag=backup -virtfs local,id=fsdev1,path=/source1,security_model=passthrough,mount_tag=source1 -virtfs local,id=fsdev2,path=/source2,security_model=passthrough,mount_tag=source2

But in the VM it mounts only 'backup' and 'source2'. The kernel log displays:
Code:
[    3.592110] 9pnet_virtio: no channels available for device source1

Host is Proxmox 7.4-16
VM is Debian 12

Host has loaded the kernel modules 9p, 9pnet and 9pnet_virtio
VM has loaded the kernel modules 9p, 9pnet and 9pnet_virtio

fstab reads:
Code:
backup          /test/backup    9p       trans=virtio,rw,_netdev 0 0
source1         /test/source1   9p       trans=virtio,rw,_netdev 0 0
source2         /test/source2   9p       trans=virtio,rw,_netdev 0 0

Any hints ?
 
Update: if i use only 2 directories instead of 3 it works.

Is there a limitation ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!