[libvirt-users] no luck with filesystem storage type

Ján Tomko jtomko at redhat.com
Thu Mar 26 08:43:10 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150326/a4f64611/attachment.sig>


More information about the libvirt-users mailing list