I am actually having a hard time getting this to work with a CentOS VM..I built and installed 9p-sac (Stand alone kernel module) and now[root@thirdspotcloud t2]# cat /proc/filesystems | grep 9pnodev 9p[root@thirdspotcloud t2]# lsmod | grep 9p9p 16414 09pnet 39112 1 9p[root@thirdspotcloud t2]#but when I run: mount -t 9p -o trans=virtio testmount /opt/workspace/ -oversion=9p2000.LI get:mount: wrong fs type, bad option, bad superblock on ecp,missing codepage or helper program, or other error(for several filesystems (e.g. nfs, cifs) you mightneed a /sbin/mount.<type> helper program)In some cases useful info is found in syslog - trydmesg | tail or soI used virt-manager to generate a config:<filesystem type='mount' accessmode='passthrough'><driver type='path' wrpolicy='immediate'/><source dir='/var/lib/libvirt/images/testfolder'/><target dir='testmount'/><address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/></filesystem>Any ideas?--On Wed, Mar 6, 2013 at 10:41 AM, Brad Barrows <bradleyb1537@gmail.com> wrote:
Ill look into that! Thank you so much!--On Wed, Mar 6, 2013 at 10:40 AM, Eric Blake <eblake@redhat.com> wrote:
On 03/06/2013 11:02 AM, Brad Barrows wrote:We do have 9p filesystem passthrough, if your guest understands plan9
> Currently I am developing my projects on my host laptop and am sharing my
> development folder with my Guest VMs via NFS. This works however it is
> somewhat a hassle do to UID/GID issues..
>
> I was wondering if there was something similar to Shared Drives in
> VirtualBox?
filesystems:
http://libvirt.org/formatdomain.html#elementsFilesystems
This appears to be the closest to a VirtualBox shared drive.
While 9p is probably the slickest approach, NFS is probably the most
>
> Is NFS the best way to go about this kind of development or is there
> another feature I am missing?
universally supported. There are also other shared filesystems like
glusterfs that might be easier to manage than NFS. But yeah, the
concept of having the guest share a portion of the filesystem living in
the host is still a topic for current development efforts.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Brad Barrows
bbarrows@calpoly.edu
Brad Barrows
bbarrows@calpoly.edu