Copying Disk with Xen Partitions (dom0 and domU) to new Disk (machine swap)

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

 



Hello!

I have to migrate my Xen Setup from an old machine to a new one.
The old has one 80GB SATA Disk, the new has one 250 GB SATA Disk.

This is my partition Table:
=================Partition Table=================
[root@m1 ~]# fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1318    10482412+  8e  Linux LVM
/dev/sda3            1319        9729    67561357+   5  Extended
/dev/sda5            1319        5234    31455238+  83  Linux
/dev/sda6            5235        6480    10008463+  83  Linux
============================================

sda1 and sda2 is dom0
sda5 is the virtual disk for the first domU
sda6 is the virtual disk for the second domU
sda5 and sda6 have their own partion maps as created by virt-manager:
=================Partition Table=================
[root@m1 ~]# fdisk -l /dev/sda5
Disk /dev/sda5: 32.2 GB, 32210164224 bytes
255 heads, 63 sectors/track, 3915 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/sda5p1   *           1          13      104391   83  Linux
/dev/sda5p2              14        3915    31342815   8e  Linux LVM
============================================


What is the easiest way to copy the whole disk (the dom0 and all domUs) to my
new disk?

I think a simple "dd if=/dev/olddisk of=/dev/newdisk" won't do the job?

Mit freundlichen Grüßen,  ///  Kind Regards,
                                                Christian Reiter



--

Christian Reiter	|||	c.reiter@xxxxxxx


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux