[ale] New scsi drive - restoring data from old drives

Geoffrey esoteric at 3times25.net
Thu May 13 14:37:52 EDT 2004


Jim Seymour wrote:
> Here's the plan. Just bought a new u160 adapter and drive. I will need 
> to transfer some files,etc from my 2 old uw scsi drives to the new one. 
> I have a travan tape drive I can use to transfer needed files. Is there a 
> better, safer way to transfer the files from the old drives to the new? 
> Some of the data I am concerned about getting corrupted during the 
> transfer if I use tape. I do not plan to keep the older drives and scsi 
> adapter in this box. My main concern about direct transfer from old 
> drives to the new drive is the drive arrangement (dev/sda1, dev/sda2, 
> etc.) changing and causing problems once the old drives are removed. I 
> do not have a cd burner so that is not an option at this time. Any 
> advise would be greatly appreciated.

Recently, I wanted to reclaim a drive from a box as it had a lot of 
unused space.  I  installed a second drive as slave, created the same 
partitions (in name, not size) and used 'cp' to copy everthing from 
/dev/hdaN to /dev/hdbN.  I then shutdown the box, removed the /dev/hda 
drive and replaced it with the /dev/hdb drive.  Rebooted with tom's r/b 
and reinstall grub on the new drive.  Reboot and I'm good.

Point is, I don't think you'll have any problems doing a cp drive to 
drive.  /dev/sdb will become /dev/sda magically when you swap them, the 
main concern would be the boot manager.

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft



More information about the Ale mailing list