Re: Bad sector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 1:10 PM +0200 6/18/06, J.L. Coenders wrote:

>Dear list,
>
>I have a problem.
>Smartd reports that I have bad sectors on my disk. I have tried checking it
>with badblocks which also reports bad sectors.
>I believe I have heard it is possible to repair this in a software manner. Is
>this true, or do I need to buy a new disk?
>
>Btw, fsck does not report any problems.

It is normal for modern large disks to occasionally have some bad sectors.
Most people never check and don't notice them.  By default, if the data can
be recovered, the disk automatically remaps that sector (as Mikkel notes:
if that feature is turned on).  If the data can't be recovered, the sector
is put on a list to be remapped the next time it is written to.  Writing to
bad sectors will "fix" them, but their data is lost.

Many (all) modern disks can automatically scan the disk and remap bad
sectors as they fail.  This improves the chances that the sector will still
be readable, and that the remapping will succeed.  This is controlled by
SMART and smartctl.  It can make the disk a bit slower.

    []# smartctl --offlineauto=on /dev/hdwhatever

SMART will also tell you if the disk has too many bad sectors, or other
problems, though SMART only claims to give a few hours warning of impending
failure.

    []# smartctl --all /dev/hdwhatever

See "man smartctl", and, of course, "man smartd".

One needs backups to recover from disk failures, even just uncorrectable
bad sectors.  There must be some tool to map a bad blocks list to the
affected files, but I don't know what it is.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux