关于smartmontools的一个问题!!

重复贴和参考价值不大的帖子,版主维护
回复
dexctor
帖子: 5
注册时间: 2008-11-29 17:42
送出感谢: 0
接收感谢: 0

关于smartmontools的一个问题!!

#1

帖子 dexctor » 2008-11-29 17:47

ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 33815
3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 51252
5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 182869
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 925
191 G-Sense_Error_Rate 0x0012 100 100 000 Old_age Always - 502
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 35
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 39 (Lifetime Min/Max 4/53)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 164656
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 40208849174531
198 Offline_Uncorrectable 0x0032 100 100 000 Old_age Always - 17693107486724
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 29308473
200 Multi_Zone_Error_Rate 0x0032 100 100 000 Old_age Always - 62349533
为啥我运行 sudo smartctl -a /dev/sda 后在所产生的数据中没有193 Load_Cycle_Count 这一项。。。。
晕 请大牛帮忙阿 先谢了
头像
sfbi
帖子: 796
注册时间: 2007-09-06 11:41
来自: Bergen
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#2

帖子 sfbi » 2008-11-29 17:55

运行 sudo smartctl -a /dev/sda | grep Load_Cycle_Count 试试有没有输出。建议安装gsmartcontrol,图形前端,比较好看。
dexctor
帖子: 5
注册时间: 2008-11-29 17:42
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#3

帖子 dexctor » 2008-11-29 17:57

运行 sudo smartctl -a /dev/sda | grep Load_Cycle_Count 没有输出
头像
sfbi
帖子: 796
注册时间: 2007-09-06 11:41
来自: Bergen
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#4

帖子 sfbi » 2008-11-29 18:06

贴全部的信息。SMART开启了么?
dexctor
帖子: 5
注册时间: 2008-11-29 17:42
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#5

帖子 dexctor » 2008-11-29 18:09

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 ===
Device Model: FUJITSU MHY2120BH
Serial Number: K430T7926LDA
Firmware Version: 0085000B
User Capacity: 120,034,123,776 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 3f
Local Time is: Sat Nov 29 17:24:51 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: ( 487) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 69) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x003d) SCT Status 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 046 Pre-fail Always - 33815
3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 1
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 51252
5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000
9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 182869
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 925
191 G-Sense_Error_Rate 0x0012 100 100 000 Old_age Always - 502
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 35
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 39 (Lifetime Min/Max 4/53)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 164656
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 40208849174531
198 Offline_Uncorrectable 0x0032 100 100 000 Old_age Always - 17693107486724
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 29308473
200 Multi_Zone_Error_Rate 0x0032 100 100 000 Old_age Always - 62349533

SMART Error Log Version: 1
ATA Error Count: 2
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 2 occurred at disk power-on lifetime: 1549 hours (64 days + 13 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
-- -- -- -- -- -- --
84 51 08 28 1a 50 e2 Error: ICRC, ABRT at LBA = 0x02501a28 = 38804008

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 08 28 1a 50 e2 08 00:06:16.816 WRITE DMA
ca 00 08 20 1a 50 e2 08 00:06:16.816 WRITE DMA
ca 00 08 18 1a 50 e2 08 00:06:16.816 WRITE DMA
ca 00 08 10 1a 50 e2 08 00:06:16.815 WRITE DMA
ca 00 08 08 1a 50 e2 08 00:06:16.815 WRITE DMA

Error 1 occurred at disk power-on lifetime: 1380 hours (57 days + 12 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
-- -- -- -- -- -- --
84 51 08 80 b5 5f e2 Error: ICRC, ABRT at LBA = 0x025fb580 = 39826816

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 08 80 b5 5f e2 08 02:15:08.072 WRITE DMA
ca 00 08 78 b5 5f e2 08 02:15:08.071 WRITE DMA
ca 00 08 70 b5 5f e2 08 02:15:08.071 WRITE DMA
ca 00 08 68 b5 5f e2 08 02:15:08.071 WRITE DMA
ca 00 08 60 b5 5f e2 08 02:15:08.070 WRITE DMA

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% 2 -
# 2 Extended offline Completed without error 00% 1 -
# 3 Short offline Completed without error 00% 0 -

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.
dexctor
帖子: 5
注册时间: 2008-11-29 17:42
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#6

帖子 dexctor » 2008-11-29 18:13

输入sudo smartctl -s on /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 ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

应该开了把
头像
sfbi
帖子: 796
注册时间: 2007-09-06 11:41
来自: Bergen
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#7

帖子 sfbi » 2008-11-29 18:25

嗯,smart是打开的。

感觉不同的硬盘支持指标的不一样,不是很明白为什么没有。
头像
sfbi
帖子: 796
注册时间: 2007-09-06 11:41
来自: Bergen
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#8

帖子 sfbi » 2008-11-29 18:33

如果是担心ub的那个值快速增长的问题,看 Start_Stop_Count 也就差不多了。

另外,很多硬盘的数据显示是有问题的,一般出现很离谱的值,那有可能根本没问题。

话说你的 9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 182869 好像有点夸张啊 :em06
dexctor
帖子: 5
注册时间: 2008-11-29 17:42
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#9

帖子 dexctor » 2008-11-29 18:41

晕 Start_Stop_Count 每小时30正常吗?
头像
sfbi
帖子: 796
注册时间: 2007-09-06 11:41
来自: Bergen
送出感谢: 0
接收感谢: 0

Re: 关于smartmontools的一个问题!!

#10

帖子 sfbi » 2008-11-29 18:55

似乎算错了一位。每三个多小时开启或关闭一次,应该是比较正常的。只是这个时间。。。

182869/(24×365)=20.88 (年) :em20
回复

回到 “归档贴”