[Cialug] Root File System on NFS
kristau
kristau at gmail.com
Sat Jun 19 11:16:01 CDT 2010
Check your NFS config for the norootsquash option on the NFS server?
On Jun 18, 2010 3:13 PM, "Matt Breitbach" <matthewb at flash.shanje.com> wrote:
Trying to get CentOS with Xen to allow me to put my image files on an NFS
share. I've run into a bunch of errors that I think have lead me to need to
recompile the kernel and enable "Root File System on NFS". I've been
looking for the options in the MenuConfig, but cannot find it. The area
that it's supposed to be in (according to this URL
http://www.virtuatopia.com/index.php/CentOS_5_-_Build_a_Custom_Xen_Kernel_wi
th_NFS_Root_Filesystem_(CONFIG_ROOT_NFS)_Support ) is just blank. No option
at all.
Should I be running in to these issues using CentOS 5.5 and Xen, while
trying to store VM's on an NFS Share? The errors I'm seeing are as follows
:
Unable to complete install 'libvirt.libvirtError POST operation failed:
xend_post: error from xen daemon: (xend.err 'Device 768 (vbd) could not be
connected. losetup /dev/loop0 /var/lib/xen/images/blah.img failed')
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 724, in
do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in
start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in
_do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon:
(xend.err 'Device 768 (vbd) could not be connected. losetup /dev/loop0
/var/lib/xen/images/blah.img failed')
'
I have my NFS Share mounted to /var/lib/xen/images since that's the default
location. I've also tried mounting it to /vmstorage /mnt/nfsshare and
various other mount points with failures all around.
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100619/1f2d8b6c/attachment.htm
More information about the Cialug
mailing list