您尚未登录。

#1 2014-12-19 09:03:01

管毅
会员
注册时间: 2014-04-08
帖子: 326

早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

error {unc}
I/o error dev sda 1113680
只记下了这两项,后来重启了一下又没事了。
另外求一个检测硬盘健康的命令或软件。

最近编辑记录 管毅 (2014-12-19 09:03:35)

离线

#2 2014-12-19 09:17:55

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

smartctl 可以看看健康

也不一定是你硬盘快挂了,如果是主板快挂了呢

离线

#3 2014-12-19 09:39:25

管毅
会员
注册时间: 2014-04-08
帖子: 326

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

atmouse 说:

smartctl 可以看看健康

也不一定是你硬盘快挂了,如果是主板快挂了呢

呃,我没这命令,这是某个软件上的吧

离线

#4 2014-12-19 12:02:31

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,432
个人网站

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

>>> pacman -Qo smartctl
/usr/bin/smartctl 属于 smartmontools 6.3-1

离线

#5 2014-12-19 12:19:35

管毅
会员
注册时间: 2014-04-08
帖子: 326

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

直接装了smartmontools,看不懂,各位大神给瞅瞅,看还有救不。

smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.17.6-1-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    W241G8SJ
LU WWN Device Id: 5 000c50 05e5a996e
Firmware Version: CC26
User Capacity:    2,000,397,852,160 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Fri Dec 19 12:13:56 2014 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
See vendor-specific Attribute list for marginal Attributes.

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: 		(  617) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 266) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

SMART Attributes Data Structure revision number: 10
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   110   099   006    Pre-fail  Always       -       203806219
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1035
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   064   055   030    Pre-fail  Always       -       305139813253
  9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       9052
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1264
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   099   099   099    Old_age   Always   FAILING_NOW 1
187 Reported_Uncorrect      0x0032   049   049   000    Old_age   Always       -       51
188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       0 0 11
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   075   053   045    Old_age   Always       -       25 (Min/Max 9/25)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       140
193 Load_Cycle_Count        0x0032   082   082   000    Old_age   Always       -       37579
194 Temperature_Celsius     0x0022   025   047   000    Old_age   Always       -       25 (0 5 0 0 0)
197 Current_Pending_Sector  0x0012   098   098   000    Old_age   Always       -       480
198 Offline_Uncorrectable   0x0010   098   098   000    Old_age   Offline      -       480
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       8
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       9557h+27m+57.955s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       19456326368
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       29062687883

SMART Error Log Version: 1
ATA Error Count: 92 (device log contains only the most recent five errors)
	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 92 occurred at disk power-on lifetime: 9051 hours (377 days + 3 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
  -- -- -- -- -- -- --
  40 51 00 80 58 aa 00  Error: WP at LBA = 0x00aa5880 = 11163776

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 38 28 71 e2 41 00      03:41:46.508  WRITE FPDMA QUEUED
  60 00 f8 80 58 aa 40 00      03:41:46.508  READ FPDMA QUEUED
  60 00 08 78 59 aa 40 00      03:41:46.508  READ FPDMA QUEUED
  61 00 40 20 6b 4c 45 00      03:41:46.508  WRITE FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      03:41:46.508  SET FEATURES [Enable SATA feature]

Error 91 occurred at disk power-on lifetime: 9051 hours (377 days + 3 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
  -- -- -- -- -- -- --
  40 51 00 80 58 aa 00  Error: WP at LBA = 0x00aa5880 = 11163776

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 38 28 71 e2 41 00      03:41:46.508  WRITE FPDMA QUEUED
  60 00 f8 80 58 aa 40 00      03:41:46.508  READ FPDMA QUEUED
  60 00 08 78 59 aa 40 00      03:41:46.508  READ FPDMA QUEUED
  61 00 40 20 6b 4c 45 00      03:41:46.508  WRITE FPDMA QUEUED
  ef 10 02 00 00 00 a0 00      03:41:46.508  SET FEATURES [Enable SATA feature]

Error 90 occurred at disk power-on lifetime: 9051 hours (377 days + 3 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
  -- -- -- -- -- -- --
  40 51 00 20 58 aa 00  Error: WP at LBA = 0x00aa5820 = 11163680

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 38 28 71 e2 41 00      03:41:45.574  WRITE FPDMA QUEUED
  61 00 40 20 6b 4c 45 00      03:41:45.574  WRITE FPDMA QUEUED
  60 00 08 78 59 aa 40 00      03:41:43.450  READ FPDMA QUEUED
  60 00 f8 80 58 aa 40 00      03:41:43.450  READ FPDMA QUEUED
  60 00 08 20 0a 09 40 00      03:41:43.440  READ FPDMA QUEUED

Error 89 occurred at disk power-on lifetime: 9051 hours (377 days + 3 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
  -- -- -- -- -- -- --
  40 51 00 20 58 aa 00  Error: WP at LBA = 0x00aa5820 = 11163680

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 38 28 71 e2 41 00      03:41:45.574  WRITE FPDMA QUEUED
  61 00 40 20 6b 4c 45 00      03:41:45.574  WRITE FPDMA QUEUED
  60 00 08 78 59 aa 40 00      03:41:43.450  READ FPDMA QUEUED
  60 00 f8 80 58 aa 40 00      03:41:43.450  READ FPDMA QUEUED
  60 00 08 20 0a 09 40 00      03:41:43.440  READ FPDMA QUEUED

Error 88 occurred at disk power-on lifetime: 9051 hours (377 days + 3 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
  -- -- -- -- -- -- --
  40 51 00 10 58 aa 00  Error: UNC at LBA = 0x00aa5810 = 11163664

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 20 00 58 aa 40 00      03:41:40.275  READ FPDMA QUEUED
  60 00 08 68 8f bf 42 00      03:41:40.270  READ FPDMA QUEUED
  60 00 08 98 18 9f 42 00      03:41:40.261  READ FPDMA QUEUED
  60 00 08 70 0d 9f 42 00      03:41:40.260  READ FPDMA QUEUED
  60 00 08 60 1f 9f 42 00      03:41:40.260  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%      8517         2753855704

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.

最近编辑记录 管毅 (2014-12-19 12:20:59)

离线

#6 2014-12-19 21:52:32

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

管毅 说:

直接装了smartmontools,看不懂,各位大神给瞅瞅,看还有救不。

关于 S.M.A.R.T. 中的各项参数解释,维基百科上解释得挺详细的。
http://zh.wikipedia.org/zh/S.M.A.R.T.
还有就是你那里真的很多 error 。我这里的情况是:

SMART Error Log Version: 1
No Errors Logged

当然不知道是不是我的硬盘不会记录 log 的缘故。

最近编辑记录 zsrkmyn (2014-12-20 11:46:07)

离线

#7 2014-12-19 22:24:59

管毅
会员
注册时间: 2014-04-08
帖子: 326

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

zsrkmyn 说:
管毅 说:

直接装了smartmontools,看不懂,各位大神给瞅瞅,看还有救不。

关于 S.M.A.R.T. 中的各项参数解释,维基百科上解释得挺详细的。
http://zh.wikipedia.org/zh/S.M.A.R.T.

还有就是你那里真的很多 error 。我这里的情况是:

SMART Error Log Version: 1
No Errors Logged

当然不知道是不是我的硬盘不会记录 log 的缘故。

多谢,以前好像找到过,不过不是很了解,尤其是197,跟198项,有的人说问题很严重,有的就说将就着用。

呃,197跟198项又涨了,成496了……
希捷这破硬盘真是完全不值得信任了,亏咱支持了它这么多年,连续好几块硬盘了,希捷你可以改名叫细姐了——注,细姐即小姐,即烂货!
下次绝逼买西数,就是不知道还西数争点气不。

离线

#8 2014-12-20 11:45:33

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

管毅 说:

多谢,以前好像找到过,不过不是很了解,尤其是197,跟198项,有的人说问题很严重,有的就说将就着用。

呃,197跟198项又涨了,成496了……
希捷这破硬盘真是完全不值得信任了,亏咱支持了它这么多年,连续好几块硬盘了,希捷你可以改名叫细姐了——注,细姐即小姐,即烂货!
下次绝逼买西数,就是不知道还西数争点气不。

尽早备份数据吧~我倒觉得希捷的硬盘挺不错的,用了很多块了基本都能没问题,出问题都是人为的物理问题造成的。(现在的笔记本在开机状态下猛摔了一次,还被我整天拿到床上抖来抖去硬盘都没问题)
倒是 WD 的硬盘好差,上次我母亲单位装新机,新买的 WD 的硬盘一扫全是坏道。

离线

#9 2014-12-20 14:19:30

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

俺~用过的硬盘

迈拓(品牌机),  2005年, 重映射扇区计数2。 其他没问题还能用
WD 320G蓝 买过3个了, 2009, 都健在,虽然其中一个气压孔膜被我弄破了,共振噪音大,但还能用,参数正常
WD 3T 绿, 2012, 健在无问题
intel 40G 固态,健在
intel 240G 固态,健在
ADATA 128G 固态,健在
碰电脑到现在还从没由于硬盘物理损坏出问题的。
只有一次是 2007年买的1G金士顿优盘5年后变过RAW,格式化后好了,还好数据不重要. 从此,再也没买过U盘了。

说下机箱吧,毕竟硬盘会不会出问题,机箱占很大一部分。 2005年到2008年用联想的机箱(超好,超重!)。 2008到2010多彩垃圾箱, 2010-2013酷冷半塔(很厚,很重), 2013- 铝合金支架裸奔

离线

#10 2014-12-20 14:28:37

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

要我说 希捷,西数,都一样,都有批次问题导致的残次品, 都避免不了机械硬盘容易坏的命运。 请保护好你的硬盘,并且尽量用固态盘

离线

#11 2014-12-20 18:37:38

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,432
个人网站

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

atmouse 说:

要我说 希捷,西数,都一样,都有批次问题导致的残次品, 都避免不了机械硬盘容易坏的命运。 请保护好你的硬盘,并且尽量用固态盘

固态盘不是写次数比较受限么?

离线

#12 2014-12-20 19:35:47

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

还好啦, 固态硬盘有各种技术来优化写的寿命。 我买的那个intel 40G 按照我平常使用率,理论上可以用10年,  240G的话,就更长了。  固态的s.m.a.r.t 里面有寿命计数,大概啥时候会挂,比机械盘来的准确。

离线

#13 2014-12-20 19:41:05

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

我们的数据库机器 换成SSD后, 我在考虑要不要换成备份到机械盘机器上,或者不要二次写入(就是dump到磁盘文件后再压缩,换成, dump到stdout然后直接压缩成文件)。

离线

#14 2014-12-20 19:46:51

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,432
个人网站

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

atmouse 说:

还好啦, 固态硬盘有各种技术来优化写的寿命。 我买的那个intel 40G 按照我平常使用率,理论上可以用10年,  240G的话,就更长了。  固态的s.m.a.r.t 里面有寿命计数,大概啥时候会挂,比机械盘来的准确。

哦哦,那挺好的~

离线

#15 2014-12-21 00:57:16

管毅
会员
注册时间: 2014-04-08
帖子: 326

Re: 早上开机忽然显示i/o错误,是不是咱硬盘快挂了……

atmouse 说:

俺~用过的硬盘

迈拓(品牌机),  2005年, 重映射扇区计数2。 其他没问题还能用
WD 320G蓝 买过3个了, 2009, 都健在,虽然其中一个气压孔膜被我弄破了,共振噪音大,但还能用,参数正常
WD 3T 绿, 2012, 健在无问题
intel 40G 固态,健在
intel 240G 固态,健在
ADATA 128G 固态,健在
碰电脑到现在还从没由于硬盘物理损坏出问题的。
只有一次是 2007年买的1G金士顿优盘5年后变过RAW,格式化后好了,还好数据不重要. 从此,再也没买过U盘了。

说下机箱吧,毕竟硬盘会不会出问题,机箱占很大一部分。 2005年到2008年用联想的机箱(超好,超重!)。 2008到2010多彩垃圾箱, 2010-2013酷冷半塔(很厚,很重), 2013- 铝合金支架裸奔

这是人品问题?羡慕妒忌恨啊有木有……
当年的希捷40G(那时候还叫酷鱼?忘了)用了三年,坏道,屏蔽坏道忘了备份数据,悲剧……
后来希捷250G刚过两年,又坏道,还是05项,低格都不管用……
再后来希捷1T,又是刚过质保,然后低格了一下,结果05项又出现了……
再后来刚买的2T,才一星期,又完蛋……
换成现在的2T,还没过一年,刚才查了一下数据已经变成560了……
明天俺就去马路上当郝健!

离线

页脚