failing scsi drive

Duane Attaway dattaway at attaway.net
Mon Oct 21 11:42:12 CDT 2002


On Mon, 21 Oct 2002, Eric Rossiter wrote:

> If you put the two hard drives on the same machine all you have to do is
> this command
> 
> dd if=/dev/hda of=/dev/hdb bs=1024k
> where /dev/hda is your old hard drive
> and /dev/hdb is your old hard drive

That will work great.  I'm lazy and don't even type that much by using cat
to copy the disk over.  Since you will be copying the partition table and
everything to your new drive, it will appear to have the same geometry and
behave identical to the old drive.  You will only notice the better
performance.

If you copy a 1.2GB drive to a 8GB drive this way, your new 8GB will be 
recognized as a 1.2GB drive.  And it will stay that way until you change 
the partition table to reflect the old cylinder/head/sector counts.  The 
only limitation is that you can't exceed the physical capacity of the 
drive.  It will blow chunks of seek errors if you do.




More information about the Kclug mailing list