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

Re: [Xen-API] Creating NFS storage repository on the server with both XCP and NFS Server installed


I'm also a newbie in XCP, so I don't know how much help that I can provide, but...

It's been awhile, and I might not be correctly recalling all the details, but from what I remember I was "sort of" able to do what you want to do.  That is, I was able to create an NFS-based ISO SR and an NFS-based VM SR, both hosted on dom0.  The NFS-based ISO SR was fully functional, but I had some problems with the NFS-based VM SR.  However, the problems with the NFS-based VM SR seems to be related to another issue that I'm having, so maybe they won't affect you.

I put my VMs in /nfs/xva and ISOs in /nfs/iso.  And while I'm sure there is a better way, if I recall correctly, I got things working by editing my /etc/exports file to include the following, or something similar:

/nfs/iso <host IP address>/,sync,no_subtree_check)
/nfs/xva <host IP address>/,sync,no_subtree_check)

As for the xe command that you tried, I can't really help much.  I created my NFS-based SRs using XenCenter.  So you might want to give XenCenter a try for proof of concept.

Hope it works for you. Either way, please report back.  Maybe we can compare notes.


On Sun, Mar 24, 2013 at 8:45 AM, Thu Yein Win <mthuywin@xxxxxxxxx> wrote:
Hi everyone, 

I am a newbie in XCP and have started using it as part of my research into cloud computing. I am currently having an issue with XCP and I would really appreciate your assistance on it.

I am using XCP on Ubuntu Server 12.04 (64-bit). I have already installed the NFS server kernel on the same server and would like to create a shared NFS storage repository it. I have tried creating it using the following command, but XCP does not return anything when I execute it.

xe sr-create host-uuid=<<my_host_id>> type=nfs shared=true content-type=user device-config-server= <<my_server_ip>> device-config-serverpath=<<my_server_path>> name-label="NFSStorageRepository"

Since I am doing this as part of my research project I really want to know if I can create an NFS storage repository on a server which has both XCP and NFS installed. I would like to have your suggestions on it.

Assistance of any sort is greatly appreciated.

Thanks in advance and I look forward to hearing from you soon.

Best regards,


Xen-api mailing list

Xen-api mailing list



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