[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] [SOLVED] NFS Share on localhost / same computer


  • To: xen-api@xxxxxxxxxxxxx
  • From: sentinel <sentinel2k01@xxxxxx>
  • Date: Wed, 30 May 2012 22:23:34 +0200
  • Delivery-date: Wed, 30 May 2012 20:23:45 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

I found some older howto's with the same infos. Problem is, with Debian Wheezy (Testing) there is no portmap more. It is replaced by rpcbind.

So i looked after some howto's about rpcbind...

I changed the hosts.allow and hosts.deny

root@XenServer:/# cat /etc/hosts.allow
[---cut---]
mount.nfs rpc.mountd portmap rpcbind mountd nfsd statd lockd rquotad : 192.168.0.0/255.255.255.0 , 127.0.0.1

root@XenServer:/# cat /etc/hosts.deny
[---cut---]
mount.nfs rpc.mountd portmap rpcbind mountd nfsd statd lockd rquotad :  ALL


after restarting the nfs and rpcbind services and try to create the new SR the following error
occured

Error code: SR_BACKEND_FAILURE_88
Error parameters: , NFS SR creation error [opterr=remote directory creation error is 13],

in the citrix forum i found an old entry from 2009, with the solution.
I have to add "no_root_squash" to the share entry in /etc/exports and now it works!

Thank you to bring me into the right direction! :)



Am 29.05.2012 19:26, schrieb Joseph Hom:
If I remember correctly portmap is configured to only listen on localhost. Edit 
/etc/sysconfig/portmap and remove the -l arg that is passed. Restart portmap.

-----Original Message-----
From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On 
Behalf Of sentinel
Sent: Tuesday, May 29, 2012 12:07 PM
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] NFS Share on localhost / same computer

Hi List!

i have setup a fresh Debian Wheezy installation and followed the wiki 
http://wiki.xen.org/wiki/Project_Kronos to install XAPI.
Now i will add a Storage Repository from a NFS Server, the NFS Server is the 
same computer where XAPI is installed.

I try:

xe sr-create type=nfs name-label=Windows device-config:server=XenServer 
device-config:serverpath=/Windows

but i become the following errors:

Error code: SR_BACKEND_FAILURE_73
Error parameters: , NFS mount error [opterr=mount failed with return code 32],

root@XenServer:/# showmount -e XenServer Export list for XenServer:
/Windows XenServer.fritz.box

The errors also occurred when i change the 
device-config:server=XenServer.fritz.box

My NFS exports:

root@XenServer:/# cat /etc/exports
[----cut default commentary----]
#Xen XCP SR for Windows 7 on SSD RAID
/Windows XenServer(rw,async,no_subtree_check)

i also tried to change the IP address instead of the ComputerName (XenServer), 
but the result is the same.
No new SR for XAPI.

When i add the IP from my other Ubuntu 11.10 computer to the /etc/exports, i 
can mount the share on the Ubuntu-PC without any problems.


Why i try to use NFS? The folder /Windows is a part of a RAID5 Array,
and i don't want to use the hole Array as a SR.

Any hints?



regards
Dominik






_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api



_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.