On 24.12.2021 02:51, Heladu wrote:
Greetings,
I've been experiencing a lot of slowness in general when the system attempts
to read from the hard drive disk. I use Debian 10 Buster with the MATE desktop
environment and simple things like opening the calendar applet or right
clicking to open the context menu takes longer than usual. I noticed the LED
indicator than turns on when reading from the disk also took longer to turn
off, so I decided to inspect the logs and I ran into these entries:
...
They happen every time the system experiences slow reads. Now, I did some
research and I've read some possible causes like a bad SATA cable or a
malfunctioning HDD or PSU. I booted from a Debian installer on an USB stick
and I ran fsck.ext4 to check the disk and it printed the partition was clean.
Given that fsck didn't print anything unusual, I decided to replace the SATA
cable. However, it's still happening.
The HDD is a 1TB 3.5" WD Blue SATA drive which was bought a year ago.
I'm certain this is not a software problem because I've been running the
system a whole year without any problem. Has anyone ever experienced this? Is
there a way I can reliably find the faulty component (HDD, PSU...) without
buying a new one and hoping that solves it?
Thank you very much in advance.
You can review SMART attributes which keep track of device's health and
metrics.
This utility is part of "smartmontools" package.
Run this one-liner to see values of relevant attributes:
$ sudo smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
Here is what they should like on perfectly fine hard drive:
$ sudo smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail
Always - 0
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age
Always - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age
Always - 0
Raw values are displayed on the right and they all zeroes. Post the
output you got with next reply.
You should backup or "ddrescue" your data from this drive and
RMA\replace it or better switch to SSD disk.
--
With kindest regards, Alexander.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀