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

Re: [Xen-users] How to transfer files from DOM 0 to DOM U


  • To: "Tommy Huang" <tommy24@xxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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