|
|
发表于 2009-2-3 15:11:38
|
显示全部楼层
我是用笔记本的,安装 laptop-mode-tools 之后,可以在/etc/laptop-mode/laptop-mode.conf 里找到:
- #
- # Should laptop mode tools control the hard drive power management settings?
- #
- CONTROL_HD_POWERMGMT=[b]1[/b]
- #
- # Power management for HD (hdparm -B values)
- #
- BATT_HD_POWERMGMT=[b]128[/b]
- LM_AC_HD_POWERMGMT=254
- NOLM_AC_HD_POWERMGMT=254
复制代码
把这个选项打开就可以了。参数可以作一些修改(粗体的两项)。
这是我新买的硬盘,平均 23次/小时。
- Device Model: Hitachi HTS543232L9A300
- Firmware Version: FB4OC40C
- User Capacity: 320,072,933,376 bytes
- 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 062 Pre-fail Always - 0
- 2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
- 3 Spin_Up_Time 0x0007 253 253 033 Pre-fail Always - 0
- 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 195
- 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 040 Pre-fail Offline - 0
- 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 315
- 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
- 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 81
- 191 G-Sense_Error_Rate 0x000a 098 098 000 Old_age Always - 5
- 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 26
- 193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 7269
- 194 Temperature_Celsius 0x0002 122 122 000 Old_age Always - 45 (Lifetime Min/Max 17/50)
- 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
- 223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0
复制代码 |
|