Load/Unload Cycles
-
How can I reduce wear and tear on the hard drive by keeping it from spinning down so much. The drive is an old, but unused laptop drive I had lying around, and the start/stop count is incrementing extremely quickly, at this rate doomed to failure in just over 2 years assuming 600,000 cycle life. P.S. I know about the high reallocation event count, it seems to be a cosmetic issue with this model Samsung drive, there's lots of reports online about it. But not about high load/unload cycles.
smartctl 5.42 2011-10-20 r3458 [FreeBSD 8.3-RELEASE-p1 i386] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: SAMSUNG SpinPoint M5 Device Model: SAMSUNG HM160HI Serial Number: S14QJDRSB30151 LU WWN Device Id: 5 0f0000 03141a423 Firmware Version: HH100-15 User Capacity: 160,041,885,696 bytes [160 GB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0 Local Time is: Sun May 20 15:19:08 2012 MDT 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: ( 55) 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: ( 2) minutes. Extended self-test routine recommended polling time: ( 55) minutes. SCT capabilities: (0x003f) 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 0x000f 100 100 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 252 252 025 Pre-fail Always - 2000 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 14017 5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0 9 Power_On_Hours 0x0032 252 252 000 Old_age Always - 482 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 108 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 1019 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 75 194 Temperature_Celsius 0x0022 154 079 000 Old_age Always - 28 (Min/Max 8/53) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 28112 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 366 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 1142 199 UDMA_CRC_Error_Count 0x0036 252 252 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000a 252 252 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% 468 - # 2 Extended offline Completed without error 00% 191 - # 3 Short offline Completed without error 00% 128 - # 4 Extended offline Completed without error 00% 101 - # 5 Short offline Completed without error 00% 83 - # 6 Short offline Completed without error 00% 56 - # 7 Extended offline Completed without error 00% 35 - # 8 Short offline Completed without error 00% 34 - # 9 Short offline Completed without error 00% 1 - Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run SMART Selective self-test log data structure revision number 0 Note: revision number not 1 implies that no selective self-test has ever been run SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Completed [00% left] (0-65535) 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.
-
JimP posted a thread about this a while back:
http://forum.pfsense.org/index.php/topic,26626.0.htmlLonger ago than my memory. None of the links in that thread are applicable to 2.X but using ataidle should still work.
Steve
-
Thanks! I missed that somehow. I followed his advice, and hopefully that'll be the end of the excessive load cycle increasing. I mean, the system shouldn't be powering down the drive anyways (and I shouldn't be using a laptop drive… but oh well)
-
Interesting. I've been running a laptop drive in my pfsense box since sept with no problems so far. I haven't checked my load count, though.
-
I checked in a fix on 2.1 (and 2.0.2 which is coming) to run the APM command to stop that at every bootup, so in the future it will be less of a concern.
-
Good to hear jimp, but the APM command actually hasn't stopped my start/stop count from increasing very fast… not AS fast, but still far too quickly.