<div dir="ltr">Forgot to mention I am on CentOS 6.3<div>uname -r = 2.6.32-279.22.1.el6.x86_64<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 3:17 PM, Brad Barrows <span dir="ltr"><<a href="mailto:bradleyb1537@gmail.com" target="_blank">bradleyb1537@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am actually having a hard time getting this to work with a CentOS VM.. <div><br></div><div>I built and installed 9p-sac (Stand alone kernel module) and now </div>

<div><br></div><div><div>[root@thirdspotcloud t2]# cat /proc/filesystems  | grep 9p</div>
<div>nodev<span style="white-space:pre-wrap">     </span>9p</div><div>[root@thirdspotcloud t2]# lsmod | grep 9p</div><div>9p                     16414  0 </div><div>9pnet                  39112  1 9p</div><div>[root@thirdspotcloud t2]# </div>


</div><div><br></div><div>but  when I run: mount -t 9p -o trans=virtio  testmount /opt/workspace/ -oversion=9p2000.L</div><div><br></div><div>I get:</div><div><br></div><div>mount: wrong fs type, bad option, bad superblock on ecp,</div>


<div>       missing codepage or helper program, or other error</div><div>       (for several filesystems (e.g. nfs, cifs) you might</div><div>       need a /sbin/mount.<type> helper program)</div><div>       In some cases useful info is found in syslog - try</div>


<div>       dmesg | tail  or so</div><div><br></div><div><br></div><div><br></div><div>I used virt-manager to generate a config:</div><div><br></div><div><div> <filesystem type='mount' accessmode='passthrough'></div>


<div>      <driver type='path' wrpolicy='immediate'/></div><div>      <source dir='/var/lib/libvirt/images/testfolder'/></div><div>      <target dir='testmount'/></div><div>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/></div><div>   </filesystem></div><div><br></div><div>Any ideas?<br></div><div><br></div>


</div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 10:41 AM, Brad Barrows <span dir="ltr"><<a href="mailto:bradleyb1537@gmail.com" target="_blank">bradleyb1537@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ill look into that! Thank you so much!</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">


On Wed, Mar 6, 2013 at 10:40 AM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 03/06/2013 11:02 AM, Brad Barrows wrote:<br>
> Currently I am developing my projects on my host laptop and am sharing my<br>
> development folder with my Guest VMs via NFS. This works however it is<br>
> somewhat a hassle do to UID/GID issues..<br>
><br>
> I was wondering if there was something similar to Shared Drives in<br>
> VirtualBox?<br>
<br>
</div>We do have 9p filesystem passthrough, if your guest understands plan9<br>
filesystems:<br>
<a href="http://libvirt.org/formatdomain.html#elementsFilesystems" target="_blank">http://libvirt.org/formatdomain.html#elementsFilesystems</a><br>
This appears to be the closest to a VirtualBox shared drive.<br>
<div><br>
><br>
> Is NFS the best way to go about this kind of development or is there<br>
> another feature I am missing?<br>
<br>
</div>While 9p is probably the slickest approach, NFS is probably the most<br>
universally supported.  There are also other shared filesystems like<br>
glusterfs that might be easier to manage than NFS.  But yeah, the<br>
concept of having the guest share a portion of the filesystem living in<br>
the host is still a topic for current development efforts.<br>
<span><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266" target="_blank">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Brad Barrows<br><a href="mailto:bbarrows@calpoly.edu" target="_blank">bbarrows@calpoly.edu</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Brad Barrows<br><a href="mailto:bbarrows@calpoly.edu" target="_blank">bbarrows@calpoly.edu</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Brad Barrows<br><a href="mailto:bbarrows@calpoly.edu">bbarrows@calpoly.edu</a>
</div>