WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How do I share a folder with xen guests on Linux?

To: Francesco Polzella <f.polzella@xxxxxxxx>
Subject: Re: [Xen-users] How do I share a folder with xen guests on Linux?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Sat, 08 Mar 2008 08:24:59 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Mar 2008 22:25:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CF050C.3040001@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: SoftDux
References: <47CECDB8.6090508@xxxxxxxx> <47CF050C.3040001@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Rudi Ahlers wrote:
Francesco Polzella wrote:
Rudi Ahlers schrieb:

Hi

How do I share a folder, say /bkp with xen hosts? I'm using CentOS 5.1 as host
Another option is to use GFS that is very easy to set up on Centos.
Clearly it's quite impossible to completly avoid the network usage since all the concurrent filesystems usually have network deamons that implement the protocol and policies to ensure the data consistency.
Another option you have is to use OCFS v.2 (Oracle Cluster Filesystem)

Best Regards

Francesco Polzella



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

I think the NFS option will work, if I use a separate internal IP subnet for this purpose, which I can then just exclude from Cacti :)

Can someone perhaps help me?

I have setup an NFS server on the dom0, as follows:

cat /etc/exports
/bck 192.168.10.0/24(rw)


tail -f /var/log/messages
Mar  7 23:04:13 venus kernel: nfsd: last server has exited
Mar  7 23:04:13 venus kernel: nfsd: unexporting all filesystems
Mar  7 23:04:13 venus kernel: RPC: failed to contact portmap (errno -5).
Mar 7 23:04:13 venus kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Mar  7 23:04:13 venus kernel: NFSD: starting 90-second grace period
Mar 7 23:04:14 venus mountd[10383]: authenticated mount request from 192.168.10.11:834 for /bck (/bck) Mar 7 23:05:27 venus mountd[10383]: authenticated mount request from 192.168.10.11:977 for /bck (/bck)


So it looks if all is well, but on the client side, I get this:
root@vps01 [~]# mount 192.168.10.10:/bck /bck
mount.nfs: Input/output error

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users