Re: Hard Drive Issues



Tom Judge wrote:

Richard McIntyre wrote:

I'm having a similar problem,
Oct 13 03:01:31 tco1 kernel: ad2: FAILURE - READ_DMA status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=181778119
Oct 13 07:11:15 tco1 kernel: ad2: FAILURE - READ_DMA status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=181778119

I'm assuming that particular sector on the drive is dying, I have backed everything up on the drive, can anyone give me more information, should the drive simply be replaced or is it possible that this is simply a TOC error and could be corrected by newfs to the drive?

I'm guessing it will need to be replaced, output of smartctl is below....

Thanks
~Richard

Error 7742 occurred at disk power-on lifetime: 16036 hours (668 days + 4 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 04 c7 b6 d5 ea Error: UNC 4 sectors at LBA = 0x0ad5b6c7 = 181778119
<etc>


Looks like you disk is on its way out, from the look of the above errors, I would try dd'ing the disk onto a new disk the running an fsck to make sure everything is ok. I wouldnt hold out much hope for recovering the data on that sector though.

Tom J


All,

I've put a new disk into the system, The current disk is 200 GB, the new disk is 250 GB.
If I run the command:
dd if=/dev/ad2 of=/dev/ad3 conv=noerror

Will this copy the (changing the appropriate device names of course) the disk as a whole? Will I lose the 50 GB difference?
Is there another way? (like the dump, tar, or just plain copy command?)

The drive is two partitions, one 100GB and the remainder on the other partition. The files contained are backups of my virtual hosted sites and the apache directories (including the apache/bin files).

Any suggestions? I've read a good deal of forums online but they seem to be contradicting. 1/2 say I will loose the remainder of the drive space, 1/2 say that dd is not the best way to go. (there is roughly 35 GB of data actually on the device).


FreeBSD tco1.thecompanyonline.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon May 2 22:32:50 EDT 2005 rem@xxxxxxxxxxxxxxxxxxxxxxxxx:/usr/src/sys/i386/compile/TCO1.2005.05.02.001 i386

Thank you for the help!



_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Part of new hard disk has disappeared - access only to about hal
    ... Rather than reload from OEM CDs, update to Serv Pack 3 etc and load all softwatre, tried to save a lot of time by using freeware to clone existing disk - as I accept, at own risk! ... I strongly suspect that I have corrupted the MBR, and perhaps especially the Volume Bytes forming part of the MBR in sector 0. ... The "of=" is the output target for the command. ... If you want to erase the whole drive, the "dd" command can do that also. ...
    (microsoft.public.windowsxp.general)
  • Re: New HDD Installation
    ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
    (microsoft.public.windowsxp.general)
  • Re: Forgot to put old_rootvg to sleep before reboot - How to Wake
    ... Performs operations on existing alternate rootvg volume groups. ... To rename Alternate Disk Volume Group: ... The alt_rootvg_op command can be used to determine which disk is the ... flag) can be executed at this time. ...
    (comp.unix.aix)
  • PC8477 Demo Program
    ... The PC8477 Demo Program is designed to allow access to all software commands and registers of National Semiconductor's PC8477 Advanced Floppy Disk Controller. ... The left center indicates the number of bytes transferred during the last command issued. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Windows XP boot failure
    ... If you have a friend with a real Windows ... read/write to the drives using a command line ... For more information on a specific command, ... CHKDSK Checks a disk and displays a status report. ...
    (microsoft.public.windowsxp.basics)