Hi,
Anyone can help??
Thanks!!
On 02/04/2016 03:47 PM, W Forum W wrote:
Hi,
I am trying to 'squash' a kvm host filesystem to a kvm guest.
My libvirt xml looks like
<filesystem type='mount' accessmode='squash'>
<source dir='/data/servers'/>
<target dir='/servers'/>
</filesystem>
I also tried the accessmode passthrough
On the guest I mount the filesystem with
mount -t 9p -o trans=virtio,version=9p2000.L /servers /mnt
When I try to write a file/directory I always get permission denied
but I can read the mounted filesystem normally.
I use qemu-kvm from Debian Stretch
libvirtd --version
libvirtd (libvirt) 1.3.1
kvm --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5), Copyright (c)
2003-2008 Fabrice Bellard
uname -a
Linux 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64 GNU/Linux
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux stretch/sid"
Is there something I overlook, or do I need to find another solution
for sharing host filesystem?
Many Thanks!!