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: Tomasz Chmielewski <mangoo@xxxxxxxx>
Subject: Re: [Xen-users] How do I share a folder with xen guests on Linux?
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Thu, 06 Mar 2008 02:16:22 +0000
Cc: Rudi Ahlers <Rudi@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Mar 2008 18:17:04 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=eVw1UEVRZO/MNehIfR7U8fFsIElP2Po1z225JlgpcjQ=; b=XfTm73JDyVrzLnr1PxW8+dAUPEUjWfKnOtr3KRY/VIujDk9pOcTikQSzdn43Llfy+MTCMYwNJygRoB2ROULhL5Z3Q3IgBoD3z62pmMYV9CCMrTN24SjOv6wO2znRbWrYGNxeKfk8vr9YCKL9ly+GKw9LlO48UnPf7DgnTRk4LZ8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GorFksBrmDrH3PmWEYwE7XYUYzJjwvv4FyCO2wN6vCOTBskDW2cVGrrtSXqt98TRUVUpP2mkbLlNNkYhEjgv5RxO0VhFnLTAlEAvhXaI+8MXw7EEz4YCvMx16nZIMR1XhJ0FjhkuQGyy/NESqfla3FhNnLTwLrh29N3rClrPw3E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CEC49D.7040405@xxxxxxxx>
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>
References: <47CEBE6E.9080801@xxxxxxxxxxx> <47CEBF90.7030600@xxxxxxxx> <47CEC1C2.6080509@xxxxxxxxxxx> <47CEC49D.7040405@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
Tomasz Chmielewski wrote:
Rudi Ahlers schrieb:
Tomasz Chmielewski wrote:
Rudi Ahlers schrieb:
Hi

How do I share a folder, say /bkp with xen hosts? I'm using CentOS 5.1 as host

NFS?


Sorry, I should have said, I'd like to the folder to be visible to the guests, and not NFS / FTP, as it will interfere with the network statistics on the NIC

I don't think there are any other options to share data between the host and guest other than using network.

Certainly, using a serial connection or VNC are not an option.

Why not create a separate interface just for this kind of traffic?


Yes, there is. Once you've booted the Xen domaiin, you can add hte block device or ISO or other file system image to the list of block devices of the guest domain with the "xm" command, and then log into the Xen guest and mount it there. I recommend this only for read-only block devices, to avoid becoming confused about what is writing to the partition and how too manage it.

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