Hi all,
I want to perform a schedule backup of my DomU guest VM. In case of the physical hardware failure, I want to restore the guest VM into another server with same config and DOM0 OS version.
My Dom0 OS is centOS 5.4 with Xen 3.4.2
I create my guest VM as par-virtualized and using LVM for storage like
/dev/VolGroup00/vm1 for VM1
/dev/VolGroup00/vm2 for VM2
From Guest, I create 3 partition under /dev/VolGroup00/vm1 like
/dev/sda1 /boot
/dev/sda2 /
/dev/sda3 swap
I use snapshot LVM to mount the partition /dev/VolGroup00/vm1 through kpartx with two tar files : boot.tar and root.tar
I copied these two files to another server and extract the tar file under the same OS and LVM size and use xen create to start the new guest OS. However, it can not boot up at the error prompt that it can't mount the root filssystem
Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys
switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init!
Any idea?
What is the best practice for doing this schedule backup?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|