[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] creating a DomU from tar
Hi, I am new with XEN. I have installed XEN 4 on Debian 6.0. I am using LVM with XEN. I created a new DomU with Debian 6.0 Now I am planning a backup solution. So I made a lvm snapshot: lvcreate --snapshot --name=samba-snapshot -L 10G /dev/XEN-Server/vm-samba-disk after I mounted the snapshot: mkdir -p /mnt/samba-snapshot mount /dev/XEN-Server/samba-snapshot /mnt/samba-snapshot and made a tar archive: tar -pczf /opt/backups/samba.tar.gz /mnt/samba-snapshot So far so good. 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: General Information -------------------- Hostname : VM-samba-restore Distribution : squeeze Mirror : http://ftp.de.debian.org/debian/ Partitions : swap 256Mb (swap) / 5Gb (ext3) Image type : full Memory size : 254Mb Kernel path : /boot/vmlinuz-2.6.32-5-xen-686 Initrd path : /boot/initrd.img-2.6.32-5-xen-686 Networking Information ---------------------- IP Address 1 : 192.168.255.211 [MAC: 00:16:3E:2B:43:B7] Netmask : 255.255.255.0 Broadcast : 192.168.255.255 Gateway : 192.168.255.254 Creating swap on /dev/XEN-Server/VM-samba-restore-swap Done 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 Logfile produced at: /var/log/xen-tools/VM-samba-restore.log Removing swap volume Removing LVM disk volume The log file can be found here: http://pastebin.com/4WvsRhSy I am thankfully for any help. Sven _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |