Debian guest, virtio "9p: no channels available"

saures

New Member
Nov 24, 2016
10
1
1
34
Hello,

my goal is to share a folder of a filesystem from the Proxmox-host with an Debian-based 'OVM' VM.
I used this this qemu manual and did the folowing:

in /etc/pve/qemu-server/102.conf
Code:
[...]
<filesystem type='mount' accessmode='passthrough'>
   <source dir='/mnt/data/media/foo/'/>
   <target dir='testfs1'/>
</filesystem>

in the omv i did
apt-get install libattr1 libattr1-dev
and added the folowing to /etc/initramfs-tools/modules:
Code:
virtio_pci
virtio_blk
#9p
#9pnet
9pnet_virtio
and did: update-initramfs -u and also a reboot.

when i now try the following:
mount -t 9p -o trans=virtio testfs1 /mnt/test/ -oversion=9p2000.L
i recieve:
Code:
mount: special device testfs1 does not exist
and
dmesg gives me
Code:
9p: no channels available

Where should i dig for the problem? I guess it depends on the guest(?). Did i even choose the right modules? Are there any apparmor rules? any hints?

thank you in advance!
kind regards.
 
Thank you Dietmar! Well this is kind of embarrassing. Iam a newbie to KVM & Proxmox.
Well does anyone have a link for me, how to use 9p in Proxmox or any alternative/better method, how to share a folder from the host with a guest?
I try to avoid network shares from host, for security-reasons.

I just found this thread but i dont know how to pass the startup parameters.

kind regards.

p.s. i would even be happy if there is the possibility to pass through a whole ZFS-filesystem.
 
Last edited:
Thank you for your help!
In the end i meant to say ZFS-filesystem instead of pool. Passing through the physical discs is not an option.
But i go with your smb way now. I accept that this seems to be the easiest way.
 

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!