Questions tagged [9p]

9P (or the Plan 9 Filesystem Protocol) is a network protocol developed for the Plan 9 from Bell Labs distributed operating system as the means of connecting the components of a Plan 9 system. 9P was revised for the 4th edition of Plan 9 under the name 9P2000 that contained various fundamental improvements. The latest version of the Inferno operating system also uses 9P2000.

Filter by
Sorted by
Tagged with
1 vote
0 answers
848 views

Correct SELinux labels for a kvm/qemu user session VM shared folder

I am trying to set up a shared folder using the 9p protocol for a kvm/qemu VM that runs on the user session (so the qemu process runs as me, not as root). Mounting the shared folder in guest works ...
Simon's user avatar
  • 255
1 vote
1 answer
169 views

Nginx fails to serve files from 9p

I have a VM with a 9p share and nginx. It worked fine until I updated my VM to Debian 10. Since then, it fails to serve files from my 9p share. Nginx returns an empty response and 2020/09/11 09:57:49 [...
emilevirus's user avatar
1 vote
0 answers
210 views

libvirt qemu AppArmor 9p hard links

I am using libvirt with qemu on a debian host. One virtual machine has a 9p mount point defined: <filesystem type='mount' accessmode='mapped'> <source dir='/mnt/pool/share'/> <...
felinira's user avatar
  • 111
1 vote
0 answers
866 views

9p / virtfs : new files in shared folder don't belong to the expected user and group

For the last two days I tried to share a folder between the host and a guest virtual machine, both running the latest Debian Stretch. The folder I wish to share is owned by the myuser, group mygroup ...
chuugar's user avatar
  • 11
1 vote
1 answer
270 views

Why is posix.lstat taking such a long time? (duplicity backing up of 9p virtio filesystem)

I have a filesystem mounted with 9p virtio through KVM, and am backing it up using duplicity to a remote SSH server. I' m trying to speed up the backup process, which seems unreasonably slow to me. ...
jjakob's user avatar
  • 51
1 vote
1 answer
845 views

Loading a 9pnet kernel module to a linux kernel 3.16.6-tinycore64

I am trying to use 9p to mount a remote FS. The client machine is a tiny core linux machine. modprobe 9pnet says that module 9pnet cant be found at modules.dep How to add 9p kernel modules to the tiny ...
user301916's user avatar
2 votes
1 answer
13k views

Enabling Qemu/KVM Filesystem Passthrough Centos 7

I have a system running Centos 7 with the stock qemu/KVM code. I have several virtual servers running on this system and would like to enable the filesystem passthrough option. So far, I have not ...
Brent's user avatar
  • 31
17 votes
3 answers
8k views

KVM guest cannot write to 9p share owned by non-root

I am aiming to set up full write access to a 9p share for a KVM guest. Both host and guest have the same users/groups with the same IDs. Both host and guest should be able to write to the share using ...
Greendrake's user avatar
  • 1,421
8 votes
4 answers
9k views

How to efficiently share host's folder with KVM guests?

I am configuring the service which stores plenty of files uploaded by nginx in /srv/storage dir on host system. These files are processed by worker KVM guests which may create new files or assign ...
gertas's user avatar
  • 1,117
7 votes
2 answers
5k views

Filesystem passthrough functionality in Centos 6.2?

I have a CentOS 6.3 machine currently running 2 virtualized CentOS 6.2 machines via KVM/QEMU/Libvirt. I'm trying to setup filesystem passthrough between the guests and the host. However the option is ...
mm118's user avatar
  • 73
2 votes
1 answer
3k views

qemu/virt-manager no permisson on shared folder

I have a strange problem. Iam trying to create a shared folder via the add-hardware->filesystem option. For Type and Modus i choose Passtrought and for Driver Path. The Source Path is /free and target ...
TomAtToe's user avatar
3 votes
1 answer
3k views

Debian Squeeze Linux 9p virtfs guest mount failure

First some background information on the server: Host OS: Debian Linux Squeeze + qemu-kvm version 1.0+dfsg-8~bpo60+1 Guest OS: Debian Linux Squeeze I use qemu-kvm via libvirt. I have set up 9p ...
Tero Kilkanen's user avatar
17 votes
2 answers
16k views

Read/write access for passthrough (9p) filesystems with libvirt/qemu?

I have recently started experimenting with the support for passthrough filesystems in recent versions of KVM/QEMU/libvirt. Making the filesystems available for read access has "just worked", but I'm ...
larsks's user avatar
  • 44.6k
0 votes
2 answers
992 views

9p filesystem interacting badly with KVM savevm snapshot

I have a 9p mount inside a VM. I take a snapshot of the VM state with savevm <snapshot>, stop the VM, then restart it with that snapshot (with kvm -loadvm <snapshot>). When I try to ...
regularfry's user avatar