Mailinglist Archive: opensuse (2212 mails)

< Previous Next >
[opensuse] Bad Sector remapping?
  • From: "Greg Freemyer" <greg.freemyer@xxxxxxxxx>
  • Date: Thu, 27 Sep 2007 18:32:44 -0400
  • Message-id: <87f94c370709271532i7e6387d5t9a300bba9e094d00@xxxxxxxxxxxxxx>
All,

Having an issue I thought I knew how to address, but it is not
working.  OpenSUSE 10.2 is booting into a maintenance mode due to a
bad sector read on the hard disk.  I'm not worried about the data on
the drive and so far it is just one bad sector.

So I would like to cause the drive to map the sector to one of its
spares, then do a fsck on the partiion, then some kind of installation
verification step, or if truly necessary I can reinstall.

I'm stuck on the first step.  I thought writing data to the sector
would cause the drive to remap it, but that is not happening.

dd if=/dev/sda of=/dev/null skip=312518818 count=1

Is very slow to return and triggers the bad sector error messages.

dd if=/dev/zero of=/dev/sda skip=312518818 count=1

returns very fast and and reports success, but redoing the above read
again still returns errors.

Is there a different way to get that sector remapped?

Thanks
Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >