Prevent hard disk spin up when retrieving SMART data

Any new ideas, possible impromevents for future versions.
aelorenzo
Posts: 3
Joined: 2008.12.10. 17:51

Prevent hard disk spin up when retrieving SMART data

Post by aelorenzo »

I have been using hdsentinel for testing purposes today and I have noticed that this command spins up hard drives when they are idle. I don't know too much about SMART specifications, but it could be related with some of the command to retrieve some information that hdsentinel checks. Could be possible to detect which SMART commands are spinning up drives and make a command line option to retrieve information in "quiet" mode? Sure that all information can be retrieved spinning up the drive, but it is also interesting to retrieve only the SMART information whitout spinning up the drive (to avoid useless drive power on state).
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Prevent hard disk spin up when retrieving SMART data

Post by hdsentinel »

When Hard Disk Sentinel starts, first it detects the actual configuration, controllers and disks, OS related information etc.
It must issue detection of the disks (type, controller, basic information) before using any SMART (temperature, health and so) related detections. Such detection causes the disk(s) to spin up because the operating system does not supply enough information to the software about the hard disk model ID, serial number, ATA information and so. But such information should be detected prior to temperature, just to connect the information to the correct hard disk ;)

Basically, 3 SMART commands are executed after the initial detection:
- enable SMART operations (if required)
- read SMART values
- read SMART thresholds
(the latter ones can be executed only when SMART is enabled of course).

I'm verifying how it would be possible to detect "silently" any information but it may depends on the actual configuration because different hard disk controllers may handle commands differently. Also USB disks may work differently.
If possible, please send me a report and letting me know the OS type - it may help because then I can check the actual configuration.
aelorenzo
Posts: 3
Joined: 2008.12.10. 17:51

Re: Prevent hard disk spin up when retrieving SMART data

Post by aelorenzo »

I have Debian OS with kernel 2.6.24-1-amd64.

Also, I have noticed that each time I execute hdsentinel I get these annoying messages in the kernel log:

Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec

I have to remark that I have a software mirror RAID (mdadmin managed).

Here it is the report:


-- General Information --

Application Information
-----------------------
Installed Version . . . . . . . . . . . . . . . . Hard Disk Sentinel 0.02
Current Date And Time . . . . . . . . . . . . . . 12-12-08 12:47



-- Physical Disk Information - Disk: #0: ST3802110A --

Hard Disk Summary
-----------------
Hard Disk Number. . . . . . . . . . . . . . . . . 0
Hard Disk Device. . . . . . . . . . . . . . . . . /dev/hda
Interface . . . . . . . . . . . . . . . . . . . . IDE/ATA
Hard Disk Model ID. . . . . . . . . . . . . . . . ST3802110A
Hard Disk Revision. . . . . . . . . . . . . . . . 3.AAH
Hard Disk Serial Number . . . . . . . . . . . . . 5LR4L09J
Hard Disk Total Size. . . . . . . . . . . . . . . 76319 MB
Current Temperature . . . . . . . . . . . . . . . 33 °C (91 °F)
Power On Time . . . . . . . . . . . . . . . . . . 217 days, 16 hours
Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days
Health. . . . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)
Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)

The hard disk status is PERFECT. Problematic or weak sectors not found and there are no spin up or data transfer errors.
No actions needed.

ATA Information
---------------
Hard Disk Cylinders . . . . . . . . . . . . . . . 155061
Hard Disk Heads . . . . . . . . . . . . . . . . . 16
Hard Disk Sectors . . . . . . . . . . . . . . . . 63
Total Sectors . . . . . . . . . . . . . . . . . . 156301488
ATA Revision. . . . . . . . . . . . . . . . . . . 7
Bytes Per Sector. . . . . . . . . . . . . . . . . 512
Buffer Size . . . . . . . . . . . . . . . . . . . 2048 KB
Multiple Sectors. . . . . . . . . . . . . . . . . 16
Error Correction Bytes. . . . . . . . . . . . . . 4
Unformatted Capacity. . . . . . . . . . . . . . . 76319 MB
Maximum PIO Mode. . . . . . . . . . . . . . . . . 4
Maximum Multiword DMA Mode. . . . . . . . . . . . 2
Maximum UDMA Mode . . . . . . . . . . . . . . . . 100 MB/s (5)
Active UDMA Mode. . . . . . . . . . . . . . . . . 100 MB/s (5)
Minimum Multiword DMA Transfer Time . . . . . . . 120 ns
Recommended Multiword DMA Transfer Time . . . . . 120 ns
Minimum PIO Transfer Time Without IORDY . . . . . 240 ns
Minimum PIO Transfer Time With IORDY. . . . . . . 120 ns
ATA Control Byte. . . . . . . . . . . . . . . . . Valid
ATA Checksum Value. . . . . . . . . . . . . . . . Valid

Acoustic Management Configuration
---------------------------------
Acoustic Management . . . . . . . . . . . . . . . Not supported
Acoustic Management . . . . . . . . . . . . . . . Disabled
Current Acoustic Level. . . . . . . . . . . . . . Default (00h)
Recommended Acoustic Level. . . . . . . . . . . . Balanced performance and volume (D0h)

EIDE Properties
---------------
Read Ahead Buffer . . . . . . . . . . . . . . . . Not supported
DMA . . . . . . . . . . . . . . . . . . . . . . . Supported
Ultra DMA . . . . . . . . . . . . . . . . . . . . Supported
S.M.A.R.T.. . . . . . . . . . . . . . . . . . . . Supported
Power Management. . . . . . . . . . . . . . . . . Supported
Write Cache . . . . . . . . . . . . . . . . . . . Supported
Host Protected Area . . . . . . . . . . . . . . . Supported
Advanced Power Management . . . . . . . . . . . . Not supported
Power Up In Standby . . . . . . . . . . . . . . . Not supported
48-bit LBA Addressing . . . . . . . . . . . . . . Supported
Device Configuration Overlay. . . . . . . . . . . Supported
IORDY Support . . . . . . . . . . . . . . . . . . Supported
Read/Write DMA Queue. . . . . . . . . . . . . . . Not supported
NOP Command . . . . . . . . . . . . . . . . . . . Not supported
Trusted Computing . . . . . . . . . . . . . . . . Not supported
64-bit World Wide ID. . . . . . . . . . . . . . . Not supported
Streaming . . . . . . . . . . . . . . . . . . . . Not supported
Media Card Pass Through . . . . . . . . . . . . . Not supported
General Purpose Logging . . . . . . . . . . . . . Supported
Error Logging . . . . . . . . . . . . . . . . . . Supported
CFA Feature Set . . . . . . . . . . . . . . . . . Not supported
Long Physical Sectors (1) . . . . . . . . . . . . Not supported
Long Logical Sectors. . . . . . . . . . . . . . . Not supported
Write-Read-Verify . . . . . . . . . . . . . . . . Not supported
NV Cache Feature. . . . . . . . . . . . . . . . . Not supported
NV Cache Power Mode . . . . . . . . . . . . . . . Not supported

S.M.A.R.T. Details
------------------
Off-line Data Collection Status . . . . . . . . . Successfully Completed
Self Test Execution Status. . . . . . . . . . . . Successfully Completed
Total Time To Complete Off-line Data Collection . 430 seconds
Execute Off-line Immediate. . . . . . . . . . . . Supported
Abort/restart Off-line By Host. . . . . . . . . . Not supported
Off-line Read Scanning. . . . . . . . . . . . . . Supported
Short Self-test . . . . . . . . . . . . . . . . . Supported
Extended Self-test. . . . . . . . . . . . . . . . Supported
Conveyance Self-test. . . . . . . . . . . . . . . Not supported
Selective Self-Test . . . . . . . . . . . . . . . Supported
Save Data Before/After Power Saving Mode. . . . . Supported
Enable/Disable Attribute Autosave . . . . . . . . Supported
Error Logging Capability. . . . . . . . . . . . . Supported
Short Self-test Estimated Time. . . . . . . . . . 1 minutes
Extended Self-test Estimated Time . . . . . . . . 27 minutes

Security Mode
-------------
Security Mode . . . . . . . . . . . . . . . . . . Supported
Security Erase. . . . . . . . . . . . . . . . . . Not supported
Security Erase Time . . . . . . . . . . . . . . . Not supported
Security Enhanced Erase Feature . . . . . . . . . Not supported
Security Enhanced Erase Time. . . . . . . . . . . Not supported
Security Enabled. . . . . . . . . . . . . . . . . No
Security Locked . . . . . . . . . . . . . . . . . No
Security Frozen . . . . . . . . . . . . . . . . . Yes
Security Counter Expired. . . . . . . . . . . . . No
Security Level. . . . . . . . . . . . . . . . . . High

Serial ATA Features
-------------------
S-ATA Compliance. . . . . . . . . . . . . . . . . No
S-ATA I Signaling Speed (1.5 Gps) . . . . . . . . Not supported
S-ATA II Signaling Speed (3 Gps). . . . . . . . . Not supported
Receipt Of Power Management Requests From Host. . Not supported
PHY Event Counters. . . . . . . . . . . . . . . . Not supported
Non-Zero Buffer Offsets In DMA Setup FIS. . . . . Not supported
DMA Setup Auto-Activate Optimization. . . . . . . Not supported
Device Initiating Interface Power Management. . . Not supported
In-Order Data Delivery. . . . . . . . . . . . . . Not supported
Asynchronous Notification . . . . . . . . . . . . Not supported
Software Settings Preservation. . . . . . . . . . Not supported
Native Command Queuing (NCQ). . . . . . . . . . . Not supported
Queue Length. . . . . . . . . . . . . . . . . . . Not supported

S.M.A.R.T.
----------
No. Attribute Thre.. Value Worst Data Status Flags
1 Raw Read Error Rate 6 114 97 000004F748FD OK Error-Rate, Performance, Statistical, Critical
3 Spin Up Time 0 94 94 000000000000 OK (Always passing) Statistical, Critical
4 Start/Stop Count 20 100 100 000000000030 OK Self Preserving, Event Count, Statistical
5 Reallocated Sectors Co.. 36 100 100 000000000000 OK Self Preserving, Event Count, Statistical, Critical
7 Seek Error Rate 30 85 60 000015D9075F OK Error-Rate, Performance, Statistical, Critical
9 Power-On Time Count 0 95 95 000000001468 OK (Always passing) Self Preserving, Event Count, Statistical
10 Spin Retry Count 97 100 100 000000000000 OK Event Count, Statistical, Critical
12 Drive Power Cycle Count 20 100 100 000000000031 OK Self Preserving, Event Count, Statistical
187 Vendor-specific 0 100 100 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical
189 Vendor-specific 0 100 100 000000000000 OK (Always passing) Self Preserving, Event Count, Error-Rate, Statistical
190 Airflow Temperature 45 67 52 000024150021 OK Self Preserving, Statistical
194 HDD Temperature 0 33 48 001400000021 OK (Always passing) Self Preserving, Statistical
195 Hardware ECC Recovered 0 49 45 00000DAFB13C OK (Always passing) Event Count, Error-Rate, Statistical
197 Current Pending Sector.. 0 100 100 000000000000 OK (Always passing) Event Count, Statistical
198 Off-Line Uncorrectable.. 0 100 100 000000000000 OK (Always passing) Event Count
199 Ultra ATA CRC Error Co.. 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Error-Rate, Performanc..
200 Write Error Rate 0 100 253 000000000000 OK (Always passing)
202 Data Address Mark Errors 0 100 253 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical



-- Physical Disk Information - Disk: #1: ST3802110A --

Hard Disk Summary
-----------------
Hard Disk Number. . . . . . . . . . . . . . . . . 1
Hard Disk Device. . . . . . . . . . . . . . . . . /dev/hdb
Interface . . . . . . . . . . . . . . . . . . . . IDE/ATA
Hard Disk Model ID. . . . . . . . . . . . . . . . ST3802110A
Hard Disk Revision. . . . . . . . . . . . . . . . 3.AAH
Hard Disk Serial Number . . . . . . . . . . . . . 5LR4JH26
Hard Disk Total Size. . . . . . . . . . . . . . . 76319 MB
Current Temperature . . . . . . . . . . . . . . . 33 °C (91 °F)
Power On Time . . . . . . . . . . . . . . . . . . 216 days, 18 hours
Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days
Health. . . . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)
Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)

The hard disk status is PERFECT. Problematic or weak sectors not found and there are no spin up or data transfer errors.
No actions needed.

ATA Information
---------------
Hard Disk Cylinders . . . . . . . . . . . . . . . 155061
Hard Disk Heads . . . . . . . . . . . . . . . . . 16
Hard Disk Sectors . . . . . . . . . . . . . . . . 63
Total Sectors . . . . . . . . . . . . . . . . . . 156301488
ATA Revision. . . . . . . . . . . . . . . . . . . 7
Bytes Per Sector. . . . . . . . . . . . . . . . . 512
Buffer Size . . . . . . . . . . . . . . . . . . . 2048 KB
Multiple Sectors. . . . . . . . . . . . . . . . . 16
Error Correction Bytes. . . . . . . . . . . . . . 4
Unformatted Capacity. . . . . . . . . . . . . . . 76319 MB
Maximum PIO Mode. . . . . . . . . . . . . . . . . 4
Maximum Multiword DMA Mode. . . . . . . . . . . . 2
Maximum UDMA Mode . . . . . . . . . . . . . . . . 100 MB/s (5)
Active UDMA Mode. . . . . . . . . . . . . . . . . 100 MB/s (5)
Minimum Multiword DMA Transfer Time . . . . . . . 120 ns
Recommended Multiword DMA Transfer Time . . . . . 120 ns
Minimum PIO Transfer Time Without IORDY . . . . . 240 ns
Minimum PIO Transfer Time With IORDY. . . . . . . 120 ns
ATA Control Byte. . . . . . . . . . . . . . . . . Valid
ATA Checksum Value. . . . . . . . . . . . . . . . Valid

Acoustic Management Configuration
---------------------------------
Acoustic Management . . . . . . . . . . . . . . . Not supported
Acoustic Management . . . . . . . . . . . . . . . Disabled
Current Acoustic Level. . . . . . . . . . . . . . Default (00h)
Recommended Acoustic Level. . . . . . . . . . . . Balanced performance and volume (D0h)

EIDE Properties
---------------
Read Ahead Buffer . . . . . . . . . . . . . . . . Not supported
DMA . . . . . . . . . . . . . . . . . . . . . . . Supported
Ultra DMA . . . . . . . . . . . . . . . . . . . . Supported
S.M.A.R.T.. . . . . . . . . . . . . . . . . . . . Supported
Power Management. . . . . . . . . . . . . . . . . Supported
Write Cache . . . . . . . . . . . . . . . . . . . Supported
Host Protected Area . . . . . . . . . . . . . . . Supported
Advanced Power Management . . . . . . . . . . . . Not supported
Power Up In Standby . . . . . . . . . . . . . . . Not supported
48-bit LBA Addressing . . . . . . . . . . . . . . Supported
Device Configuration Overlay. . . . . . . . . . . Supported
IORDY Support . . . . . . . . . . . . . . . . . . Supported
Read/Write DMA Queue. . . . . . . . . . . . . . . Not supported
NOP Command . . . . . . . . . . . . . . . . . . . Not supported
Trusted Computing . . . . . . . . . . . . . . . . Not supported
64-bit World Wide ID. . . . . . . . . . . . . . . Not supported
Streaming . . . . . . . . . . . . . . . . . . . . Not supported
Media Card Pass Through . . . . . . . . . . . . . Not supported
General Purpose Logging . . . . . . . . . . . . . Supported
Error Logging . . . . . . . . . . . . . . . . . . Supported
CFA Feature Set . . . . . . . . . . . . . . . . . Not supported
Long Physical Sectors (1) . . . . . . . . . . . . Not supported
Long Logical Sectors. . . . . . . . . . . . . . . Not supported
Write-Read-Verify . . . . . . . . . . . . . . . . Not supported
NV Cache Feature. . . . . . . . . . . . . . . . . Not supported
NV Cache Power Mode . . . . . . . . . . . . . . . Not supported

S.M.A.R.T. Details
------------------
Off-line Data Collection Status . . . . . . . . . Successfully Completed
Self Test Execution Status. . . . . . . . . . . . Successfully Completed
Total Time To Complete Off-line Data Collection . 430 seconds
Execute Off-line Immediate. . . . . . . . . . . . Supported
Abort/restart Off-line By Host. . . . . . . . . . Not supported
Off-line Read Scanning. . . . . . . . . . . . . . Supported
Short Self-test . . . . . . . . . . . . . . . . . Supported
Extended Self-test. . . . . . . . . . . . . . . . Supported
Conveyance Self-test. . . . . . . . . . . . . . . Not supported
Selective Self-Test . . . . . . . . . . . . . . . Supported
Save Data Before/After Power Saving Mode. . . . . Supported
Enable/Disable Attribute Autosave . . . . . . . . Supported
Error Logging Capability. . . . . . . . . . . . . Supported
Short Self-test Estimated Time. . . . . . . . . . 1 minutes
Extended Self-test Estimated Time . . . . . . . . 27 minutes

Security Mode
-------------
Security Mode . . . . . . . . . . . . . . . . . . Supported
Security Erase. . . . . . . . . . . . . . . . . . Not supported
Security Erase Time . . . . . . . . . . . . . . . Not supported
Security Enhanced Erase Feature . . . . . . . . . Not supported
Security Enhanced Erase Time. . . . . . . . . . . Not supported
Security Enabled. . . . . . . . . . . . . . . . . No
Security Locked . . . . . . . . . . . . . . . . . No
Security Frozen . . . . . . . . . . . . . . . . . No
Security Counter Expired. . . . . . . . . . . . . No
Security Level. . . . . . . . . . . . . . . . . . High

Serial ATA Features
-------------------
S-ATA Compliance. . . . . . . . . . . . . . . . . No
S-ATA I Signaling Speed (1.5 Gps) . . . . . . . . Not supported
S-ATA II Signaling Speed (3 Gps). . . . . . . . . Not supported
Receipt Of Power Management Requests From Host. . Not supported
PHY Event Counters. . . . . . . . . . . . . . . . Not supported
Non-Zero Buffer Offsets In DMA Setup FIS. . . . . Not supported
DMA Setup Auto-Activate Optimization. . . . . . . Not supported
Device Initiating Interface Power Management. . . Not supported
In-Order Data Delivery. . . . . . . . . . . . . . Not supported
Asynchronous Notification . . . . . . . . . . . . Not supported
Software Settings Preservation. . . . . . . . . . Not supported
Native Command Queuing (NCQ). . . . . . . . . . . Not supported
Queue Length. . . . . . . . . . . . . . . . . . . Not supported

S.M.A.R.T.
----------
No. Attribute Thre.. Value Worst Data Status Flags
1 Raw Read Error Rate 6 120 100 00000E0A1948 OK Error-Rate, Performance, Statistical, Critical
3 Spin Up Time 0 94 94 000000000000 OK (Always passing) Statistical, Critical
4 Start/Stop Count 20 100 100 000000000023 OK Self Preserving, Event Count, Statistical
5 Reallocated Sectors Co.. 36 100 100 000000000000 OK Self Preserving, Event Count, Statistical, Critical
7 Seek Error Rate 30 85 60 000015D3C524 OK Error-Rate, Performance, Statistical, Critical
9 Power-On Time Count 0 95 95 000000001452 OK (Always passing) Self Preserving, Event Count, Statistical
10 Spin Retry Count 97 100 100 000000000000 OK Event Count, Statistical, Critical
12 Drive Power Cycle Count 20 100 100 00000000002B OK Self Preserving, Event Count, Statistical
187 Vendor-specific 0 100 100 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical
189 Vendor-specific 0 98 98 000000000002 OK (Always passing) Self Preserving, Event Count, Error-Rate, Statistical
190 Airflow Temperature 45 67 55 000024140021 OK Self Preserving, Statistical
194 HDD Temperature 0 33 45 001300000021 OK (Always passing) Self Preserving, Statistical
195 Hardware ECC Recovered 0 46 42 00000CE8E26F OK (Always passing) Event Count, Error-Rate, Statistical
197 Current Pending Sector.. 0 100 100 000000000000 OK (Always passing) Event Count, Statistical
198 Off-Line Uncorrectable.. 0 100 100 000000000000 OK (Always passing) Event Count
199 Ultra ATA CRC Error Co.. 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Error-Rate, Performanc..
200 Write Error Rate 0 100 253 000000000000 OK (Always passing)
202 Data Address Mark Errors 0 100 253 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical



-- Physical Disk Information - Disk: #3: WDC WD10EACS-00ZJB0 --

Hard Disk Summary
-----------------
Hard Disk Number. . . . . . . . . . . . . . . . . 3
Hard Disk Device. . . . . . . . . . . . . . . . . /dev/sda
Interface . . . . . . . . . . . . . . . . . . . . Oxford/SAT USB/ATA
Hard Disk Model ID. . . . . . . . . . . . . . . . WDC WD10EACS-00ZJB0
Hard Disk Revision. . . . . . . . . . . . . . . . 01.01B01
Hard Disk Serial Number . . . . . . . . . . . . . WD-WCASJ0741714
Hard Disk Total Size. . . . . . . . . . . . . . . 953870 MB
Current Temperature . . . . . . . . . . . . . . . 34 °C (93 °F)
Power On Time . . . . . . . . . . . . . . . . . . 103 days, 10 hours
Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days
Health. . . . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)
Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)

The hard disk status is PERFECT. Problematic or weak sectors not found and there are no spin up or data transfer errors.
No actions needed.

ATA Information
---------------
Hard Disk Cylinders . . . . . . . . . . . . . . . 1938021
Hard Disk Heads . . . . . . . . . . . . . . . . . 16
Hard Disk Sectors . . . . . . . . . . . . . . . . 63
Total Sectors . . . . . . . . . . . . . . . . . . 1953525168
ATA Revision. . . . . . . . . . . . . . . . . . . 7
Bytes Per Sector. . . . . . . . . . . . . . . . . 512
Buffer Size . . . . . . . . . . . . . . . . . . . 16384 KB
Multiple Sectors. . . . . . . . . . . . . . . . . 16
Error Correction Bytes. . . . . . . . . . . . . . 50
Unformatted Capacity. . . . . . . . . . . . . . . 953870 MB
Maximum PIO Mode. . . . . . . . . . . . . . . . . 1
Active PIO Mode . . . . . . . . . . . . . . . . . 0
Maximum Multiword DMA Mode. . . . . . . . . . . . 2
Maximum UDMA Mode . . . . . . . . . . . . . . . . 150 MB/s (6)
Active UDMA Mode. . . . . . . . . . . . . . . . . 150 MB/s (0)
Minimum Multiword DMA Transfer Time . . . . . . . 120 ns
Recommended Multiword DMA Transfer Time . . . . . 120 ns
Minimum PIO Transfer Time Without IORDY . . . . . 120 ns
Minimum PIO Transfer Time With IORDY. . . . . . . 120 ns
ATA Control Byte. . . . . . . . . . . . . . . . . Valid
ATA Checksum Value. . . . . . . . . . . . . . . . Valid

Acoustic Management Configuration
---------------------------------
Acoustic Management . . . . . . . . . . . . . . . Supported
Acoustic Management . . . . . . . . . . . . . . . Enabled
Current Acoustic Level. . . . . . . . . . . . . . Max performance and volume (FEh)
Recommended Acoustic Level. . . . . . . . . . . . Min performance and volume (80h)

EIDE Properties
---------------
Read Ahead Buffer . . . . . . . . . . . . . . . . Not supported
DMA . . . . . . . . . . . . . . . . . . . . . . . Supported
Ultra DMA . . . . . . . . . . . . . . . . . . . . Supported
S.M.A.R.T.. . . . . . . . . . . . . . . . . . . . Supported
Power Management. . . . . . . . . . . . . . . . . Supported
Write Cache . . . . . . . . . . . . . . . . . . . Supported
Host Protected Area . . . . . . . . . . . . . . . Supported
Advanced Power Management . . . . . . . . . . . . Not supported
Power Up In Standby . . . . . . . . . . . . . . . Supported
48-bit LBA Addressing . . . . . . . . . . . . . . Supported
Device Configuration Overlay. . . . . . . . . . . Supported
IORDY Support . . . . . . . . . . . . . . . . . . Supported
Read/Write DMA Queue. . . . . . . . . . . . . . . Not supported
NOP Command . . . . . . . . . . . . . . . . . . . Supported
Trusted Computing . . . . . . . . . . . . . . . . Not supported
64-bit World Wide ID. . . . . . . . . . . . . . . 0150E24E2B567B41
Streaming . . . . . . . . . . . . . . . . . . . . Not supported
Media Card Pass Through . . . . . . . . . . . . . Not supported
General Purpose Logging . . . . . . . . . . . . . Supported
Error Logging . . . . . . . . . . . . . . . . . . Supported
CFA Feature Set . . . . . . . . . . . . . . . . . Not supported
Long Physical Sectors (1) . . . . . . . . . . . . Not supported
Long Logical Sectors. . . . . . . . . . . . . . . Not supported
Write-Read-Verify . . . . . . . . . . . . . . . . Not supported
NV Cache Feature. . . . . . . . . . . . . . . . . Not supported
NV Cache Power Mode . . . . . . . . . . . . . . . Not supported

S.M.A.R.T. Details
------------------
Off-line Data Collection Status . . . . . . . . . Suspended By Interrupting Command From Host
Self Test Execution Status. . . . . . . . . . . . Successfully Completed
Total Time To Complete Off-line Data Collection . 27180 seconds
Execute Off-line Immediate. . . . . . . . . . . . Supported
Abort/restart Off-line By Host. . . . . . . . . . Not supported
Off-line Read Scanning. . . . . . . . . . . . . . Supported
Short Self-test . . . . . . . . . . . . . . . . . Supported
Extended Self-test. . . . . . . . . . . . . . . . Supported
Conveyance Self-test. . . . . . . . . . . . . . . Supported
Selective Self-Test . . . . . . . . . . . . . . . Supported
Save Data Before/After Power Saving Mode. . . . . Supported
Enable/Disable Attribute Autosave . . . . . . . . Supported
Error Logging Capability. . . . . . . . . . . . . Supported
Short Self-test Estimated Time. . . . . . . . . . 2 minutes
Extended Self-test Estimated Time . . . . . . . . 311 minutes
Conveyance Self-test Estimated Time . . . . . . . 5 minutes

Security Mode
-------------
Security Mode . . . . . . . . . . . . . . . . . . Supported
Security Erase. . . . . . . . . . . . . . . . . . Supported
Security Erase Time . . . . . . . . . . . . . . . 138 minutes
Security Enhanced Erase Feature . . . . . . . . . Supported
Security Enhanced Erase Time. . . . . . . . . . . 138 minutes
Security Enabled. . . . . . . . . . . . . . . . . No
Security Locked . . . . . . . . . . . . . . . . . No
Security Frozen . . . . . . . . . . . . . . . . . No
Security Counter Expired. . . . . . . . . . . . . No
Security Level. . . . . . . . . . . . . . . . . . High

Serial ATA Features
-------------------
S-ATA Compliance. . . . . . . . . . . . . . . . . Yes
S-ATA I Signaling Speed (1.5 Gps) . . . . . . . . Not supported
S-ATA II Signaling Speed (3 Gps). . . . . . . . . Supported
Receipt Of Power Management Requests From Host. . Supported
PHY Event Counters. . . . . . . . . . . . . . . . Supported
Non-Zero Buffer Offsets In DMA Setup FIS. . . . . Not supported
DMA Setup Auto-Activate Optimization. . . . . . . Supported, Disabled
Device Initiating Interface Power Management. . . Not supported
In-Order Data Delivery. . . . . . . . . . . . . . Not supported
Asynchronous Notification . . . . . . . . . . . . Not supported
Software Settings Preservation. . . . . . . . . . Supported, Enabled
Native Command Queuing (NCQ). . . . . . . . . . . Supported
Queue Length. . . . . . . . . . . . . . . . . . . 32

S.M.A.R.T.
----------
No. Attribute Thre.. Value Worst Data Status Flags
1 Raw Read Error Rate 51 200 200 000000000000 OK Error-Rate, Performance, Statistical, Critical
3 Spin Up Time 21 180 178 000000001F40 OK Statistical, Critical
4 Start/Stop Count 0 100 100 00000000028A OK (Always passing) Self Preserving, Event Count, Statistical
5 Reallocated Sectors Co.. 140 200 200 000000000000 OK Self Preserving, Event Count, Statistical, Critical
7 Seek Error Rate 51 100 253 000000000000 OK Error-Rate, Performance, Statistical
9 Power-On Time Count 0 97 96 0000000009B2 OK (Always passing) Self Preserving, Event Count, Statistical
10 Spin Retry Count 51 100 100 000000000000 OK Event Count, Statistical
11 Drive Calibration Retr.. 51 100 253 000000000000 OK Event Count, Statistical
12 Drive Power Cycle Count 0 100 100 000000000010 OK (Always passing) Self Preserving, Event Count, Statistical
192 Power off Retract Cycle 0 200 200 000000000001 OK (Always passing) Self Preserving, Event Count, Statistical
193 Load/Unload Cycle Count 0 198 198 0000000017D0 OK (Always passing) Self Preserving, Event Count, Statistical
194 HDD Temperature 0 118 95 000000000022 OK (Always passing) Self Preserving, Statistical
196 Reallocation Event Count 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical
197 Current Pending Sector.. 0 200 200 000000000000 OK (Always passing) Event Count, Statistical
198 Off-Line Uncorrectable.. 0 100 253 000000000000 OK (Always passing) Event Count
199 Ultra ATA CRC Error Co.. 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Error-Rate, Performanc..
200 Write Error Rate 51 100 253 000000000000 OK Error-Rate



-- Physical Disk Information - Disk: #4: WDC WD10EACS-00ZJB0 --

Hard Disk Summary
-----------------
Hard Disk Number. . . . . . . . . . . . . . . . . 4
Hard Disk Device. . . . . . . . . . . . . . . . . /dev/sdb
Interface . . . . . . . . . . . . . . . . . . . . Oxford/SAT USB/ATA
Hard Disk Model ID. . . . . . . . . . . . . . . . WDC WD10EACS-00ZJB0
Hard Disk Revision. . . . . . . . . . . . . . . . 01.01B01
Hard Disk Serial Number . . . . . . . . . . . . . WD-WCASJ1319614
Hard Disk Total Size. . . . . . . . . . . . . . . 953870 MB
Current Temperature . . . . . . . . . . . . . . . 33 °C (91 °F)
Power On Time . . . . . . . . . . . . . . . . . . 90 days, 13 hours
Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days
Health. . . . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)
Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)

The hard disk status is PERFECT. Problematic or weak sectors not found and there are no spin up or data transfer errors.
No actions needed.

ATA Information
---------------
Hard Disk Cylinders . . . . . . . . . . . . . . . 1938021
Hard Disk Heads . . . . . . . . . . . . . . . . . 16
Hard Disk Sectors . . . . . . . . . . . . . . . . 63
Total Sectors . . . . . . . . . . . . . . . . . . 1953525168
ATA Revision. . . . . . . . . . . . . . . . . . . 7
Bytes Per Sector. . . . . . . . . . . . . . . . . 512
Buffer Size . . . . . . . . . . . . . . . . . . . 16384 KB
Multiple Sectors. . . . . . . . . . . . . . . . . 16
Error Correction Bytes. . . . . . . . . . . . . . 50
Unformatted Capacity. . . . . . . . . . . . . . . 953870 MB
Maximum PIO Mode. . . . . . . . . . . . . . . . . 1
Active PIO Mode . . . . . . . . . . . . . . . . . 0
Maximum Multiword DMA Mode. . . . . . . . . . . . 2
Maximum UDMA Mode . . . . . . . . . . . . . . . . 150 MB/s (6)
Active UDMA Mode. . . . . . . . . . . . . . . . . 150 MB/s (0)
Minimum Multiword DMA Transfer Time . . . . . . . 120 ns
Recommended Multiword DMA Transfer Time . . . . . 120 ns
Minimum PIO Transfer Time Without IORDY . . . . . 120 ns
Minimum PIO Transfer Time With IORDY. . . . . . . 120 ns
ATA Control Byte. . . . . . . . . . . . . . . . . Valid
ATA Checksum Value. . . . . . . . . . . . . . . . Valid

Acoustic Management Configuration
---------------------------------
Acoustic Management . . . . . . . . . . . . . . . Supported
Acoustic Management . . . . . . . . . . . . . . . Enabled
Current Acoustic Level. . . . . . . . . . . . . . Max performance and volume (FEh)
Recommended Acoustic Level. . . . . . . . . . . . Min performance and volume (80h)

EIDE Properties
---------------
Read Ahead Buffer . . . . . . . . . . . . . . . . Not supported
DMA . . . . . . . . . . . . . . . . . . . . . . . Supported
Ultra DMA . . . . . . . . . . . . . . . . . . . . Supported
S.M.A.R.T.. . . . . . . . . . . . . . . . . . . . Supported
Power Management. . . . . . . . . . . . . . . . . Supported
Write Cache . . . . . . . . . . . . . . . . . . . Supported
Host Protected Area . . . . . . . . . . . . . . . Supported
Advanced Power Management . . . . . . . . . . . . Not supported
Power Up In Standby . . . . . . . . . . . . . . . Supported
48-bit LBA Addressing . . . . . . . . . . . . . . Supported
Device Configuration Overlay. . . . . . . . . . . Supported
IORDY Support . . . . . . . . . . . . . . . . . . Supported
Read/Write DMA Queue. . . . . . . . . . . . . . . Not supported
NOP Command . . . . . . . . . . . . . . . . . . . Supported
Trusted Computing . . . . . . . . . . . . . . . . Not supported
64-bit World Wide ID. . . . . . . . . . . . . . . 0150E24EEBAB9465
Streaming . . . . . . . . . . . . . . . . . . . . Not supported
Media Card Pass Through . . . . . . . . . . . . . Not supported
General Purpose Logging . . . . . . . . . . . . . Supported
Error Logging . . . . . . . . . . . . . . . . . . Supported
CFA Feature Set . . . . . . . . . . . . . . . . . Not supported
Long Physical Sectors (1) . . . . . . . . . . . . Not supported
Long Logical Sectors. . . . . . . . . . . . . . . Not supported
Write-Read-Verify . . . . . . . . . . . . . . . . Not supported
NV Cache Feature. . . . . . . . . . . . . . . . . Not supported
NV Cache Power Mode . . . . . . . . . . . . . . . Not supported

S.M.A.R.T. Details
------------------
Off-line Data Collection Status . . . . . . . . . Suspended By Interrupting Command From Host
Self Test Execution Status. . . . . . . . . . . . Successfully Completed
Total Time To Complete Off-line Data Collection . 27180 seconds
Execute Off-line Immediate. . . . . . . . . . . . Supported
Abort/restart Off-line By Host. . . . . . . . . . Not supported
Off-line Read Scanning. . . . . . . . . . . . . . Supported
Short Self-test . . . . . . . . . . . . . . . . . Supported
Extended Self-test. . . . . . . . . . . . . . . . Supported
Conveyance Self-test. . . . . . . . . . . . . . . Supported
Selective Self-Test . . . . . . . . . . . . . . . Supported
Save Data Before/After Power Saving Mode. . . . . Supported
Enable/Disable Attribute Autosave . . . . . . . . Supported
Error Logging Capability. . . . . . . . . . . . . Supported
Short Self-test Estimated Time. . . . . . . . . . 2 minutes
Extended Self-test Estimated Time . . . . . . . . 311 minutes
Conveyance Self-test Estimated Time . . . . . . . 5 minutes

Security Mode
-------------
Security Mode . . . . . . . . . . . . . . . . . . Supported
Security Erase. . . . . . . . . . . . . . . . . . Supported
Security Erase Time . . . . . . . . . . . . . . . 138 minutes
Security Enhanced Erase Feature . . . . . . . . . Supported
Security Enhanced Erase Time. . . . . . . . . . . 138 minutes
Security Enabled. . . . . . . . . . . . . . . . . No
Security Locked . . . . . . . . . . . . . . . . . No
Security Frozen . . . . . . . . . . . . . . . . . No
Security Counter Expired. . . . . . . . . . . . . No
Security Level. . . . . . . . . . . . . . . . . . High

Serial ATA Features
-------------------
S-ATA Compliance. . . . . . . . . . . . . . . . . Yes
S-ATA I Signaling Speed (1.5 Gps) . . . . . . . . Not supported
S-ATA II Signaling Speed (3 Gps). . . . . . . . . Supported
Receipt Of Power Management Requests From Host. . Supported
PHY Event Counters. . . . . . . . . . . . . . . . Supported
Non-Zero Buffer Offsets In DMA Setup FIS. . . . . Not supported
DMA Setup Auto-Activate Optimization. . . . . . . Supported, Disabled
Device Initiating Interface Power Management. . . Not supported
In-Order Data Delivery. . . . . . . . . . . . . . Not supported
Asynchronous Notification . . . . . . . . . . . . Not supported
Software Settings Preservation. . . . . . . . . . Supported, Enabled
Native Command Queuing (NCQ). . . . . . . . . . . Supported
Queue Length. . . . . . . . . . . . . . . . . . . 32

S.M.A.R.T.
----------
No. Attribute Thre.. Value Worst Data Status Flags
1 Raw Read Error Rate 51 200 200 000000000000 OK Error-Rate, Performance, Statistical, Critical
3 Spin Up Time 21 187 180 000000001DB8 OK Statistical, Critical
4 Start/Stop Count 0 100 100 0000000000CF OK (Always passing) Self Preserving, Event Count, Statistical
5 Reallocated Sectors Co.. 140 200 200 000000000000 OK Self Preserving, Event Count, Statistical, Critical
7 Seek Error Rate 51 100 253 000000000000 OK Error-Rate, Performance, Statistical
9 Power-On Time Count 0 98 97 00000000087D OK (Always passing) Self Preserving, Event Count, Statistical
10 Spin Retry Count 51 100 100 000000000000 OK Event Count, Statistical
11 Drive Calibration Retr.. 51 100 253 000000000000 OK Event Count, Statistical
12 Drive Power Cycle Count 0 100 100 000000000008 OK (Always passing) Self Preserving, Event Count, Statistical
192 Power off Retract Cycle 0 200 200 000000000001 OK (Always passing) Self Preserving, Event Count, Statistical
193 Load/Unload Cycle Count 0 200 200 000000000469 OK (Always passing) Self Preserving, Event Count, Statistical
194 HDD Temperature 0 119 106 000000000021 OK (Always passing) Self Preserving, Statistical
196 Reallocation Event Count 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Statistical
197 Current Pending Sector.. 0 200 200 000000000000 OK (Always passing) Event Count, Statistical
198 Off-Line Uncorrectable.. 0 100 253 000000000000 OK (Always passing) Event Count
199 Ultra ATA CRC Error Co.. 0 200 200 000000000000 OK (Always passing) Self Preserving, Event Count, Error-Rate, Performanc..
200 Write Error Rate 51 100 253 000000000000 OK Error-Rate
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Prevent hard disk spin up when retrieving SMART data

Post by hdsentinel »

Thanks for the information and the report! (maybe the report would be better to send by mail only).
The failed opcode (0xec) is the code of ATA IDENTIFY DEVICE, the command issued for all drives to detect their basic information. As you can see, the software could detect the info (model ID, serial number, ATA features, etc.) properly - so the command completed without problems. So it is really weird why these entries are saved to the kernel log.
Thanks for your attention, I'll check with both the same OS and other distros and locate the problem.
aelorenzo wrote:I have Debian OS with kernel 2.6.24-1-amd64.

Also, I have noticed that each time I execute hdsentinel I get these annoying messages in the kernel log:

Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 10 19:58:01 luna kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Dec 10 19:58:01 luna kernel: ide: failed opcode was: 0xec

I have to remark that I have a software mirror RAID (mdadmin managed).
aelorenzo
Posts: 3
Joined: 2008.12.10. 17:51

Re: Prevent hard disk spin up when retrieving SMART data

Post by aelorenzo »

I tried to attach the report, but I recieved several times this messages: "File extension .txt not allowed" "File extension .tex not allowed_", and so on.

That's the reason why I pasted intp to the message body.

Regards,

Antonio
firionicable
Posts: 20
Joined: 2012.10.09. 04:03

Re: Prevent hard disk spin up when retrieving SMART data

Post by firionicable »

Were you able to fix this issue? What did you do exactly?
User avatar
hdsentinel
Site Admin
Posts: 3115
Joined: 2008.07.27. 17:00
Location: Hungary
Contact:

Re: Prevent hard disk spin up when retrieving SMART data

Post by hdsentinel »

Excuse me, I can't really understand your questions....
Post Reply