Clone HP Proliant DL360 G4p to HP Proliant DL360G6 with CentOS and LVM

Objective: clone HP Proliant DL360 G4p(S) to HP Proliant DL360G6(D)

  • CentOS 5.4 64bit and Oracle 11g release 1 64bit were installed on HP Proliant DL360G4p(S) and HP Proliant DL360G6(D) is empty machine.
  • S has 2x160G hard disk as raid1 hardware mirroring, D has 4x300G hard disk as raid5.
  • CentOS on S has configured as LVM2.

1. refering to the article at
2. Since all HP Proliant storage controller uses Linux cciss driver, so we can clone them although the hard disk size is different.
3. after cloning, you can online resize the partition too since we are using LVM2

1. since the hard disks are totally different in terms of type and size. So we cannot use sfdisk to clone partiton tables. We can manually configure partition table on D server, make the /boot as 100M and  the rest as the whole physical volume which is around 800G

bootup with RIP CD 9.3 non-X version in ILO, you can use local iso file in browser ILO, or you can refer to article
boot up with 64bit kernel without keyboard map

fdisk /dev/cciss/c0d0
c0d0p1 as /boot as 100M (default type 83,Linux)
c0d0p2 as LVM partition type (8e)

2. refer to article