硬碟spin retry - Linux

Hedwig avatar
By Hedwig
at 2015-01-11T21:22

Table of Contents

抱歉不知道怎麼下標題

剛剛電腦用到一半,突然聽到硬碟不斷spin up -> down -> up ->down.....
打開原本己經開的terminal
$sudo smartctl -a | less
/usr/bin/sudo: xxx IO error
/usr/bin/less: xxx IO error

可是echo /*正常
用sysrq關機,10min後重開進single user mode
smartctl -a /dev/sda
spin retry count = 0 .......?

去看/var/log/messages
Jan 11 19:10:04 dorm kernel: [ 2210.629097] ata6: lost interrupt (Status 0x50)
Jan 11 19:10:04 dorm kernel: [ 2210.629119] ata6.01: exception Emask 0x0 SAct 0x
0 SErr 0x0 action 0x6 frozen
Jan 11 19:10:04 dorm kernel: [ 2210.629123] ata6.01: failed command: WRITE DMA
Jan 11 19:10:04 dorm kernel: [ 2210.629127] ata6.01: cmd ca/00:08:c0:c4:60/00:00
:00:00:00/f0 tag 0 dma 4096 out
Jan 11 19:10:04 dorm kernel: [ 2210.629127] res 40/00:00:00:4f:c2/00:00
:00:00:00/10 Emask 0x4 (timeout)
Jan 11 19:10:04 dorm kernel: [ 2210.629130] ata6.01: status: { DRDY }
Jan 11 19:10:04 dorm kernel: [ 2210.629150] ata6: soft resetting link
Jan 11 19:10:05 dorm kernel: [ 2210.833710] ata6.01: configured for UDMA/100
Jan 11 19:10:05 dorm kernel: [ 2210.833718] ata6.01: device reported invalid CHS
sector 0
Jan 11 19:10:05 dorm kernel: [ 2210.833730] ata6: EH complete

可是如果硬碟自己掛了go offline,為什麼這段log存得進去?

還是說我的OS瘋了,硬碟本身是無辜的?

sda=WD 500G blue (aaks) if this matters

順便問一下最近的新硬碟有沒有什麼特別要注意的點?
好久沒看這一塊了

--
Tags: Linux

All Comments

Mia avatar
By Mia
at 2015-01-15T15:36
log可能還在cache裡
Olga avatar
By Olga
at 2015-01-19T23:55
這是重開後看到的log
Barb Cronin avatar
By Barb Cronin
at 2015-01-20T13:39
到底硬碟有沒有掛勒...
Dinah avatar
By Dinah
at 2015-01-22T07:16
換個排線測試看看,以及拿到其他電腦上面測試看看
Oliver avatar
By Oliver
at 2015-01-23T22:34
重開後是好好的到現在啦

差異備份對於"刪除"的檔案會紀錄嗎?

Yedda avatar
By Yedda
at 2015-01-11T21:20
我看過鳥哥 http://linux.vbird.org/linux_basic/0580backup.php#full_differential http://linux.vbird.org/linux_basic/0240tarcompress.php 對於差異備份,還有系統打包的說明。 但是我對於範例 ...

Ubuntu 14.04 airplay client實作?

Rachel avatar
By Rachel
at 2015-01-11T20:26
有人實作過把螢幕airplay到電視盒上嗎 目前已知安裝XBMC可以當作Airplay server端 但還沒有找到 作為client端的方式 希望有人能分享. - ...

evernote取代方案 ubuntu14.04

Rachel avatar
By Rachel
at 2015-01-11T15:43
Evernote在ubunutu 上沒有版本 網頁版又有很多限制! 只能使用wiznote替代 $ sudo add-apt-repository ppa:wiznote-team $ sudo apt-get update $ sudo apt-get install wiznote 若要移除 ...

debian的第一片找不到automake?

Rebecca avatar
By Rebecca
at 2015-01-11T14:57
安裝好最新版的debian後 因為網路只有無線的 我買了張無線網卡裝上 需要自己編驅動 但發現第一片debian的安裝光碟沒有automake? 因為沒無線網卡 所以沒辦法在網上用aptitude install安裝軟體 只能靠光碟 目前想到的解決方案: 1.用別臺電腦去抓au ...

安裝完ubuntu後 原本的windows系統不見了

Hedda avatar
By Hedda
at 2015-01-11T10:40
如果是 UEFI BIOS 的話 也許可以開機時按下 F12 然後就可以找到 Windows 的開機選項來開機了 https://craftedflash.com/info/how-boot-computer-from-usb-flash-drive ※ 引述《louis90795 (路易士囧鈴妻久嫵)》之銘 ...