提大家例行檢查係好
不過使唔使成個 log post 晒出黎, 仲要分幾個 thread 出

精簡d應該有興趣研究下,  ...
勁爆小朋友 發表於 2017-4-7 02:43


too long, don't read.

TOP

too long, don't read.
高登阿伯 發表於 2017-4-7 02:57

睇紅字部份即可

TOP

本帖最後由 harryytm 於 2017-4-7 03:46 編輯
too long, don't read.
高登阿伯 發表於 2017-4-7 02:57


已經唔係Post用-x出嘅Log,仲長

TOP

回覆 16# harryytm


你store RAW, 唔係compressed. 好認真!

TOP

成個post 九唔搭八

TOP

其實係想表達個 tools 好好用好 detail? 定話你那些 HDD 牌子耐用?定係話 d data 好重要所以要日日 check?

TOP

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Constellation ES.3
Device Model:     ST2000NM0033-9ZM175
Serial Number:    Z1X0HFCR
LU WWN Device Id: 5 000c50 064746434
Firmware Version: SN03
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Apr  9 21:28:55 2017 HKT
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:  (0x82)        Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 249)        Self-test routine in progress...
                                        90% of test remaining.
Total time to complete Offline
data collection:                 (  592) 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:          (   1) minutes.
Extended self-test routine
recommended polling time:          ( 250) minutes.
Conveyance self-test routine
recommended polling time:          (   2) minutes.
SCT capabilities:                (0x50bd)        SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table 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   079   063   044    Pre-fail  Always       -       87807713
  3 Spin_Up_Time            0x0003   095   095   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1960
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   092   060   030    Pre-fail  Always       -       1792230159
  9 Power_On_Hours          0x0032   074   074   000    Old_age   Always       -       23210
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   098   098   020    Old_age   Always       -       2173
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   040   000    Old_age   Always       -       60
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   052   044   045    Old_age   Always   In_the_past 48 (Min/Max 37/48 #28)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   099   099   000    Old_age   Always       -       2041
193 Load_Cycle_Count        0x0032   099   099   000    Old_age   Always       -       2961
194 Temperature_Celsius     0x0022   048   056   000    Old_age   Always       -       48 (0 10 0 0 0)
195 Hardware_ECC_Recovered  0x001a   052   004   000    Old_age   Always       -       87807713
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   199   000    Old_age   Always       -       67

我又整

TOP

內置硬碟每月例行檢查昨晚落Order

Sending command to /dev/csmi0,0...
smartctl 6.6 2017-01-14 r4381 [x ...
harryytm 發表於 2017-4-6 01:07


我剛剛裝左Windows smartmontools,有些問題想問

1) 你用乜parameters 去check HDD!!! i.e. -t offline 還是 -t long?
2) 個test關機再開機,會否繼續上次smart test?
3) 點樣好似你#1 capture個log出來?
4) Daemon 點用? 有分eventlog和smartd.log?
5) 有無其它好用parameter

TOP

本帖最後由 harryytm 於 2017-4-11 00:13 編輯
我剛剛裝左Windows smartmontools,有些問題想問

1) 你用乜parameters 去check HDD!!! i.e. -t offline 還是 -t long?
2) 個test關機再開機,會否繼續上次smart test?
3) 點樣好似你#1 capture個log出來?
4) Daemon 點用? 有分eventlog和smartd.log?
5) 有無其它好用parameter
computer1975 發表於 2017-4-10 18:08


1. 我係每一個月就行一次-t long
2. 關機個test唔會繼續,只係喺硬碟Firmware入面個selftest log留下一個Interrupted (host reset)嘅記錄
3. 我嗰啲Log係Copy我個Batch Script嘅輸出,個參數係-l selftest -HAif brief -q noserial
4.  我無用個Daemon
5. 基本上用得最多係-t long 同埋 -l selftest,如果想出個簡略屬性表可以用-Af brief,如果想用GUI可以用HDD Guardian,佢係smartmontools嘅GUI Frontend

TOP

本帖最後由 harryytm 於 2017-4-11 01:24 編輯
其實係想表達個 tools 好好用好 detail?
tkkhome 發表於 2017-4-9 13:57

有少少,總好過用要收錢又多bug嘅HD Tunes。

定話你那些 HDD 牌子耐用?
tkkhome 發表於 2017-4-9 13:57

於我嚟講無一個牌子係特別耐用,要耐用就買企業版。

定係話 d data 好重要所以要日日 check?
tkkhome 發表於 2017-4-9 13:57

日日Check就唔洗,一個月行一次Extended Selftest就可以,不過最重要都係data要有Backup,可以一式三份就最好,而且最好其中一份係offsite而且係唯讀(例如用M-DISC)。

TOP