<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>So I've configured the NFS system to allow
root, and the owner of the image file is now root, rather than nfsnobody. I'm still
getting the same error though when I try to boot a VM. It creates the image
file just fine, but won't boot. FYI - creating the file locally works just dandy,
but a 40GB SSD isn't going to hold many VM's.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
cialug-bounces@cialug.org [mailto:cialug-bounces@cialug.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>kristau<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, June 19, 2010
11:16 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Central
Iowa Linux Users Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Cialug] Root File
System on NFS</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Check
your NFS config for the norootsquash option on the NFS server?<o:p></o:p></span></font></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt' type=cite>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Jun 18, 2010 3:13 PM, "Matt Breitbach" <<a
href="mailto:matthewb@flash.shanje.com">matthewb@flash.shanje.com</a>>
wrote:<br>
<br>
Trying to get CentOS with Xen to allow me to put my image files on an NFS<br>
share. I've run into a bunch of errors that I think have lead me to need
to<br>
recompile the kernel and enable "Root File System on NFS". I've
been<br>
looking for the options in the MenuConfig, but cannot find it. The area<br>
that it's supposed to be in (according to this URL<br>
<a
href="http://www.virtuatopia.com/index.php/CentOS_5_-_Build_a_Custom_Xen_Kernel_wi"
target="_blank">http://www.virtuatopia.com/index.php/CentOS_5_-_Build_a_Custom_Xen_Kernel_wi</a><br>
th_NFS_Root_Filesystem_(CONFIG_ROOT_NFS)_Support ) is just blank. No
option<br>
at all.<br>
<br>
Should I be running in to these issues using CentOS 5.5 and Xen, while<br>
trying to store VM's on an NFS Share? The errors I'm seeing are as
follows<br>
:<br>
<br>
Unable to complete install 'libvirt.libvirtError POST operation failed:<br>
xend_post: error from xen daemon: (xend.err 'Device 768 (vbd) could not be<br>
connected. losetup /dev/loop0 /var/lib/xen/images/blah.img failed')<br>
Traceback (most recent call last):<br>
File "/usr/share/virt-manager/virtManager/create.py", line 724,
in<br>
do_install<br>
dom = guest.start_install(False, meter = meter)<br>
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line
541, in<br>
start_install<br>
return self._do_install(consolecb, meter, removeOld, wait)<br>
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line
633, in<br>
_do_install<br>
self.domain = self.conn.createLinux(install_xml, 0)<br>
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974,
in<br>
createLinux<br>
if ret is None:raise libvirtError('virDomainCreateLinux() failed',<br>
conn=self)<br>
libvirtError: POST operation failed: xend_post: error from xen daemon:<br>
(xend.err 'Device 768 (vbd) could not be connected. losetup /dev/loop0<br>
/var/lib/xen/images/blah.img failed')<br>
'<br>
<br>
I have my NFS Share mounted to /var/lib/xen/images since that's the default<br>
location. I've also tried mounting it to /vmstorage /mnt/nfsshare and<br>
various other mount points with failures all around.<br>
<br>
<br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><o:p></o:p></span></font></p>
</blockquote>
</div>
</body>
</html>