From owner-freebsd-questions@FreeBSD.ORG Tue Nov 7 21:49:27 2006 Return-Path: X-Original-To: FreeBSD-Questions@freebsd.org Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7919E16A412 for ; Tue, 7 Nov 2006 21:49:27 +0000 (UTC) (envelope-from rem@tco2.thecompanyonline.com) Received: from tco2.thecompanyonline.com (dsl017-004-081.ser1.dsl.speakeasy.net [69.17.4.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD08143D66 for ; Tue, 7 Nov 2006 21:49:22 +0000 (GMT) (envelope-from rem@tco2.thecompanyonline.com) Received: from [10.50.30.149] ([216.109.255.7]) (authenticated bits=0) by tco2.thecompanyonline.com (8.13.6/8.13.6) with ESMTP id kA7LiKlh009437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Nov 2006 16:44:25 -0500 (EST) (envelope-from rem@tco2.thecompanyonline.com) Message-ID: <4550FF54.80908@tco2.thecompanyonline.com> Date: Tue, 07 Nov 2006 16:49:08 -0500 From: Richard McIntyre User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions@freebsd.org References: <003a01c6ee0a$841e74f0$6908a8c0@pcmoperations> <20061012182206.GA81008@Grumpy.DynDNS.org> <452FE303.90002@tco2.thecompanyonline.com> <452FEAD6.7030800@tomjudge.com> In-Reply-To: <452FEAD6.7030800@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on tco2.thecompanyonline.com at Tue, 07 Nov 2006 16:44:27 -0500 X-Virus-Scanned: ClamAV 0.88.3/2172/Tue Nov 7 09:04:48 2006 on tco2.thecompanyonline.com X-Virus-Status: Clean Cc: Subject: Re: Hard Drive Issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 21:49:27 -0000 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 error=40 LBA=181778119 >> Oct 13 07:11:15 tco1 kernel: ad2: FAILURE - READ_DMA >> status=51 error=40 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 >> > > > 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@tco1.thecompanyonline.com:/usr/src/sys/i386/compile/TCO1.2005.05.02.001 i386 Thank you for the help!