Questions tagged [virtfs]

The tag has no usage guidance.

10
votes
3answers
4k views

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 ...
4
votes
1answer
3k views

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): ...
1
vote
1answer
917 views

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 ...
0
votes
2answers
1k views

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 ...
3
votes
1answer
1k views

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)" ...
2
votes
1answer
687 views

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)...
2
votes
1answer
574 views

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 ...