You are not logged in.

#1 2013-07-03 08:02:06

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Is my hdd going to die? (Badsectors)

I ran hdck and got this:

hdck results:
=============
possible latent bad sectors or silent realocations:
block 0 (LBA: 0-255) rel std dev:  -nan, avg:  1.92, valid: yes, samples: 1, 9th decile:  1.92
block 1 (LBA: 256-511) rel std dev:  -nan, avg:  1.92, valid: yes, samples: 1, 9th decile:  1.92
block 262762 (LBA: 67267072-67267327) rel std dev:  0.00, avg: 18.80, valid: yes, samples: 15, 9th decile: 18.89
block 262859 (LBA: 67291904-67292159) rel std dev:  0.00, avg: 18.76, valid: yes, samples: 15, 9th decile: 18.87
block 264130 (LBA: 67617280-67617535) rel std dev:  0.00, avg: 18.77, valid: yes, samples: 15, 9th decile: 18.86
block 264136 (LBA: 67618816-67619071) rel std dev:  0.01, avg: 18.51, valid: yes, samples: 15, 9th decile: 18.82
block 557541 (LBA: 142730496-142730751) rel std dev:  0.00, avg: 19.14, valid: yes, samples: 15, 9th decile: 19.18
7 uncertain blocks found

wall time: 7647s.223ms.2µs.507ns
sum time: 7608s.321ms.615µs
tested 915787 blocks (0 errors, 2748989 samples)
mean block time: 0s.2ms.767µs
std dev: 0.739639953(ms)
Number of invalid blocks because of detected interrupted reads: 0
Number of interrupted reads: 51
Individual block statistics:
<2.08ms: 158100
<4.17ms: 705589
<8.33ms: 52053
<16.67ms: 40
<33.33ms: 5
<50.00ms: 0
>50.00ms: 0
ERR: 0

Worst blocks:
block no      st.dev  avg   1stQ    med     3rdQ   valid samples 9th decile
       11669  7.9210   5.63    1.69    1.90    5.85  yes   4     12.84
       31802  8.2197   6.07    1.96    1.97    6.08  yes   4     13.47
        2525  7.5414   7.38    3.02    3.09    9.59  yes   3     13.49
      270030  8.3660   6.92    2.09    2.10    9.34  yes   3     13.68
      553805  4.8563  10.89    9.46   13.63   13.70  yes   3     13.73
      264136  0.2499  18.51   18.30   18.33   18.78  yes  15     18.82
      264130  0.0651  18.77   18.75   18.77   18.79  yes  15     18.86
      262859  0.0843  18.76   18.71   18.76   18.78  yes  15     18.87
      262762  0.0612  18.80   18.77   18.79   18.85  yes  15     18.89
      557541  0.0539  19.14   19.13   19.16   19.18  yes  15     19.18

Disk status: bad
sectors that required more than 2 read attempts detected

What should I do? All my partitions are EXT4, except for boot which is ext2. My disk's head parks very often because lately I mostly read documents on my laptop, so I want it to save energy and be quiet.

Offline

#2 2013-07-03 11:39:06

fruitC
Member
Registered: 2013-07-03
Posts: 3

Re: Is my hdd going to die? (Badsectors)

Backup your data.

you can check the Drive error log via SMART:
smartctl --all /dev/sda
and do a drive check via:
smartctl --test=long /dev/sda

if the smart error log/statistics look bad, the you should buy a new disk.

Offline

#3 2013-07-06 16:31:22

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: Is my hdd going to die? (Badsectors)

SMART said "passed"..  and no errors whatsoever... isn't that strange? or is hdck overzealous?

Offline

#4 2013-07-07 18:57:02

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Is my hdd going to die? (Badsectors)

hdck seems to be doing a statistical analysis based on the time needed to read the sectors. I'd say that unless the disk is not being used by anything else, any spurious disk access by the OS or any application might be able to trigger false positives.

I would keep an eye on the smart parameters for any sign of possible trouble and if really doubting if the disk is ok then I would run a few passes of badblocks and make sure the disk is ok.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2013-07-07 23:31:19

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Is my hdd going to die? (Badsectors)

Don't just look at the "overall health status" from smartctl. You need to look at the individual variables it monitors. You can also run various tests. Which ones depend on the disk but smartctl can tell you what's available.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-07-08 19:06:54

LyCC
Member
Registered: 2012-09-05
Posts: 155

Re: Is my hdd going to die? (Badsectors)

el mariachi wrote:

SMART said "passed"..  and no errors whatsoever... isn't that strange? or is hdck overzealous?

see the relocated sector count in smartctrl -a, if it's non-zero, then you had bad sectors. Now each track on a classical HDD (not SSD) has a few spare sectors / track. These spare sectors are used to replace damaged ones. The problem is that usually, once sectors go bad, the near by sectors will also die relatively quick. The best thing to do is to back up your "important" data right away, just to be on the safe side, after that, you can try to live with that HDD, but now days hdds are relatively cheap, so maybe go out and buy a new one ...

edit: Reallocated_Sector_Ct ( and the RAW value if it's 0 or not)

Last edited by LyCC (2013-07-08 19:12:08)

Offline

#7 2013-07-08 23:33:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Is my hdd going to die? (Badsectors)

Current Pending Sector is also one to look at - sometimes it cannot reallocate.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB