差分
このページの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.が使えているように見えるとかなんとか。実際のログはこんな感じ。 |
- | まだまだ知らないことだらけですわ。 | + | < |
+ | # 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: | ||
+ | Product: | ||
+ | Revision: | ||
+ | Compliance: | ||
+ | User Capacity: | ||
+ | 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: | ||
+ | Logical Unit id: 0x5000cca02d7e9154 | ||
+ | Serial number: | ||
+ | Device type: disk | ||
+ | Transport protocol: | ||
+ | Local Time is: Sun Oct 15 23:50:26 2023 JST | ||
+ | SMART support is: | ||
+ | SMART support is: | ||
+ | Temperature Warning: | ||
+ | |||
+ | === START OF READ SMART DATA SECTION === | ||
+ | SMART Health Status: OK | ||
+ | |||
+ | Current Drive Temperature: | ||
+ | Drive Trip Temperature: | ||
+ | |||
+ | Accumulated power on time, hours: | ||
+ | Manufactured in week 36 of year 2017 | ||
+ | Specified cycle count over device lifetime: | ||
+ | Accumulated start-stop cycles: | ||
+ | Specified load-unload count over device lifetime: | ||
+ | Accumulated load-unload cycles: | ||
+ | Elements in grown defect list: 0 | ||
+ | |||
+ | Vendor (Seagate Cache) information | ||
+ | Blocks sent to initiator = 1590129651089408 | ||
+ | |||
+ | Error counter log: | ||
+ | | ||
+ | | ||
+ | fast | delayed | ||
+ | read: 0 | ||
+ | write: | ||
+ | verify: | ||
+ | |||
+ | Non-medium error count: | ||
+ | |||
+ | SMART Self-test log | ||
+ | Num Test Status | ||
+ | | ||
+ | # 1 Reserved(7) | ||
+ | # 2 Background short Completed | ||
+ | |||
+ | Long (extended) Self-test duration: 8851 seconds [147.5 minutes] | ||
+ | </ | ||
+ | |||
+ | ECCのエラー訂正数とかも取れて、ガチのエンプラ用ドライブしゅごい。まだまだ知らないことだらけですわ。 | ||
===== 参考サイト ===== | ===== 参考サイト ===== |