Questions tagged [virtfs]
9 questions
12
votes
3 answers
Can virtfs/9p be used as root file system?
Is it possible to use a folder shared from the host to the guest via virtfs/9p as the root file system inside the guest?
Loosely related to my previous question: Can virtfs/9p be used to share the same host folder with multiple guests?
0xC0000022L
- 16,189
- 24
- 102
- 168
9
votes
1 answer
Virtfs (Plan 9) vs NFS as tool for share folder for virtual machine
I have QEMU virtual machine. Linux host and linux guest.
I want stable and fast solution with minimal performance cost. I'm considering two technologies for shared folders (between guest and host): NFS and VirtFS (Plan 9).
There is small amount…
petRUShka
- 1,182
- 5
- 17
- 29
3
votes
1 answer
Can virtfs/9p be used to share the same host folder with multiple guests?
So far I have resorted to sharing host folders with the KVM guests via Samba. Now, reading up a bit on it, it appears that "VirtFS (Plan 9 folder sharing over Virtio - I/O virtualization framework)" offers an easier way.
However, I was unable to…
0xC0000022L
- 16,189
- 24
- 102
- 168
2
votes
1 answer
How share folder with QEMU between MacOS host and Linux guest?
I am trying to run a Linux Debian with qemu with MacOS Big Sur host.
Unfortunately virtfs doesn't work on Mac and there is no easy alternative that I have found.
Is there a way to share folders?
Thanks!!
EDIT:
This is what I need:…
laurajaime
- 121
- 1
- 5
2
votes
1 answer
cp -a fails to copy symlinks on virtfs
Problem:
Trying to copy the entire content of one directory to another which includes hidden files/directories and symlinks.
This is fairly straightforward cp -a ${src} ${dst}
It works as expected on my local VM but it doesn't work properly on my…
Fuzzy Logic
- 121
- 5
2
votes
1 answer
How to setup permission for virtfs in system libvirtd
I have troubles setting up the permissions for virtfs. I need to share a folder with several VMs in a way that user (same username, uid and gid on guests and host) can access it (have full permissions). I've tried various options but none gives the…
Maciej Piechotka
- 16,578
- 11
- 57
- 93
1
vote
1 answer
Should I worry if 'pkexec' is in a cPanel user's /home/virtfs (CVE-2021-4034)?
The recent security bug CVE-2021-4034 in Linux involves /usr/bin/pkexec. Following media reports (zdnet, etc.) I changed its permission, but also found this file:
/home/virtfs/foo/usr/bin/pkexec for cPanel user foo.
I don't know why a user would…
kitchin
- 131
- 2
1
vote
1 answer
Virtualisation: follow symbolic links in VirtFS (9p) share
I have folder on host machine which have symlinks to another device. Like this
$ ls -all ~/folder_to_share
...
file1
file2
linked_dir -> /mnt/bdrive/real_dir/
...
I setup QEMU virtual machine via libvirt and vagrant-libvirt. And also setup sharing…
petRUShka
- 1,182
- 5
- 17
- 29
0
votes
2 answers
High disk usage with virtfs
I'm trying to figure out (1) how much actual space is in use on my server and (2) what will happen if I use more of it. I originally posted a version of this question on ServerFault, but they kicked me over here.
Background: I am running a server…
elixenide
- 103
- 1
- 1
- 6