on 4-25-2008 10:35 AM Jason Pyeron spake the following: > >> -----Original Message----- >> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On >> Behalf Of Jeff Larsen >> Sent: Friday, April 25, 2008 1:16 PM >> To: CentOS mailing list >> Subject: Re: [CentOS] dying hd on live legacy system... >> >> On Fri, Apr 25, 2008 at 10:38 AM, Jason Pyeron <jpyeron-Zhu2GTxvAjk at public.gmane.org> 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. >> Did you try ddrescue? http://www.gnu.org/software/ddrescue/ddrescue.html -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080425/3afe7fd4/attachment-0005.sig>