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 to transfer files from DOM 0 to DOM U

To: "Tommy Huang" <tommy24@xxxxxxxx>
Subject: Re: [Xen-users] How to transfer files from DOM 0 to DOM U
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 23 Sep 2008 22:49:22 -0400
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Sep 2008 19:50:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Pg90wMuP0VsfXnbg7U/zRK/j93W/D3E7ESSIJ9tlsSg=; b=q4gDB8+4YbPEOgrYUYsw0bJtYOTy3XrNdnDHfU79EMpVp8in28r4M5Gnv82xWgrqcj rccfWKdEMAT60qieXtS5OE3AE/1YDUWvdWqS1kysLu6mMCvUtG1f3hHuUgb+W2Qfm0Rp 6MvlpQX28aKs1H005PZUfg5ZJbgTAsnZo0knk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=YR5AHTWELq1B8+TA3ufF6szGyX8Q57WCaS+qx6BHqAR3qh914+Atd0fvqdhCoGjFIx Q84V3Zq10c/JA6+N2NQOyuQ3BkdFQv0jD6AFwWr848MkrPkv2vFn6nz9bpyeIlie8ypp Vq25n8JRbqjFewXxILCQBFX1DCtcR4zy7+NJw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY117-W3683664CA10D8D78C6D242C7450@xxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY117-W3683664CA10D8D78C6D242C7450@xxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Sep 23, 2008 at 8:48 PM, Tommy Huang <tommy24@xxxxxxxx> wrote:
> Hi,
>
> I am wondering if there is another way to do so besides using bridging or
> other network stuff.
> Any information is appreciated.

If the domU is shutdown, you can mount its file system and copy files into it.

The reason that everyone suggests networking is that if you tried to mount
a file system twice (once in dom0 and once in the domU) you will cause file
system corruption. So using cluster and/or network file systems is really your
only real option for dealing with a running guest.

If you have a partition that is available to dom0 and domU, and you only
mount it in the one that you want to write in and the other leave it
ummounted or
mounted read-only, that could be a way, but you would have to implement it
carefully and the potential for error is there.

(when i say partition above, it could be a image file created with dd)

It seems like learning the bridging and or basic network sharing is an
easier route.

Is there a reason not to use a internal private network with a bridge
to accomplish
your goal?

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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