blog:2023:2023-10-09

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
blog:2023:2023-10-09 [2023-10-14 22:50]
Decomo
blog:2023:2023-10-09 [2023-10-29 08:23] (現在)
Decomo
行 58: 行 58:
 それはそうと、SASってS.M.A.R.T.が取得できないんすな。 それはそうと、SASってS.M.A.R.T.が取得できないんすな。
  
-当初、PERC H330経由なのが原因かと思ってITファームでHBA化してもダメで、なんでぇ?と思いきや、そもそもS.M.A.R.T.はATA規格の仕組みなので、SASでは取得できないのが正しい、と。SASでドライブのモニタリング情報が取得できないかと言えばもちろんそんなことはなく、KCQ (Key Code Qualifier)って仕組みで取れるそうな。UNIX系で有名なsmartmontoolsでは、ドライブごとにS.M.A.R.T.とKCQを使い分け、統一的な結果を表示してくれるため、SASドライブでもあたかもS.M.A.R.T.が使えているように見えるとかなんとか。+当初、PERC H330経由なのが原因かと思ってITファームでHBA化してもダメで、なんでぇ?と思いきや、そもそもS.M.A.R.T.はATA規格の仕組みなので、SASでは取得できないのが正しい、と。SASでドライブの状態が取得できないかと言えばもちろんそんなことはなく、KCQ (Key Code Qualifier)って仕組みで取れるそうな。UNIX系で有名なsmartmontoolsでは、ドライブごとにS.M.A.R.T.とKCQを使い分け、統一的な結果を表示してくれるため、SASドライブでもあたかもS.M.A.R.T.が使えているように見えるとかなんとか。実際のログはこんな感じ
  
-まだまだ知らないことだらけですわ。+<code> 
 +# smartctl -a /dev/sdc 
 +smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.2.16-15-pve] (local build) 
 +Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org 
 + 
 +=== START OF INFORMATION SECTION === 
 +Vendor:               HGST 
 +Product:              HUC101812CSS200 
 +Revision:             FU29 
 +Compliance:           SPC-4 
 +User Capacity:        1,200,243,695,616 bytes [1.20 TB] 
 +Logical block size:   512 bytes 
 +Formatted with type 2 protection 
 +8 bytes of protection information per logical block 
 +LU is fully provisioned 
 +Rotation Rate:        10000 rpm 
 +Form Factor:          2.5 inches 
 +Logical Unit id:      0x5000cca02d7e9154 
 +Serial number:        xxxxxxxx 
 +Device type:          disk 
 +Transport protocol:   SAS (SPL-4) 
 +Local Time is:        Sun Oct 15 23:50:26 2023 JST 
 +SMART support is:     Available - device has SMART capability. 
 +SMART support is:     Enabled 
 +Temperature Warning:  Enabled 
 + 
 +=== START OF READ SMART DATA SECTION === 
 +SMART Health Status: OK 
 + 
 +Current Drive Temperature:     43 C 
 +Drive Trip Temperature:        50 C 
 + 
 +Accumulated power on time, hours:minutes 49469:04 
 +Manufactured in week 36 of year 2017 
 +Specified cycle count over device lifetime:  50000 
 +Accumulated start-stop cycles:  58 
 +Specified load-unload count over device lifetime:  600000 
 +Accumulated load-unload cycles:  2118 
 +Elements in grown defect list: 0 
 + 
 +Vendor (Seagate Cache) information 
 +  Blocks sent to initiator = 1590129651089408 
 + 
 +Error counter log: 
 +           Errors Corrected by           Total   Correction     Gigabytes    Total 
 +               ECC          rereads/    errors   algorithm      processed    uncorrected 
 +           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors 
 +read:          0       10                39     257428       3792.083           0 
 +write:                0                      39447       5364.802           0 
 +verify:        0       97               391      94932        795.533           0 
 + 
 +Non-medium error count:        0 
 + 
 +SMART Self-test log 
 +Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ] 
 +     Description                              number   (hours) 
 +# 1  Reserved(7)       Completed                  64                       - [-      -] 
 +# 2  Background short  Completed                  96                       - [-      -] 
 + 
 +Long (extended) Self-test duration: 8851 seconds [147.5 minutes] 
 +</code> 
 + 
 +ECCのエラー訂正数とかも取れて、ガチのエンプラ用ドライブしゅごい。まだまだ知らないことだらけですわ。
  
 ===== 参考サイト ===== ===== 参考サイト =====
  • blog/2023/2023-10-09.txt
  • 最終更新: 2023-10-29 08:23
  • by Decomo