I have a CentOS system I'm tying to duplicate. I can't use
cat over SSH from the source server so I have to initiate the command from the target server.
My first choice is to duplicate each partition individually using dd then restore those partitions to a test box once it's already formatted and set up with CentOS.
When I created the new partitions on the target server using the partition tool that comes with CentOS's installer, the partition for /home gets moved to /dev/hda2 by default. The original server has it on /dev/sda3. I tried deleting the partition and recreating it so it will match the original server, but no dice. Each time it gets created on the target server the part editor keeps "promoting" it to /dev/hda2. Both servers are using SATA disks but the original server labels its disc /dev/sda and the target server is /dev/hda. I'm not really concerned about this being a problem, I'm just curious as to why it's doing this since I am explicitly telling the partition tool how to create the partitions.
Does anyone have an explanation for why this is happening? Again, I'm just curious.
For reference, here are the partition tables: Original server:
- /dev/sda2 / 97 GB
- /dev/sda1 /boot 100 MB
- /dev/sda3 /home 352 GB
- /dev/hda1 /boot 100 MB
- /dev/hda2 /home 352 GB
- /dev/hda3 / 97 GB
Swap is 2 GB on each device.