| How we salvaged the Web site from a failing HD |
|
|
|
| Written by Luther Pollok | ||||||||||
| Sunday, 26 February 2006 | ||||||||||
Page 4 of 8 After a bit of reading up on the subject of using dd_rescue, I opted for a straight drive-to-drive copy using a very simple command: dd_rescue -r /dev/sda /dev/sdb [Plain english linux translation: run dd_rescue in reverse mode copying from device SCSI drive "A" to device SCSI drive "B" or in Windows 'speak' run dd_rescue in reverse mode copying from drive "C" to drive "D".] Very Important! The command illustrated above requires that you make sure that the drive you are copying to is as large or larger than the drive you are copying from! When run like this, there is no preparation needed to the new drive. No partitioning, no formating, nothing. Basically, I cut open the box to a brand new Western Digital hard drive and plugged it in. I did have to go into bios and tell Bios that there would be a new hard drive on the second SATA port. In my case, all the lower partitions were ok on the old drive. I only needed a good copy of /dev/sdb7 partition. (or as good a copy as I could get) That was the primary reason I went for a reverse order copy. |
||||||||||
| Last Updated ( Saturday, 10 June 2006 ) | ||||||||||
| Next > |
|---|







