Re: [libvirt-users] no luck with filesystem storage type [solved]

I needed one more option to make it work: # mount -t 9p /mnt/SASInstaller /mnt/SASInstaller/ mount: wrong fs type, bad option, bad superblock on /mnt/SASInstaller, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so # mount -t 9p -o trans=virtio /mnt/SASInstaller /mnt/SASInstaller The page you referenced also mentions using -oversion=9p2000.L. There is some additional info on the versions at http://landley.net/kdocs/Documentation/filesystems/9p.txt; that page says .L is the default, while http://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_using_libvirt says it's .U. I don't know how to tell which I ended up with. Thanks for the pointer. Ross ________________________________________ From: Ján Tomko [jtomko@redhat.com] Sent: Thursday, March 26, 2015 1:43 AM To: Boylan, Ross Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] no luck with filesystem storage type On Thu, Mar 26, 2015 at 01:37:06AM +0000, Boylan, Ross wrote:
I have a directory on the host that I would like to be visible in the guest/domain. Using virt-manager I selected the directory, resulting in this configuration: <filesystem type='mount' accessmode='passthrough'> <source dir='/mnt/SASInstaller'/> <target dir='/mnt/SASInstaller'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </filesystem> I created the /mnt/SASInstaller manually in the VM.
Nothing shows up. What am I missing? Do I need to run something in the VM (running Linux) to make it work?
You need to mount it: mount -t 9p /mnt/SASInstaller /mnt/SASInstaller The target 'dir' is not really a directory, it's just a mount tag. See: http://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_using_libvirt Jan
participants (1)
-
Boylan, Ross