[Cialug] Root File System on NFS
Dave Weis
djweis at internetsolver.com
Mon Jun 21 09:00:49 CDT 2010
I don't think it has anything to do with root on nfs, that was something used more in the past. Possibly the image file is a sparse file and nfs isn't supporting it.
________________________________
From: cialug-bounces at cialug.org <cialug-bounces at cialug.org>
To: 'Central Iowa Linux Users Group' <cialug at cialug.org>
Sent: Mon Jun 21 09:01:07 2010
Subject: Re: [Cialug] Root File System on NFS
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.
________________________________
From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On Behalf Of kristau
Sent: Saturday, June 19, 2010 11:16 AM
To: Central Iowa Linux Users Group
Subject: Re: [Cialug] Root File System on NFS
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<mailto: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<mailto:Cialug at cialug.org>
http://cialug.org/mailman/listinfo/cialug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100621/17dd082b/attachment-0001.htm
More information about the Cialug
mailing list