Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 08:31:18 +0100
From:      =?ISO-8859-1?Q?Gr=FCnewald_Micha=EBl?= <michaelgrunewald@yahoo.fr>
To:        freebsd questions general <freebsd-questions@freebsd.org>
Subject:   Bad sectors: how bad can it be
Message-ID:  <FAF67E79-922C-4F54-8BE1-2C3ED88FD3CD@yahoo.fr>

next in thread | raw e-mail | index | archive | help

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!
-- 
Thank you in advance for your advices,
Michaël


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FAF67E79-922C-4F54-8BE1-2C3ED88FD3CD>