On 03/15/17 14:59, Denis Leroy wrote:
smartctl is your friend when it comes
to evaluating a disk drive health.
Keep in mind, though, that SMART is
not fool proof. Some disk damage may
not be caught by SMART, but if SMART
says your drive is damaged, then it
probably is.
First, check the overall health status
((replace /dev/sda with the approriate
disk device in your case):
# smartctl -H /dev/sda
will give you a PASSED or FAILED test.
Note that I've seen disks that make
helicopter sounds and still have a
PASSED status. This is not very
accurate, but the attributes do give
interesting values, like the power
cycle count, or overall power on hours.
+
That I did which resulted in:
9 Power_On_Hours 0x0032
074 074 000 Old_age Always
- 23096
10 Spin_Retry_Count 0x0013
100 100 097 Pre-fail Always
- 0
12 Power_Cycle_Count 0x0032
100 100 020 Old_age Always
- 85
that I posted earlier.
A much better overall indicator is the
error log. A non-empty error log is a
huge read flag:
# smartctl -l error /dev/sda
+
# smartctl -l error /dev/sdd
smartctl 6.5 2016-05-07 r4318
[x86_64-linux-4.9.13-201.fc25.x86_64]
(local build)
Copyright (C) 2002-16, Bruce Allen,
Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
No Errors Logged
Finally, the best thing to do is to
have the disk firmware run a
self-test. There are two types: short
(a few minutes) and long (maybe an
hour). Run a short test first, then a
long test if that passes, to be sure:
# smartctl -t short /dev/sda
+
# smartctl -l selftest /dev/sdd
smartctl 6.5 2016-05-07 r4318
[x86_64-linux-4.9.13-201.fc25.x86_64]
(local build)
Copyright (C) 2002-16, Bruce Allen,
Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision
number 1
Num Test_Description
Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed
without error 00% 0 -
Then monitor the result with
# smartctl -l selftest /dev/sda
To run the long test,
# smartctl -t long /dev/sda
Hope this helps.
Denis
+
Yes that helps, the sort of help I was
looking for, I am encouraged that the
drive is probably as safe to use as any
of the other used ones I have on hand.
Most I depend on were purchased new, but
the time builds up on then also. All
things considered I haven't had many
drive failures [as a home user] over the
years ...
Thanks much for your response,
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-25/64bit LINUX XFCE Fastmail POP3
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx