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] creating a DomU from tar

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] creating a DomU from tar
From: Derek <lists@xxxxxxxxxxxxx>
Date: Tue, 05 Apr 2011 19:30:55 +1200
Delivery-date: Tue, 05 Apr 2011 00:32:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <000901cbf360$10f91380$32eb3a80$@konabi.de>
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: <000901cbf360$10f91380$32eb3a80$@konabi.de>
Reply-to: lists@xxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Looks like a typo there in xen-tools.conf.

You need a 'c' on the end of $sr

tar-cmd  = /bin/tar --numeric-owner -xzvf $src

Now my plan is using the tar archive to create a new DomU.
So I  changed the xen-tools.conf using tar instead of debootstrap:

install-method = tar
install-source = /opt/backups/samba.tar.gz
tar-cmd  = /bin/tar --numeric-owner -xzvf $sr

The hole xen-tools.conf can be found here:
http://pastebin.com/a5GpXHfY

Now I am trying to create a new DomU with this command:
xen-create-image --size=5Gb --memory=254Mb --hostname=VM-samba-restore
--ip=192.168.255.211

and get the following error:

Creating ext3 filesystem on /dev/XEN-Server/VM-samba-restore-disk
Done
Installation method: tar
(Source: /opt/backups/samba.tar.gz)
Done
System installation failed.  Aborting
/tmp/KxbTNiPltf/etc/ssh/ssh_host_rsa_key.pub: No such file or directory

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