Re: unreadable sectors, what to do?

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

 



On 11Oct2007 07:07, Neal Becker <ndbecker2@xxxxxxxxx> wrote:
| I have a raid0 array, and I'm getting this:
|  Currently unreadable (pending) sectors detected:
|         /dev/sda - 48 Time(s)
|         2 unreadable sectors detected
|  
|  Offline uncorrectable sectors detected:
|         /dev/sda - 48 Time(s)
|         2 offline uncorrectable sectors detected
| 
| What should I do?  Run badblocks?

As remarked, replacement drives may be the cheap and experient approach.

But I will remark that my venerable laptop drive started doing this to
me some time ago.

Since it had a single ext3 filesystem I went:

  e2fsck -c /dev/sda

That ran badblocks, and told the fs to avoid those sectors.

And it's been fine since.

It took a whole day as I recall; once the scan hits the bad sectors
Linux stalls for a while retrying them before propagating the failure up
for badblocks to see. And of course I've lost some data somewhere.

The prudent thing is new media, and a more robust RAID (1, or 5 if
you've got enough $s and drive bays). The cheap but effictive thing,
if $s are short and you can stand the downtime, may be an "e2fsck -c".

You're still at risk of course, but since I don't believe that bad
sectors spread like a fungus I suspect you're not at much more risk than
you already are with RAID0. It may buy you a lot of time while accruing
$s and planning your storage upgrade.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Cat: What is it?
Rimmer: It's a rent in the space-time continuum.
Cat: What is it?
Lister: The stasis room freezes time, you know, makes time stand still. So
    whenever you have a leak, it must preserve whatever it's leaked into, and
    it's leaked into this room.
Cat: What is it?
Rimmer: It's singularity, a point in the universe where the normal laws of
    space and time don't apply.
Cat: What is it?
Lister: It's a hole back into the past.
Cat: Oh, a magic door! Well, why didn't you say?
        - Red Dwarf, _Stasis Leak_

-- 
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