You are not logged in.
Running
hdparm -y /dev/sda
or
hdparm -Y /dev/sda
triggers an emergency retract. This is heard as a click and seen in an incrementing SMART number 192.
This is a used desktop drive from family. It also clicks when suspending or shutting down, which is what led me to try the sleep commands above, which i thought was supposed to spin down gracefully, but it doesn't.
Thank you
> sudo smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.1-arch1-1] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Deskstar 7K1000.B
Device Model: Hitachi HDT721010SLA360
Serial Number: STF607MH34A6XK
LU WWN Device Id: 5 000cca 349ec3e5f
Firmware Version: ST6OA31B
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: In smartctl database 7.3/5528
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Thu Dec 12 17:31:27 2024 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (14090) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 235) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 054 Pre-fail Offline - 0
3 Spin_Up_Time 0x0007 143 143 024 Pre-fail Always - 402 (Average 398)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 2922
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 020 Pre-fail Offline - 0
9 Power_On_Hours 0x0012 097 097 000 Old_age Always - 27947
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2902
192 Power-Off_Retract_Count 0x0032 097 097 000 Old_age Always - 4168
193 Load_Cycle_Count 0x0012 097 097 000 Old_age Always - 4168
194 Temperature_Celsius 0x0002 171 171 000 Old_age Always - 35 (Min/Max 19/51)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
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% 27946 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
The above only provides legacy SMART information - try 'smartctl -x' for more
Last edited by iith4ahm (2024-12-18 04:42:07)
Offline
This is a used desktop drive from family.
Still internal SATA or via USB and an external case?
Is the drive still mounted anywhere when you set it to standby?
Offline
Still internal SATA or via USB and an external case?
internal 3.5in SATA hard drive
Is the drive still mounted anywhere when you set it to standby?
just tested both conditions and it clicks whether it is mounted or not
Offline
Is this a recent development?
Was it afforded overly optimistic DIPM support?
https://wiki.archlinux.org/title/Power_ … Management (try to set it to medium_power)
Offline
Is this a recent development?
I just got the hard drive. Based on the SMART numbers (given in first post), I'm guessing that it was happening in the previous windows desktop computer though. I probably only triggered the emergency retract around 20 times myself, and the SMART count is over 4000.
Was it afforded overly optimistic DIPM support?
https://wiki.archlinux.org/title/Power_ … Management (try to set it to medium_power)
I just tested at max_performance and it still clicked
Offline
Does it help to first https://man.archlinux.org/man/core/hdpa … dle-unload
Does the drive also record power-off retracts for regular standbys w/ the -S timeout?
Offline
Does it help to first https://man.archlinux.org/man/core/hdpa … dle-unload
no, it still emergency retracts
Does the drive also record power-off retracts for regular standbys w/ the -S timeout?
yes, it still emergency retracts
think it's something wrong with the drive? either in hardware or firmware?
Offline
think it's something wrong with the drive? either in hardware or firmware?
Is the root partition (or /var etc) on that drive?
Does it behave when running a live distro like https://grml.org (from usb)?
Offline
Is the root partition (or /var etc) on that drive?
nope, just some extra ext4 storage space
Does it behave when running a live distro like https://grml.org (from usb)?
i just tried running a debian 11 live install usb and it still clicks
Last edited by iith4ahm (2024-12-15 22:50:35)
Offline
i don't know if it's normal or not, but if i start with the disk already on standby (i think unmounted), and then shut down the computer, the disk will wake up first and then do an emergency stop
i'm thinking i should reach out to the manufacturer ... who was bought out by western digital ... so ...
seems like it's not an os issue though otherwise where did all of those other emergency stops in the SMART numbers come from so it was probably happening on windows.
right?
Offline
Since Power-Off_Retract_Count and Load_Cycle_Count are equal, it's the normal behavior for the drive. It has done this (or at least recorded a Power-Off_Retract_Count) every single time it idled.
The sound might not indicate much.
Seagate server disks have a very distinct chiinggg every time the head rests - what's initially scary AF.
But, anecdotally, they've also been the most reliable spinners (drives, actually) I've ever used. (toc-toc-toc, one is still in use, after more than 1Mio load cycles and almost 19 billion written LBAs. toc-toc-toc. TOCK! TOCK! TOCK!!!)
Offline
so it seems like it's a lemon
thanks for the help seth
Offline