Re: dying hd on live legacy system...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



on 4-25-2008 10:35 AM Jason Pyeron spake the following:

-----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-Zhu2GTxvAjk@xxxxxxxxxxxxxxxx> 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!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux