{"id":7271,"date":"2015-04-07T14:51:15","date_gmt":"2015-04-07T06:51:15","guid":{"rendered":"http:\/\/jpuyy.com\/?p=7271"},"modified":"2015-04-07T14:51:55","modified_gmt":"2015-04-07T06:51:55","slug":"%e6%9f%a5%e7%9c%8b-ssd-%e5%af%bf%e5%91%bd","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=7271","title":{"rendered":"\u67e5\u770b ssd \u5bff\u547d"},"content":{"rendered":"<p>\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6<\/p>\n<pre>yum install -y MegaCli Lib_Utils<\/pre>\n<p>\u5f97\u5230 device id<\/p>\n<pre>\/opt\/MegaRAID\/MegaCli\/MegaCli64 -LdPdInfo -aALL | grep -B 30 'Solid State Device' | grep 'Device Id' \u0005<\/pre>\n<p>\u6211\u8fd9\u91cc\u5f97\u5230\u7684\u662f 1\uff0c \u4e0b\u9762\u7528 smartctl \u7684\u65f6\u5019\u8ddf\u4e0a  ,1<\/p>\n<pre>smartctl -a -d sat+megaraid,1 \/dev\/sdc  | grep Media_Wearout_Indicator<\/pre>\n<p>Wear Levelling Count(\u9897\u7c92\u5e73\u5747\u64e6\u5199\u6b21\u6570):\u6700\u540e\u4e00\u5217\u4e3a 0\uff0c\u5373\u8fd9\u5757\u786c\u76d8\u7684\u5168\u76d8\u5199\u5165\/\u64e6\u9664\uff08P\/E\uff09\u6570\u4e3a 0 \u6b21,\u663e\u793a\u8fd8\u6709 100% \u7684\u5bff\u547d.<\/p>\n<pre>\r\nID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE\r\n233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6 yum install -y MegaCli Lib_Utils \u5f97\u5230 device id \/opt\/MegaRAID\/MegaCli\/MegaCli64 -LdPdInfo -aALL | grep -B 30 &#8216;Solid State Device&#8217; | grep &#8216;Device Id&#8217; \u0005 \u6211\u8fd9\u91cc\u5f97\u5230\u7684\u662f 1\uff0c \u4e0b\u9762\u7528 smartctl \u7684\u65f6\u5019\u8ddf\u4e0a ,1 smartctl -a -d sat+megaraid,1 \/dev\/sdc | grep Media_Wearout_Indicator Wear Levelling Count(\u9897\u7c92\u5e73\u5747\u64e6\u5199\u6b21\u6570):\u6700\u540e\u4e00\u5217\u4e3a 0\uff0c\u5373\u8fd9\u5757\u786c\u76d8\u7684\u5168\u76d8\u5199\u5165\/\u64e6\u9664\uff08P\/E\uff09\u6570\u4e3a 0 \u6b21,\u663e\u793a\u8fd8\u6709 100% \u7684\u5bff\u547d. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-7271","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7271"}],"version-history":[{"count":3,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7271\/revisions"}],"predecessor-version":[{"id":7274,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7271\/revisions\/7274"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}