Ubuntu硬盘Load_Cycle结果,请帮忙看看!感谢!

笔记本/便携移动设备,手机平板等软硬件
回复
头像
andrewcc
帖子: 43
注册时间: 2008-10-14 22:12

Ubuntu硬盘Load_Cycle结果,请帮忙看看!感谢!

#1

帖子 andrewcc » 2008-12-14 0:23

#sudo smartctl -d ata -a /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 4K40
Device Model: HTS424040M9AT00
Serial Number: MPA25EQ4CTMAGD
Firmware Version: MA2OA71A
User Capacity: 40,007,761,920 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 3a
Local Time is: Sun Dec 14 00:14:43 2008 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: ( 645) 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: ( 37) minutes.

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 150 150 033 Pre-fail Always - 1
4 Start_Stop_Count 0x0012 098 098 000 Old_age Always - 3391
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 079 079 000 Old_age Always - 9293
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 2584
191 G-Sense_Error_Rate 0x000a 098 098 000 Old_age Always - 131074
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 199
193 Load_Cycle_Count 0x0012 078 078 000 Old_age Always - 224101
194 Temperature_Celsius 0x0002 157 157 000 Old_age Always - 35 (Lifetime Min/Max 0/56)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 3
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
ATA Error Count: 3
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 3 occurred at disk power-on lifetime: 3388 hours (141 days + 4 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 b8 20 6b e5 Error: IDNF at LBA = 0x056b20b8 = 90906808

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 00 01 b8 20 6b e5 00 02:21:04.700 READ MULTIPLE
c4 00 01 a4 72 72 ef 00 02:21:04.600 READ MULTIPLE
c4 00 01 3f 00 00 e0 00 02:21:04.600 READ MULTIPLE
c4 00 01 00 00 00 e0 00 02:21:04.600 READ MULTIPLE
c5 c0 01 60 00 00 e0 00 02:21:04.600 WRITE MULTIPLE

Error 2 occurred at disk power-on lifetime: 3388 hours (141 days + 4 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 a4 72 72 ef Error: IDNF at LBA = 0x0f7272a4 = 259158692

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 00 01 a4 72 72 ef 00 02:21:04.600 READ MULTIPLE
c4 00 01 3f 00 00 e0 00 02:21:04.600 READ MULTIPLE
c4 00 01 00 00 00 e0 00 02:21:04.600 READ MULTIPLE
c5 c0 01 60 00 00 e0 00 02:21:04.600 WRITE MULTIPLE
c5 c0 01 8f 75 00 e0 00 02:21:04.600 WRITE MULTIPLE

Error 1 occurred at disk power-on lifetime: 2738 hours (114 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 59 01 3f 00 49 ef Error: IDNF at LBA = 0x0f49003f = 256442431

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c4 00 01 3f 00 49 ef 00 01:23:25.800 READ MULTIPLE
c4 00 01 af 72 65 e3 00 01:23:25.800 READ MULTIPLE
c4 00 01 3f 00 00 e0 00 01:23:25.800 READ MULTIPLE
c4 00 01 00 00 00 e0 00 01:23:25.800 READ MULTIPLE
c5 c0 01 97 75 00 e0 00 01:23:25.800 WRITE MULTIPLE

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum.
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.


#sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0012 078 078 000 Old_age Always - 224101



#sudo hdparm -I /dev/sda |grep Advanced
Advanced power management level: 254
* Advanced Power Management feature set



/etc/default/acpi-support
ENABLE_LAPTOP_MODE=true
---------------------------------------------------------------------------------------------------------------------------
我测试的具体的Load_cycle结果如上,请各位高手帮我看看有没问题?该怎么解决?谢谢!!

补充说明:我的硬盘已用3年,其中使用Ubuntu为4个月,以前是winxp。
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: Ubuntu硬盘Load_Cycle结果,请帮忙看看!感谢!

#2

帖子 kofshower » 2008-12-14 0:56

3年22w很正常啊,你要控制这个的话就写在rc.local 里
hdparm -B 255 /dev/sda
然后在pm-util hook一个sleep时候去掉spin down的脚本就行了
if [ -n "$1" ] && ([ "$1" = "resume" ] || [ "$1" = "thaw" ]); then
hdparm -B 255 /dev/your-hard-drive > /dev/null
fi

代码: 全选

achilles@kofshower ~ $ sudo smartctl --all /dev/sda|grep -i load
193 Load_Cycle_Count        0x0012   096   096   000    Old_age   Always       -       48619
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0
achilles@kofshower ~ $ 
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
头像
andrewcc
帖子: 43
注册时间: 2008-10-14 22:12

Re: Ubuntu硬盘Load_Cycle结果,请帮忙看看!感谢!

#3

帖子 andrewcc » 2008-12-14 10:46

kofshower 写了:3年22w很正常啊,你要控制这个的话就写在rc.local 里
hdparm -B 255 /dev/sda
然后在pm-util hook一个sleep时候去掉spin down的脚本就行了
if [ -n "$1" ] && ([ "$1" = "resume" ] || [ "$1" = "thaw" ]); then
hdparm -B 255 /dev/your-hard-drive > /dev/null
fi

代码: 全选

achilles@kofshower ~ $ sudo smartctl --all /dev/sda|grep -i load
193 Load_Cycle_Count        0x0012   096   096   000    Old_age   Always       -       48619
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0
achilles@kofshower ~ $ 
--------------------------------------------

感谢KOFSHOWER的回复!我今天又#sudo smartctl -a /dev/sda | grep Load_Cycle_Count了以下,
昨晚是:224101,今天的结果是:
193 Load_Cycle_Count 0x0012 078 078 000 Old_age Always - 224104
正不正常呀?! :em03
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

Re: Ubuntu硬盘Load_Cycle结果,请帮忙看看!感谢!

#4

帖子 kofshower » 2008-12-14 13:36

代码: 全选

ON               21:52:54 2008-11-26
ON      48440    21:53:25 2008-11-26
ON      48442    21:56:05 2008-11-26
ON      48442    22:04:15 2008-11-26
ON      48446    22:06:39 2008-11-26
ON      48447    13:03:47 2008-11-27
ON      48448    22:01:24 2008-11-27
ON      48450    08:15:30 2008-11-28
ON      48451    09:11:53 2008-11-28
ON      48452    15:30:43 2008-11-28
ON      48454    07:40:32 2008-11-29
ON      48455    16:42:53 2008-11-29
ON      48456    19:34:21 2008-11-29
ON      48457    01:36:24 2008-11-30
ON      48460    07:06:46 2008-12-01
ON      48461    08:30:50 2008-12-01
ON      48462    09:03:13 2008-12-01
ON      48463    09:05:52 2008-12-01
ON      48464    13:15:06 2008-12-01
ON      48465    13:44:27 2008-12-01
ON      48466    13:45:50 2008-12-01
ON      48467    00:41:23 2008-12-02
ON      48468    04:26:32 2008-12-02
ON      48469    05:07:29 2008-12-02
ON      48470    16:25:19 2008-12-02
ON      48471    20:43:11 2008-12-02
ON      48472    07:14:57 2008-12-03
ON      48474    08:20:33 2008-12-03
ON      48493    07:34:46 2008-12-04
ON      48503    18:37:55 2008-12-04
ON      48504    21:32:24 2008-12-04
ON      48505    09:26:01 2008-12-05
ON      48506    09:30:51 2008-12-05
ON      48507    09:34:57 2008-12-05
ON      48509    12:42:25 2008-12-05
ON      48511    13:17:41 2008-12-05
ON      48598    19:26:31 2008-12-06
ON      48599    19:31:47 2008-12-06
ON      48600    19:40:01 2008-12-06
ON      48601    20:08:08 2008-12-06
ON      48602    02:21:45 2008-12-07
ON      48604    10:46:00 2008-12-07
ON      48605    07:46:46 2008-12-08
ON      48609    19:36:37 2008-12-08
ON      48610    08:38:45 2008-12-09
ON      48611    10:52:01 2008-12-09
ON      48612    11:01:29 2008-12-10
ON      48615    15:20:18 2008-12-10
ON      48616    07:14:29 2008-12-11
ON      48617    08:08:53 2008-12-12
ON      48618    08:20:21 2008-12-12
ON      48619    10:39:01 2008-12-12
ON      48620    08:10:02 2008-12-14
正常,我最近几天的
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
回复