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

Re: [Xen-users] create a guest with tar


  • To: "Matt Richardson" <shortpath@xxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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