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: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
Date: Thu, 21 Dec 2006 18:29:12 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Dec 2006 10:29:12 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fG+KpnR0jwEflsJ9p1MLaAazvSotX+4XSMsc6PrjRlB48dHsTMfi16rR7marndwoQqBrruE6eeuT30ArdzUk4yVUvbJ7Wd5Et2VTvLC0XgdOBDJjJF+859eWHXYUJM2mX1cUU424SQqRZXclMZnGs269/On674TD3Tv4nKLPdNo=
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
Yes, it's a good way to build a basic image.
 
Use the --one-file-system flag or "-l" with GNU tar to avoid descending other filesystems such as /proc, /sys, /dev/usb, etc., etc. Also it's safest to do on a static filesystem: Building a Xen image copy, then mounting *THAT* to build the tarball is safest.

 
On 12/21/06, Matt Richardson <shortpath@xxxxxxxxx> 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?  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.

--
Matt

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>