On Fri, 2008-04-25 at 13:35 -0400, Jason Pyeron wrote: > > > -----Original Message----- > > From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On > > Behalf Of Jeff Larsen > > Sent: Friday, April 25, 2008 1:16 PM > > To: CentOS mailing list > > Subject: Re: dying hd on live legacy system... > > > > On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron <jpyeron@xxxxxxxx> wrote: > > > We have an old 3.x server whose hd is dying (kernel: hda: > > dma_timer_expiry: > > > dma status == 0x61) and accessing certain files just crashes the system > > with > > > a reboot. > > > > > > We have moved as many files to a nfs server as we could so simply. > > > > > > The system has been heavily modified (all using rpms) from baseline. > > > > > > What is the most practical method to replace the hard drive? > > > > Install another drive (same size or larger), boot from CD in rescue > > mode and use the dd utility to copy the old drive image to the new > > disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing > > hardware could make this problematic. Then remove the dying disk and > > install the new disk on the cable where the old disk was so that the > > new disk is now /dev/hda. > > > > Tried this, I should have been more clear above. When I access certain > sectors the machine reboots. > > Ideas on how to do the duplication in this scenario? > > > If you are lucky enough to succeed consider mirroring with Linux > > software RAID or at least make a full backup. I don't know if your aware of this but "dd" will mark bad sectors on the drive. Maybe that will help out. I am not sure if it can be done with data on it!!!!! > > > > -- > > Jeff > > _______________________________________________ > > CentOS mailing list > > CentOS@xxxxxxxxxx > > http://lists.centos.org/mailman/listinfo/centos > > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron PD Inc. http://www.pdinc.us - > - Principal Consultant 10 West 24th Street #100 - > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos -- ~/john OpenPGP Sig:BA91F079 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos