Hello,
Please can anybody tell me how to correctly run a SMART offline test using
atactl? I read through the atactl man page but am not sure how to go about
actually executing the self test and gathering the results. After having
turned on SMART support for my device using
atactl /dev/sd0c smartenable
I then execute the command which (I assume) should start the short test
atactl /dev/sd0c smartoffline shortoffline
Following that, however, I'm struggling to get anything concrete or
meaningful (to me) out of atactl regarding the status of the self test. I've
tried
1) atactl /dev/sd0c smartreadlog selftest
2) atactl /dev/sd0c smartread
Output of (1):
Off-line data collection:
status: aborted by an interrupting command
activity completion time: 3000 seconds
capabilities:
execute immediate
read scanning
self-test routines
Self-test execution:
status: completed ok or not started
recommended polling time:
short routine: 2 minutes
extended routine: 39 minutes
SMART capabilities:
saving SMART data
enable/disable attribute autosave
Error logging: supported
Output of (2):
Test 1
LBA Low: 0x1
status: completed ok or not started
timestamp: 374
failure checkpoint byte: 0x0
failing LBA: 0xffffffff
Any direction would be greatly appreciated. Am I barking up completely the
wrong tree for what I expect these commands to do?
Cheers,
mark
p.s. output of 'atactl /dev/sd0c identify' in case that's useful
Model: WDC WD1600AAJS-00L7A0, Rev: 01.03E01, Serial #: WD-WMAV38230922
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 312579695
Device capabilities:
ATA standby timer values
IORDY operation
IORDY disabling
Device supports the following standards:
ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7 ATA-8
Master password revision code 0xfffe
Device supports the following command sets:
NOP command
READ BUFFER command
WRITE BUFFER command
Host Protected Area feature set
Read look-ahead
Write cache
Power Management feature set
Security Mode feature set
SMART feature set
Flush Cache Ext command
Flush Cache command
Device Configuration Overlay feature set
48bit address feature set
Automatic Acoustic Management feature set
Set Max security extension commands
Set Features subcommand required
Power-up in standby feature set
DOWNLOAD MICROCODE command
SMART self-test
SMART error logging
Device has enabled the following command sets/features:
NOP command
READ BUFFER command
WRITE BUFFER command
Host Protected Area feature set
Read look-ahead
Write cache
Power Management feature set
SMART feature set
Flush Cache Ext command
Flush Cache command
Device Configuration Overlay feature set
48bit address feature set
Set Features subcommand required
DOWNLOAD MICROCODE command