Moving from old Harddisk to New-one

Please ask questions here if you are not familiar with fsarchiver
Post Reply
frindly
Posts: 25
Joined: Fri Nov 28, 2008 2:31 pm
Location: Germany

Moving from old Harddisk to New-one

Post by frindly » Mon Jul 04, 2011 11:00 am

Hello
i have a Mailserver running on Debian 5 and jfs as filesystem.
The Harddisk is an old 80GB IDE Model, nearly end of life.
Now i want to buy a new one, and transfer the complete Data.
The dificult is, that everything is on the root filesystem and the
Harddisk must be bootable after all.

msetzerii
Posts: 10
Joined: Wed Jun 22, 2011 9:22 am

Re: Moving from old Harddisk to New-one

Post by msetzerii » Tue Jul 05, 2011 3:11 am

Generally making a disk image isn't a big issue, but one needs to know the details.
If the disks are basically the same.
Same Type of interface.
Same # of sectors per track.
Same # of heads.

Then total size needs to be as large or larger than the original.

What are the partitions on the disk. With a clone, you copy everything from the source to the destination.
With my g4l project this is basically a dd copy from one to the other so everything is copied in one shot.

I've done cloning to new disk, and then they have always booted fine. Except when I went from an IDE disk to a SATA disk. Turned out the boot image didn't include the SATA boot modual, so had to build a new initrd, and then it booted fine.

fsarchiver 7 (beta) has options to backup the partition table, and recreate them. So, it should be possible to create a new system with it, but that actually isn't a clone.

I generally do a clone, and then if the drive is bigger, you can create a new partition to use the extra space or use gparted or other tool to resize things.

Nice thing about doing a clone to a new disk, if it doesn't work, the original is still working.

Post Reply