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] create a guest with tar

To: Matt Richardson <shortpath@xxxxxxxxx>
Subject: Re: [Xen-users] create a guest with tar
From: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Thu, 21 Dec 2006 18:26:32 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Dec 2006 10:26:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4621e3520612211015t6b8f003aid502f00f87f712f6@xxxxxxxxxxxxxx>
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: <4621e3520612211015t6b8f003aid502f00f87f712f6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Dec 21, 2006 at 10:15:57AM -0800, Matt Richardson wrote:

> Is it possible to tar an existing installation running on it's own box
> so that I can create a DomU from the tarball?  

  Mostly yes.

> I see that one of the
> options in xen-tools is to create from a tarball, but I'm having
> difficulty finding out what options should be used, directories to be
> excluded (/dev, /proc, /sys, any others?), and other gotchas.

  Take any working Xen guest (domU) and tar it exluding only /proc,
 /sys, and /dev.  The latter directory is created when you install
 from the tarball - the former two are transient.)

Steve
-- 

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

<Prev in Thread] Current Thread [Next in Thread>