如何讓 smartmontools 相信我的 SSD 不是硬碟?

如何讓 smartmontools 相信我的 SSD 不是硬碟?

我正在運行 Debian Wheezy,庫存smartmontools包 (smartctl 5.41)。

SSD MushkinMKNSSDCR120GB-MX正在 SMART 屬性 id 231(十進位)中報告使用壽命資訊。對於硬碟驅動器,此屬性是Temperature_Celsius,不幸的是 smartmontools 將其解釋為:

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
[...]
231 Temperature_Celsius     0x0013   001   001   010    Pre-fail  Always   FAILING_NOW 21474836481
[...]

不,不是 210 億攝氏度……這應該是一個跡象SSD剩餘壽命

我嘗試使用以下命令更新驅動器資料庫:

# /usr/sbin/update-smart-drivedb
/usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB
#

....然後重新啟動smartd,但驅動器仍然無法識別為 SSD。

除了新增反向移植儲存庫並安裝smartmontools反向移植版本之外,還有其他解決方案嗎?如果我必須這樣做,那麼我會的,但我目前在該伺服器上沒有任何向後移植軟體,看來一定有另一種方法。

答案1

當您執行 update-smart-drivedb 時,它會從 smartmontools 的來源網站下載最新的資料庫,理論上比任何向後移植都更新。

如果您直接聯繫他們,您應該會得到合理的周轉時間。

https://www.smartmontools.org/wiki

設備資訊

如果您的磁碟機不在目前版本的 smartmontools 磁碟機資料庫中,您可以透過將有關您的磁碟機的報表傳送至我們的郵件清單smartmontools-database 來協助改善 smartmontools 資訊。

我們收集有關已成功或未成功使用 smartmontools 測試的 USB 裝置的資訊。如果您的裝置未在此列出,請透過編輯 wiki 頁面和/或向 smartmontools-database 郵件清單發送電子郵件來告訴我們測試結果。

相關內容