Re: ID 5 Reallocated Sectors Count

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

 



On 09/05/19 00:19, Roy Sigurd Karlsbakk wrote:
>> On 9/5/19 7:41 am, Roy Sigurd Karlsbakk wrote:
>>> Hi
>>>
>>> I'm monitoring this box and it seems ID 5 Reallocated Sectors Count (from SMART)
>>> is climbing frantically on one disk. It's a r6 so it shouldn't be much of an
>>> issue once the disk eventually fails, but does anyone out there know how many
>>> reallocated sectors you can have on a drive? This is an older 1TB ST31000524NS
>>
>> My rule, and what is often suggested in raid documents, is that once the number
>> start to visibly climb (you say 'frantically') I replace the disk.
> 
> That's more or less my understanding of it as well. The question was more of a theoretical question: How many sectors can it reallocate before theey start to go "pending"?
> 
I'm not sure of the exact meaning of "pending sectors", but I'm pretty
certain your question doesn't make sense. Sectors go "pending" BEFORE
they are re-allocated, not after.

I suspect that if a read fails, the sector goes pending. If a "write
then verify" fails, the sector is re-allocated. And if the disk runs out
of space to re-allocate, it commits suicide.

So you can have thousands of "pendings", and it's independent of
"reallocated". But if there's a real problem (like surface damage) any
attempt to rewrite those pendings will result in a rapidly climbing
reallocated count - like you've just seen - and as others have said, it
looks like your drive is on the way out ...

> As for the growth, at May 7 19:42 CEST, reallocated sectors were 53. When this email was posted, it was 1812. Currently it's at 1883, so it's still climbing rapidly. Pending is till zero. This shows the numbers over the day for reallocated sectors (the dots in front was before I turned up the check frequency and zabbix 3.4 apparently isn't smart enough to draw the graph for them there) https://karlsbakk.net/tmp/reallocated-sectors-hba-skrothaug.png 
> 
Cheers,
Wol




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux