From owner-freebsd-questions@FreeBSD.ORG Tue Oct 27 09:23:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E8F81065679 for ; Tue, 27 Oct 2009 09:23:38 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id B98898FC1A for ; Tue, 27 Oct 2009 09:23:37 +0000 (UTC) Received: (qmail 62585 invoked from network); 27 Oct 2009 09:23:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=P8fjyx7pN5Z8XEQzU/2i4BCSYiF7YfpbKrdoBPUSRk0nuYfCH8juOqOl33wYDzFOGLQX4bgXm40AHos4VZf1hXisiuqr0HDS9g0NDhUTMr/kZvkqUSwPbFl/5Z78oAoyL3YtQEcSzu2L4ogUVif3LDWnwgzxs4YMzJfuohLX21Y= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 27 Oct 2009 02:23:36 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: RhmFWCsVM1nk9cdCVeaJ.nVk0m0Bsn6RQMPJ52SjWPU03YI4n0dMuo1xEyJhBdFCBvUCNtCiFbGiE4rY7GWuwprMkIMmgNQvCxIx._vU77UJSFJWiMApGZ8nxQl90KxYryHWjTVj.qkOfzEp4k5AbnljVqjSic4pvM5Hb6eoBn4pCMQYjNhWQP3mMJgK0cJ5XqvNc.flUF57b.TGG4b5RGOKsk.n59tyn.RFxSDLMGkdhz2B4PrbZLimv7fl1eOKwNUxF6jc4rerOAfxpIUH9ghUnIblxFKQgW3PldCVmGivAWs.tifBt9_PI9jA0KFZuzB7rKftngcPLy5D_rK5dfrwt29_wAp7Q9agZwxhY_E2mZOt8.Uw7.TG X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 4C56322848 for ; Tue, 27 Oct 2009 05:23:36 -0400 (EDT) Date: Tue, 27 Oct 2009 05:23:35 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20091027052335.65cae6b8@scorpio.seibercom.net> In-Reply-To: <4AE6AC47.9070800@infracaninophile.co.uk> References: <4AE6AC47.9070800@infracaninophile.co.uk> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Bad sectors: how bad can it be X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 09:23:38 -0000 On Tue, 27 Oct 2009 08:16:07 +0000 Matthew Seaman replied: >Gr_newald Micha_l wrote: >> Dear list, >> >> after an incorrect power-off of my FreeBSD system, it does not boot >> any more, BTX stops even before showing the cute beastie menu. >> Starting the machine by other means, I found that the hard-drive is >> installed on has bad sectors. I am looking for advices on how to >> recover from this, if possible. >> >> Basically the question is: shall I discard my hard-drive with >> bad-sectors, or can I continue using it? >> >> The Linux system I use to diagnose this says: >> >> hdb: media error (bad sector): status=0x51 { DriveReady >> SeekComplete Error } >> hdb: media error (bad sector): error=0x30 { LastFailedSense=0x03 } >> ... >> Buffer I/O error on device hdb, logical block 1663200 >> >> etc. >> >> Since I use computers (1992) these are my first bad sectors :) (on >> hard drives, taking floppies into account is no fun!). I hence have >> several questions: >> -- is it possible to let these sectors? >> -- to which extents a hard-drive with bad sectors is usable? >> -- while the apparition of these bad sectors coincide with an >> incorrect power-off, are the two events related? The machine >> suffered plenty improper power-offs (or many), in the last years and >> did not react so badly! > >Yes. Back up your data and replace that disk ASAP. It's toast. > >All disks come with a built-in set of spare sectors, which the firmware >will automatically substitute for any sectors that go bad. If you get >to the state where the OS is seeing bad blocks, it means the disk has >run out of spare sectors. It's worn out. A friend of mine had a lap-top that exhibited similar behavior. After trying the usual methods, he used SpinRite at its highest level on the disk. It ran for 97 hours; however, when completed, the disk worked like new. While replacing the drive is certainly a good idea, if you need information on it that you cannot otherwise extract, you might want to try another method. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Never pay a compliment as if expecting a receipt.