{"id":54048,"date":"2025-08-12T21:30:13","date_gmt":"2025-08-12T13:30:13","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/54048.html"},"modified":"2025-08-12T21:30:13","modified_gmt":"2025-08-12T13:30:13","slug":"%e5%8d%8a%e5%af%bc%e4%bd%93fab%e4%b8%ad%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%a1%ac%e4%bb%b6%e6%95%85%e9%9a%9c%e7%9b%91%e6%8e%a7%e4%b8%8e%e9%a2%84%e9%98%b2%e5%85%a8%e6%96%b9%e6%a1%88%ef%bc%9a","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/54048.html","title":{"rendered":"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218"},"content":{"rendered":"<hr \/>\n<h3>&#x1f4ca; \u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848&#xff1a;\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218<\/h3>\n<p>\u5173\u952e\u8bcd&#xff1a;SMART\u76d1\u63a7 RAID\u9884\u8b66 IPMI\u4f20\u611f\u5668 \u6027\u80fd\u57fa\u7ebf Prometheus Zabbix \u9ad8\u53ef\u7528\u67b6\u6784<\/p>\n<hr \/>\n<h4>\u4e00\u3001\u786c\u4ef6\u6545\u969c\u524d\u76847\u5927\u9884\u8b66\u4fe1\u53f7&#xff08;\u9644\u5173\u8054\u5de5\u5177&#xff09;<\/h4>\n<table>\n<tr>\u6545\u969c\u7c7b\u578b\u5173\u952e\u6307\u6807\u76d1\u63a7\u5de5\u5177\u9884\u8b66\u9608\u503c<\/tr>\n<tbody>\n<tr>\n<td>\u78c1\u76d8\u6545\u969c<\/td>\n<td>Reallocated_Sector_Count<\/td>\n<td>smartctl&#043;smartd<\/td>\n<td>&gt;0 \u7acb\u5373\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Current_Pending_Sector<\/td>\n<td>Prometheus&#043;Node Exporter<\/td>\n<td>&gt;0 \u9ad8\u5371<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>\u78c1\u76d8\u54cd\u5e94\u65f6\u95f4(await)<\/td>\n<td>iostat -x<\/td>\n<td>&gt;200ms \u6301\u7eed5\u5206\u949f<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u6545\u969c<\/td>\n<td>ECC\u9519\u8bef\u8ba1\u6570<\/td>\n<td>edac-utils \/ dmidecode<\/td>\n<td>\u5355\u65e5&gt;1\u6b21<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>OOM\u4e8b\u4ef6<\/td>\n<td>\/var\/log\/messages<\/td>\n<td>\u51fa\u73b0\u5373\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>CPU\u6545\u969c<\/td>\n<td>\u786c\u4ef6\u4e2d\u65ad\u98d9\u5347<\/td>\n<td>mpstat -P ALL<\/td>\n<td>\u7a81\u589e300%<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>\u6e29\u5ea6\u8d85\u6807<\/td>\n<td>ipmitool sensor<\/td>\n<td>&gt;85\u2103 (\u56e0\u578b\u53f7\u800c\u5f02)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>\u4e8c\u30014\u5c42\u7acb\u4f53\u76d1\u63a7\u4f53\u7cfb\u642d\u5efa&#xff08;\u5f00\u6e90\u65b9\u6848&#xff09;<\/h4>\n<h5>1\ufe0f\u20e3 \u786c\u4ef6\u5c42\u76d1\u63a7<\/h5>\n<p><span class=\"token comment\"># \u67e5\u770b\u78c1\u76d8SMART\u5065\u5eb7\u72b6\u6001<\/span><br \/>\nsmartctl -a \/dev\/sda<\/p>\n<p><span class=\"token comment\"># \u914d\u7f6esmartd\u81ea\u52a8\u76d1\u63a7&#xff08;\/etc\/smartd.conf&#xff09;<\/span><br \/>\nDEVICESCAN -a -I <span class=\"token number\">194<\/span> -W <span class=\"token number\">4,45<\/span>,55 -m admin&#064;example.com<\/p>\n<p>\u5de5\u5177\u94fe&#xff1a;<\/p>\n<ul>\n<li>IPMI\u76d1\u63a7&#xff1a;ipmitool sensor &#043; Telegraf\u91c7\u96c6<\/li>\n<li>RAID\u72b6\u6001&#xff1a;MegaCLI MegaCli64 -LDInfo -Lall -aAll<\/li>\n<li>\u53ef\u89c6\u5316&#xff1a;Grafana\u4eea\u8868\u76d8Import ID:11074<\/li>\n<\/ul>\n<h5>2\ufe0f\u20e3 \u7cfb\u7edf\u5c42\u76d1\u63a7<\/h5>\n<p><span class=\"token comment\"># Prometheus node_exporter\u914d\u7f6e\u793a\u4f8b<\/span><br \/>\n<span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">job_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;node&#039;<\/span><br \/>\n  <span class=\"token key atrule\">static_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">targets<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;192.168.1.10:9100&#039;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n  <span class=\"token key atrule\">params<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    collect<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> cpu<br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> diskstats<br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> edac     <span class=\"token comment\"># ECC\u5185\u5b58\u76d1\u63a7<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> ipmi     <span class=\"token comment\"># \u9700\u5b89\u88c5ipmi_exporter<\/span><\/p>\n<h5>3\ufe0f\u20e3 \u65e5\u5fd7\u5c42\u76d1\u63a7<\/h5>\n<p><span class=\"token comment\"># \u6293\u53d6\u786c\u4ef6\u9519\u8bef\u65e5\u5fd7<\/span><br \/>\n<span class=\"token function\">grep<\/span> -i <span class=\"token string\">&#034;error\\\\|fail\\\\|critical\\\\|disk\\\\|sata&#034;<\/span> \/var\/log\/messages<\/p>\n<p><span class=\"token comment\"># ELK\u65b9\u6848\u914d\u7f6e<\/span><br \/>\nfilebeat.inputs:<br \/>\n&#8211; type: log<br \/>\n  paths: <span class=\"token punctuation\">[<\/span>\/var\/log\/messages, \/var\/log\/syslog<span class=\"token punctuation\">]<\/span><br \/>\n  fields: <span class=\"token punctuation\">{<\/span> layer: hardware <span class=\"token punctuation\">}<\/span><\/p>\n<h5>4\ufe0f\u20e3 \u5e94\u7528\u5c42\u5173\u8054<\/h5>\n<p><span class=\"token comment\"># \u5728\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5d4c\u5165\u5065\u5eb7\u68c0\u67e5<\/span><br \/>\n<span class=\"token keyword\">from<\/span> psutil <span class=\"token keyword\">import<\/span> disk_io_counters<br \/>\nio <span class=\"token operator\">&#061;<\/span> disk_io_counters<span class=\"token punctuation\">(<\/span>perdisk<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">if<\/span> io<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;sda&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">await<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">500<\/span><span class=\"token punctuation\">:<\/span>  <span class=\"token comment\"># ms<\/span><br \/>\n    alert<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;DISK_SLOW&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<hr \/>\n<h4>\u4e09\u30015\u5927\u9884\u9632\u6027\u7ef4\u62a4\u5b9e\u6218\u6e05\u5355<\/h4>\n<h5>\u2705 \u6bcf\u65e5\u68c0\u67e5<\/h5>\n<li>top\u67e5\u770b%wa&#xff08;I\/O\u7b49\u5f85&#xff09;<\/li>\n<li>iostat -x 1 5 \u89c2\u5bdfawait\u6ce2\u52a8<\/li>\n<li>dmesg -T | tail -20 \u8fc7\u6ee4\u786c\u4ef6\u9519\u8bef<\/li>\n<h5>\u2705 \u6bcf\u5468\u4efb\u52a1<\/h5>\n<p><span class=\"token comment\"># \u6267\u884c\u78c1\u76d8\u77ed\u6d4b\u8bd5<\/span><br \/>\nsmartctl -t short \/dev\/sda<\/p>\n<p><span class=\"token comment\"># RAID\u4e00\u81f4\u6027\u68c0\u67e5<\/span><br \/>\nMegaCli64 -LDCC -CkDsk -Lall -aAll<\/p>\n<h5>\u2705 \u6bcf\u6708\u7ef4\u62a4<\/h5>\n<li>\u5185\u5b58\u538b\u529b\u6d4b\u8bd5&#xff1a;memtester 4G 1<\/li>\n<li>\u6e05\u7406\u670d\u52a1\u5668\u7070\u5c18&#xff08;\u9759\u7535\u9632\u62a4&#xff01;&#xff09;<\/li>\n<li>\u9a8c\u8bc1\u5907\u4efd\u53ef\u6062\u590d\u6027<\/li>\n<h5>\u2705 \u5b63\u5ea6\u6df1\u5ea6\u68c0\u6d4b<\/h5>\n<ul>\n<li>\u78c1\u76d8\u957f\u6d4b\u8bd5&#xff1a;smartctl -t long \/dev\/sda<\/li>\n<li>\u66f4\u65b0\u56fa\u4ef6&#xff1a;Dell: dsu | HPE: SPP<\/li>\n<li>\u91cd\u65b0\u8bc4\u4f30\u6027\u80fd\u57fa\u7ebf<\/li>\n<\/ul>\n<h5>\u2705 \u67b6\u6784\u7ea7\u9884\u9632<\/h5>\n<p>  #mermaid-svg-lLFwjru7ep0OvgxC {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .error-icon{fill:#552222;}#mermaid-svg-lLFwjru7ep0OvgxC .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-lLFwjru7ep0OvgxC .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-lLFwjru7ep0OvgxC .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-lLFwjru7ep0OvgxC .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-lLFwjru7ep0OvgxC .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-lLFwjru7ep0OvgxC .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-lLFwjru7ep0OvgxC .marker{fill:#333333;stroke:#333333;}#mermaid-svg-lLFwjru7ep0OvgxC .marker.cross{stroke:#333333;}#mermaid-svg-lLFwjru7ep0OvgxC svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-lLFwjru7ep0OvgxC .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .cluster-label text{fill:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .cluster-label span{color:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .label text,#mermaid-svg-lLFwjru7ep0OvgxC span{fill:#333;color:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .node rect,#mermaid-svg-lLFwjru7ep0OvgxC .node circle,#mermaid-svg-lLFwjru7ep0OvgxC .node ellipse,#mermaid-svg-lLFwjru7ep0OvgxC .node polygon,#mermaid-svg-lLFwjru7ep0OvgxC .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-lLFwjru7ep0OvgxC .node .label{text-align:center;}#mermaid-svg-lLFwjru7ep0OvgxC .node.clickable{cursor:pointer;}#mermaid-svg-lLFwjru7ep0OvgxC .arrowheadPath{fill:#333333;}#mermaid-svg-lLFwjru7ep0OvgxC .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-lLFwjru7ep0OvgxC .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-lLFwjru7ep0OvgxC .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-lLFwjru7ep0OvgxC .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-lLFwjru7ep0OvgxC .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-lLFwjru7ep0OvgxC .cluster text{fill:#333;}#mermaid-svg-lLFwjru7ep0OvgxC .cluster span{color:#333;}#mermaid-svg-lLFwjru7ep0OvgxC div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-lLFwjru7ep0OvgxC :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span id=\"L-L-A-B\" class=\"edgeLabel L-LS-A&#039; L-LE-B\"><\/span><\/p>\n<p>         <span id=\"L-L-B-C\" class=\"edgeLabel L-LS-B&#039; L-LE-C\"><\/span><\/p>\n<p>         <span id=\"L-L-B-D\" class=\"edgeLabel L-LS-B&#039; L-LE-D\"><\/span><\/p>\n<p>         <span id=\"L-L-C-E\" class=\"edgeLabel L-LS-C&#039; L-LE-E\"><\/span><\/p>\n<p>         <span id=\"L-L-D-E\" class=\"edgeLabel L-LS-D&#039; L-LE-E\"><\/span><\/p>\n<p>         <span id=\"L-L-E-F\" class=\"edgeLabel L-LS-E&#039; L-LE-F\"><\/span><\/p>\n<p>          \u5e94\u7528<\/p>\n<p>          \u8d1f\u8f7d\u5747\u8861<\/p>\n<p>          Server1-RAID10<\/p>\n<p>          Server2-RAID10<\/p>\n<p>          \u5171\u4eab\u5b58\u50a8<\/p>\n<p>          \u79bb\u7ebf\u5907\u4efd<\/p>\n<hr \/>\n<h4>\u56db\u3001\u4f01\u4e1a\u7ea7\u5de5\u5177\u94fe\u63a8\u8350<\/h4>\n<table>\n<tr>\u573a\u666f\u5f00\u6e90\u65b9\u6848\u5546\u4e1a\u65b9\u6848\u76d1\u63a7\u8981\u70b9<\/tr>\n<tbody>\n<tr>\n<td>\u57fa\u7840\u8bbe\u65bd\u76d1\u63a7<\/td>\n<td>Prometheus&#043;Grafana<\/td>\n<td>Zabbix<\/td>\n<td>\u52a8\u6001\u57fa\u7ebf\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u65e5\u5fd7\u5206\u6790<\/td>\n<td>ELK Stack<\/td>\n<td>Splunk<\/td>\n<td>\u786c\u4ef6\u9519\u8bef\u6a21\u5f0f\u8bc6\u522b<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u7ba1\u7406<\/td>\n<td>Ansible<\/td>\n<td>SaltStack<\/td>\n<td>\u56fa\u4ef6\u6279\u91cf\u5347\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>\u786c\u4ef6\u7ba1\u7406<\/td>\n<td>Redfish API<\/td>\n<td>Dell OpenManage<\/td>\n<td>\u5e26\u5916\u76d1\u63a7<\/td>\n<\/tr>\n<tr>\n<td>\u4e91\u5e73\u53f0<\/td>\n<td>Kubernetes&#043;Thanos<\/td>\n<td>vCenter<\/td>\n<td>\u8282\u70b9\u81ea\u52a8\u9a71\u9010<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>\u4e94\u3001\u8840\u6cea\u7ecf\u9a8c&#xff1a;\u907f\u5751\u6307\u5357<\/h4>\n<li>\n<p>\u78c1\u76d8\u6545\u969c\u7684\u6b7b\u4ea1\u4fe1\u53f7 Current_Pending_Sector&gt;0 &#043; await&gt;500ms &#061; \u7acb\u5373\u66f4\u6362\u78c1\u76d8&#xff01;\u66fe\u56e0\u5ef6\u8fdf\u5904\u7406\u5bfc\u81f4RAID\u5d29\u6e83<\/p>\n<\/li>\n<li>\n<p>\u5185\u5b58ECC\u7684\u9690\u85cf\u98ce\u9669 \u5355\u65e5\u51fa\u73b0&gt;5\u6b21ECC\u9519\u8bef&#xff1a;\u8fd0\u884cmemtester\u6d4b\u8bd5&#xff0c;\u5373\u4f7f\u7cfb\u7edf\u672a\u5d29\u6e83\u4e5f\u8981\u66f4\u6362<\/p>\n<\/li>\n<li>\n<p>RAID\u7535\u6c60\u7684\u81f4\u547d\u5ffd\u7565 BBU\u6545\u969c\u5bfc\u81f4\u5199\u7f13\u5b58\u7981\u7528&#xff1a;\u6027\u80fd\u4e0b\u964d80%&#xff01;\u76d1\u63a7\u547d\u4ee4&#xff1a;<\/p>\n<p> MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;Charger Status&#034;<\/span>\n <\/li>\n<li>\n<p>\u6e29\u5ea6\u76d1\u63a7\u7684\u9677\u9631 \u590f\u5b63\u67d0\u670d\u52a1\u5668CPU\u6e29\u5ea6\u62a5\u8b66\u9608\u503c85\u2103&#xff0c;\u5b9e\u9645&#xff1a;<\/p>\n<ul>\n<li>\u8fdb\u98ce\u53e3\u6e29\u5ea6&gt;35\u2103\u65f6\u89e6\u53d1\u98ce\u6247\u5168\u901f<\/li>\n<li>\u89e3\u51b3\u65b9\u6848&#xff1a;\u8bbe\u7f6e\u6e29\u5dee&#061;CPU\u6e29\u5ea6-\u8fdb\u98ce\u53e3\u6e29\u5ea6&gt;50\u2103\u624d\u544a\u8b66<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h4>\u516d\u3001\u7ec8\u6781\u9884\u9632\u6846\u67b6<\/h4>\n<p>1. \u76d1\u63a7\u5c42 \u2500\u2500\u2524<br \/>\n   \u251c\u2500 \u5b9e\u65f6\u91c7\u96c6&#xff1a;Telegraf&#043;Node_exporter<br \/>\n   \u251c\u2500 \u52a8\u6001\u9608\u503c&#xff1a;Prometheus\u8bb0\u5f55\u89c4\u5219<br \/>\n   \u2514\u2500 \u544a\u8b66\u8def\u7531&#xff1a;Alertmanager\u5206\u7ea7\u901a\u77e5<\/p>\n<p>2. \u9632\u5fa1\u5c42 \u2500\u2500\u2524<br \/>\n   \u251c\u2500 \u5197\u4f59&#xff1a;RAID10 &gt; RAID5 | \u53cc\u7535\u6e90<br \/>\n   \u251c\u2500 \u9694\u79bb&#xff1a;K8s PodDisruptionBudget<br \/>\n   \u2514\u2500 \u81ea\u6108&#xff1a;Ansible\u81ea\u52a8\u66f4\u6362\u574f\u76d8<\/p>\n<p>3. \u9a8c\u8bc1\u5c42 \u2500\u2500\u2524<br \/>\n   \u251c\u2500 \u6df7\u6c8c\u5de5\u7a0b&#xff1a;Chaos Mesh\u6ce8\u5165\u78c1\u76d8\u6545\u969c<br \/>\n   \u2514\u2500 \u5907\u4efd\u6f14\u7ec3&#xff1a;\u6bcf\u6708\u8fd8\u539fTB\u7ea7\u6570\u636e\u5e93<\/p>\n<p>&#x1f4cc; \u6838\u5fc3\u8ba4\u77e5&#xff1a;\u786c\u4ef6\u7ec8\u4f1a\u6545\u969c&#xff0c;\u4f46\u4e1a\u52a1\u4e0d\u5e94\u4e2d\u65ad&#xff01; \u6700\u79d1\u5b66\u7684\u9884\u9632\u662f\u8ba9\u5355\u70b9\u6545\u969c\u6210\u4e3a\u7cfb\u7edf\u53ef\u627f\u53d7\u4e8b\u4ef6\u3002<\/p>\n<hr \/>\n<p>\u9644\u5f55&#xff1a;\u901f\u67e5\u547d\u4ee4\u8868<\/p>\n<table>\n<tr>\u76ee\u7684\u547d\u4ee4<\/tr>\n<tbody>\n<tr>\n<td>\u67e5\u770b\u78c1\u76d8\u5065\u5eb7<\/td>\n<td>smartctl -A \/dev\/sda | grep -E &#034;Reallocated|Pending|Uncorrect&#034;<\/td>\n<\/tr>\n<tr>\n<td>\u68c0\u67e5\u5185\u5b58ECC\u9519\u8bef<\/td>\n<td>edac-util -v \u6216 dmidecode -t 16<\/td>\n<\/tr>\n<tr>\n<td>\u83b7\u53d6RAID\u72b6\u6001<\/td>\n<td>MegaCli64 -LDInfo -Lall -aAll | grep &#034;State&#034;<\/td>\n<\/tr>\n<tr>\n<td>\u76d1\u63a7I\/O\u5b9e\u65f6\u8d1f\u8f7d<\/td>\n<td>iostat -xdm 2 (\u5173\u6ce8%util\u548cawait)<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u770b\u786c\u4ef6\u65e5\u5fd7<\/td>\n<td>journalctl -b -k &#8211;grep&#061;&#034;error|fail&#034; -p 3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u7acb\u5373\u884c\u52a8\u6e05\u5355&#xff1a;<\/p>\n<li>\u90e8\u7f72smartd\u76d1\u63a7\u6240\u6709\u78c1\u76d8<\/li>\n<li>\u914d\u7f6ePrometheus\u6293\u53d6ipmi_exporter<\/li>\n<li>\u5728Grafana\u5bfc\u5165\u786c\u4ef6\u76d1\u63a7\u4eea\u8868\u76d8<\/li>\n<li>\u4e0b\u5468\u6267\u884c\u9996\u6b21\u5185\u5b58memtester\u6d4b\u8bd5<\/li>\n<p>\u6280\u672f\u7684\u672c\u8d28\u4e0d\u662f\u6d88\u9664\u6545\u969c&#xff0c;\u800c\u662f\u5728\u6545\u969c\u94fe\u542f\u52a8\u65f6\u6309\u4e0b\u7ec8\u6b62\u952e\u3002\u4fdd\u6301\u656c\u754f&#xff0c;\u6301\u7eed\u52a0\u56fa&#xff01; &#x1f4aa;<\/p>\n<p>\u5177\u4f53\u7684\u76d1\u63a7\u6e05\u5355\u4e00\u89c8 \u4ee5\u4e0b\u4e3a\u670d\u52a1\u5668\u786c\u4ef6\u76d1\u63a7\u53c2\u6570\u5206\u7c7b\u6e05\u5355&#xff0c;\u6db5\u76d6\u786c\u4ef6\u5065\u5eb7\u3001\u6027\u80fd\u6307\u6807\u3001\u65e5\u5fd7\u5173\u952e\u70b9\u4e09\u5927\u7c7b&#xff0c;\u53ef\u76f4\u63a5\u5bfc\u5165\u76d1\u63a7\u7cfb\u7edf&#xff1a;<\/p>\n<hr \/>\n<h4>\u4e00\u3001\u786c\u4ef6\u5065\u5eb7\u76d1\u63a7\u6e05\u5355<\/h4>\n<h5>\u78c1\u76d8\/\u5b58\u50a8\u7cfb\u7edf<\/h5>\n<table>\n<tr>\u53c2\u6570\u76d1\u63a7\u5de5\u5177\u5371\u9669\u9608\u503c\u68c0\u6d4b\u547d\u4ee4<\/tr>\n<tbody>\n<tr>\n<td>Reallocated_Sector_Ct<\/td>\n<td>smartctl\/smartd<\/td>\n<td>&gt;0<\/td>\n<td>smartctl -A \/dev\/sda<\/td>\n<\/tr>\n<tr>\n<td>Current_Pending_Sector<\/td>\n<td>Prometheus&#043;Node_exporter<\/td>\n<td>&gt;0<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Uncorrectable_Error_Ct<\/td>\n<td>MegaCLI\/Zabbix<\/td>\n<td>&gt;0<\/td>\n<td>MegaCli64 -PdList -aAll<\/td>\n<\/tr>\n<tr>\n<td>Media_Error_Count<\/td>\n<td>IPMI<\/td>\n<td>\u6301\u7eed\u589e\u52a0<\/td>\n<td>ipmitool sel list<\/td>\n<\/tr>\n<tr>\n<td>RAID\u72b6\u6001<\/td>\n<td>storcli<\/td>\n<td>Non-Optimal<\/td>\n<td>storcli \/c0 show<\/td>\n<\/tr>\n<tr>\n<td>BBU\u7535\u6c60\u5065\u5eb7\u5ea6<\/td>\n<td>MegaCli<\/td>\n<td>Charging Status: Failed<\/td>\n<td>MegaCli64 -AdpBbuCmd -GetBbuStatus -a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u5185\u5b58\u7cfb\u7edf<\/h5>\n<table>\n<tr>\u53c2\u6570\u76d1\u63a7\u5de5\u5177\u5371\u9669\u9608\u503c\u68c0\u6d4b\u547d\u4ee4<\/tr>\n<tbody>\n<tr>\n<td>ECC\u53ef\u7ea0\u6b63\u9519\u8bef<\/td>\n<td>edac-utils<\/td>\n<td>&gt;1\u6b21\/\u65e5<\/td>\n<td>edac-util -v<\/td>\n<\/tr>\n<tr>\n<td>ECC\u4e0d\u53ef\u7ea0\u6b63\u9519\u8bef<\/td>\n<td>dmidecode<\/td>\n<td>&gt;0<\/td>\n<td>dmidecode -t 16<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u69fd\u4f4d\u72b6\u6001<\/td>\n<td>ipmitool<\/td>\n<td>Disabled<\/td>\n<td>ipmitool sdr type Memory<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u7535\u6e90\/\u6563\u70ed\u7cfb\u7edf<\/h5>\n<table>\n<tr>\u53c2\u6570\u76d1\u63a7\u5de5\u5177\u5371\u9669\u9608\u503c\u68c0\u6d4b\u547d\u4ee4<\/tr>\n<tbody>\n<tr>\n<td>CPU\u6e29\u5ea6<\/td>\n<td>lm_sensors<\/td>\n<td>&gt;85\u2103<\/td>\n<td>sensors coretemp-isa-*<\/td>\n<\/tr>\n<tr>\n<td>\u7cfb\u7edf\u6e29\u5dee(\u0394T)<\/td>\n<td>Grafana<\/td>\n<td>&gt;50\u2103<\/td>\n<td>(CPU_temp &#8211; Inlet_temp)<\/td>\n<\/tr>\n<tr>\n<td>\u98ce\u6247\u8f6c\u901f<\/td>\n<td>IPMI<\/td>\n<td>&lt;2000 RPM<\/td>\n<td>&#096;ipmitool sdr<\/td>\n<\/tr>\n<tr>\n<td>12V\u7535\u538b\u6ce2\u52a8<\/td>\n<td>ipmitool<\/td>\n<td>\u00b110%<\/td>\n<td>ipmitool sensor list<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>\u4e8c\u3001\u64cd\u4f5c\u7cfb\u7edf\u6027\u80fd\u76d1\u63a7\u6e05\u5355<\/h4>\n<h5>CPU\u5173\u952e\u6307\u6807<\/h5>\n<p><span class=\"token comment\"># \u9700\u76d1\u63a7\u53c2\u6570&#xff1a;<\/span><br \/>\n%user <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">80<\/span>%      <span class=\"token comment\"># \u7528\u6237\u6001CPU\u6301\u7eed\u9ad8\u8d1f\u8f7d<\/span><br \/>\n%system <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">30<\/span>%    <span class=\"token comment\"># \u5185\u6838\u6001CPU\u5f02\u5e38<\/span><br \/>\n%iowait <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">20<\/span>%    <span class=\"token comment\"># I\/O\u7b49\u5f85\u74f6\u9888\u4fe1\u53f7<\/span><br \/>\ninterrupts\/s\u7a81\u589e <span class=\"token comment\"># \u786c\u4ef6\u4e2d\u65ad\u98ce\u66b4<\/span><\/p>\n<p>\u5de5\u5177&#xff1a;top -H mpstat -P ALL 1<\/p>\n<h5>\u5185\u5b58\u5173\u952e\u6307\u6807<\/h5>\n<p>MemAvailable <span class=\"token operator\">&lt;<\/span> <span class=\"token number\">10<\/span>%   <span class=\"token comment\"># \u53ef\u7528\u5185\u5b58\u67af\u7aed<\/span><br \/>\nSwapUsed <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span>         <span class=\"token comment\"># \u89e6\u53d1\u4ea4\u6362<\/span><br \/>\nPageTables <span class=\"token operator\">&gt;<\/span> 500MB   <span class=\"token comment\"># \u5185\u5b58\u6620\u5c04\u5f02\u5e38<\/span><br \/>\nOOM_killer\u89e6\u53d1\u8bb0\u5f55   <span class=\"token comment\"># \u81f4\u547d\u5185\u5b58\u4e0d\u8db3<\/span><\/p>\n<p>\u5de5\u5177&#xff1a;free -h vmstat 1<\/p>\n<h5>\u78c1\u76d8I\/O\u77e9\u9635<\/h5>\n<table>\n<tr>\u53c2\u6570\u9884\u8b66\u7ebf\u5d29\u6e83\u7ebf\u76d1\u63a7\u5de5\u5177<\/tr>\n<tbody>\n<tr>\n<td>await<\/td>\n<td>&gt;50ms<\/td>\n<td>&gt;500ms<\/td>\n<td>iostat -xdm 2<\/td>\n<\/tr>\n<tr>\n<td>%util<\/td>\n<td>&gt;70%\u6301\u7eed5min<\/td>\n<td>&gt;95%<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>svctm<\/td>\n<td>&gt;20ms<\/td>\n<td>&gt;100ms<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>IO\u9519\u8bef\/s<\/td>\n<td>&gt;0<\/td>\n<td>&#8211;<\/td>\n<td>\/proc\/diskstats<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u7f51\u7edc\u5173\u952e\u6307\u6807<\/h5>\n<p><span class=\"token comment\"># \u9700\u544a\u8b66\u60c5\u51b5&#xff1a;<\/span><br \/>\nTCP retrans <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">1000<\/span>\/s    <span class=\"token comment\"># \u7f51\u7edc\u4e0d\u7a33\u5b9a<\/span><br \/>\n\u7f51\u5361dropped <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">10<\/span>\/s      <span class=\"token comment\"># \u786c\u4ef6\u8fc7\u8f7d<\/span><br \/>\n\u5e26\u5bbd\u5229\u7528\u7387 <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">80<\/span>%\u6301\u7eed1h  <span class=\"token comment\"># \u5bb9\u91cf\u74f6\u9888<\/span><\/p>\n<hr \/>\n<h4>\u4e09\u3001\u65e5\u5fd7\u76d1\u63a7\u5173\u952e\u8bcd\u6e05\u5355<\/h4>\n<h5>\u5185\u6838\u65e5\u5fd7 (\/var\/log\/kern.log)<\/h5>\n<p>1. **\u78c1\u76d8\u6545\u969c\u4fe1\u53f7**<br \/>\n   &#096;I\/O error&#096; &#096;SATA link down&#096; &#096;reset controller&#096;<br \/>\n   &#096;buffer I\/O error&#096; &#096;UNMAP failed&#096;<\/p>\n<p>2. **\u5185\u5b58\u6b7b\u4ea1\u9884\u544a**<br \/>\n   &#096;EDAC MC0: UE&#096; &#096;Corrected error&#096;<br \/>\n   &#096;Hardware Error: CPU&#096; &#096;MCE: Hardware error&#096;<\/p>\n<p>3. **\u786c\u4ef6\u901a\u7528\u5f02\u5e38**<br \/>\n   &#096;PCIe AER error&#096; &#096;thermal throttling&#096;<br \/>\n   &#096;ACPI: Critical temperature&#096;<\/p>\n<h5>\u7cfb\u7edf\u65e5\u5fd7 (\/var\/log\/messages)<\/h5>\n<p>&#8211; RAID\u4e8b\u4ef6&#xff1a;<br \/>\n  &#096;MegaSAS: PD fault&#096; &#096;RAID DEGRADED&#096;<br \/>\n  &#096;BBU: charger failed&#096;<\/p>\n<p>&#8211; \u786c\u4ef6\u670d\u52a1\u4e2d\u65ad&#xff1a;<br \/>\n  &#096;irq XX: nobody cared&#096;<br \/>\n  &#096;NMI: PCI SERR detected&#096;<\/p>\n<hr \/>\n<h4>\u56db\u3001\u667a\u80fd\u76d1\u63a7\u914d\u7f6e\u5efa\u8bae<\/h4>\n<h5>Prometheus\u89c4\u5219\u793a\u4f8b<\/h5>\n<p><span class=\"token key atrule\">groups<\/span><span class=\"token punctuation\">:<\/span><br \/>\n<span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">name<\/span><span class=\"token punctuation\">:<\/span> hardware<span class=\"token punctuation\">&#8211;<\/span>alert<br \/>\n  <span class=\"token key atrule\">rules<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">alert<\/span><span class=\"token punctuation\">:<\/span> DiskPendingSector<br \/>\n    <span class=\"token key atrule\">expr<\/span><span class=\"token punctuation\">:<\/span> node_smartmon_current_pending_sector <span class=\"token punctuation\">&gt;<\/span> 0<br \/>\n    <span class=\"token key atrule\">for<\/span><span class=\"token punctuation\">:<\/span> 5m<br \/>\n    <span class=\"token key atrule\">labels<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token key atrule\">severity<\/span><span class=\"token punctuation\">:<\/span> critical<br \/>\n    <span class=\"token key atrule\">annotations<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">summary<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\u78c1\u76d8 {{ $labels.device }} \u51fa\u73b0\u5f85\u6620\u5c04\u6247\u533a&#034;<\/span><\/p>\n<p>  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">alert<\/span><span class=\"token punctuation\">:<\/span> HighDiskLatency<br \/>\n    <span class=\"token key atrule\">expr<\/span><span class=\"token punctuation\">:<\/span> rate(node_disk_read_time_seconds_total<span class=\"token punctuation\">[<\/span>5m<span class=\"token punctuation\">]<\/span>) <span class=\"token punctuation\">&gt;<\/span> 0.5<br \/>\n    <span class=\"token key atrule\">labels<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token key atrule\">severity<\/span><span class=\"token punctuation\">:<\/span> warning<\/p>\n<h5>Zabbix\u89e6\u53d1\u5668\u914d\u7f6e<\/h5>\n<p>{Template <span class=\"token keyword\">Disk<\/span> Health:smart<span class=\"token punctuation\">.<\/span>raw_value<span class=\"token punctuation\">[<\/span>Reallocated_Sector_Ct<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">last<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span>} <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span><br \/>\n{Template IPMI:ipmi<span class=\"token punctuation\">.<\/span>temperature<span class=\"token punctuation\">[<\/span>cpu_temp<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">last<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span>}<span class=\"token operator\">&#8211;<\/span>{Template IPMI:ipmi<span class=\"token punctuation\">.<\/span>temperature<span class=\"token punctuation\">[<\/span>inlet_temp<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">last<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span>} <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">50<\/span><\/p>\n<hr \/>\n<h4>\u4e94\u3001\u76d1\u63a7\u53c2\u6570\u4f18\u5148\u7ea7\u5206\u7c7b<\/h4>\n<table>\n<tr>\u7b49\u7ea7\u53c2\u6570\u793a\u4f8b\u54cd\u5e94\u65f6\u6548<\/tr>\n<tbody>\n<tr>\n<td>\u7d27\u6025<\/td>\n<td>Current_Pending_Sector &gt; 0<\/td>\n<td>\u7acb\u5373\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td>\u4e25\u91cd<\/td>\n<td>await &gt; 500ms\u6301\u7eed5\u5206\u949f<\/td>\n<td>1\u5c0f\u65f6\u5185<\/td>\n<\/tr>\n<tr>\n<td>\u8b66\u544a<\/td>\n<td>CPU\u6e29\u5ea6 &gt; 85\u2103<\/td>\n<td>4\u5c0f\u65f6\u5185<\/td>\n<\/tr>\n<tr>\n<td>\u89c2\u5bdf<\/td>\n<td>ECC\u53ef\u7ea0\u6b63\u9519\u8bef\u8ba1\u6570\u5468\u589e\u957f &gt; 5<\/td>\n<td>\u5468\u62a5\u5206\u6790<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&#x1f4cc; \u9ec4\u91d1\u6cd5\u5219&#xff1a;\u4efb\u4f55\u786c\u4ef6\u76f8\u5173\u9519\u8bef\u65e5\u5fd7&#xff08;error\/fail\/critical&#xff09;\u90fd\u5e94\u89e6\u53d1\u544a\u8b66&#xff0c;\u78c1\u76d8Pending_Sector&gt;0\u548c\u5185\u5b58ECC\u4e0d\u53ef\u7ea0\u6b63\u9519\u8bef\u9700\u7acb\u5373\u505c\u673a\u66f4\u6362&#xff01;<\/p>\n<hr \/>\n<p>\u9644\u5f55&#xff1a;\u76d1\u63a7\u90e8\u7f72\u68c0\u67e5\u6e05\u5355<\/p>\n<p>\u2705 \u5df2\u914d\u7f6esmartd\u76d1\u63a7\u6240\u6709\u78c1\u76d8<br \/>\n\u2705 \u5df2\u90e8\u7f72ipmi_exporter\u91c7\u96c6\u5e26\u5916\u6570\u636e<br \/>\n\u2705 \u5df2\u8bbe\u7f6e\u78c1\u76d8await<span class=\"token operator\">&gt;<\/span>100ms\u544a\u8b66<br \/>\n\u2705 \u5df2\u5efa\u7acb\u6e29\u5ea6\u57fa\u7ebf\u548c\u6e29\u5dee\u544a\u8b66<br \/>\n\u2705 \u65e5\u5fd7\u7cfb\u7edf\u5df2\u6293\u53d6\u786c\u4ef6\u5173\u952e\u8bcd<br \/>\n\u2705 \u6bcf\u6708\u6267\u884c\u5185\u5b58\u538b\u529b\u6d4b\u8bd5<\/p>\n<p>\u6b64\u6e05\u5355\u8986\u76d6\u4e86\u786c\u4ef6\u6545\u969c\u7684\u76f4\u63a5\u8bc1\u636e\u578b\u53c2\u6570&#xff08;\u5982SMART\u9519\u8bef&#xff09;\u548c\u95f4\u63a5\u8868\u73b0\u578b\u6307\u6807&#xff08;\u5982IO\u5ef6\u8fdf&#xff09;&#xff0c;\u6309\u6b64\u90e8\u7f72\u53ef\u5efa\u7acb\u5b8c\u6574\u7684\u786c\u4ef6\u6545\u969c\u9884\u8b66\u7f51\u7edc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb720\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\ud83d\udccc \u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u6307\u5357 \u6838\u5fc3\u65b9\u6848\uff1a 1\ufe0f\u20e3 \u9884\u8b66\u76d1\u63a7 \u78c1\u76d8\uff1aSMART\u76d1\u63a7\u5173\u952e\u6307\u6807\uff08Reallocated_Sector&gt;0\u5373\u544a\u8b66\uff09 \u5185\u5b58\uff1aECC\u9519\u8bef\/\u6e29\u5ea6\u901a\u8fc7IPMI\u5b9e\u65f6\u91c7\u96c6 \u5de5\u5177\u94fe\uff1aPrometheus+Node_exporter+Grafana\u53ef\u89c6\u5316 2\ufe0f\u20e3 \u56db\u5c42\u9632\u62a4 \u786c\u4ef6\u5c42\uff1asmartctl\/RAID\u72b6\u6001\u76d1\u63a7 \u7cfb\u7edf\u5c42\uff1aiostat\u8ddf\u8e2aI\/O\u7b49\u5f85 \u65e5\u5fd7\u5c42\uff1aELK\u5206\u6790\u786c\u4ef6\u9519\u8bef\u65e5\u5fd7 \u5e94\u7528\u5c42\uff1a\u5d4c\u5165\u78c1\u76d8\u5ef6\u8fdf\u68c0\u6d4b\u4ee3\u7801 3\ufe0f\u20e3 \u7ef4\u62a4\u8282\u594f \u6bcf\u65e5\uff1a\u68c0\u67e5I\/O\u7b49\u5f85\u548cdmesg\u9519\u8bef \u6bcf\u5468\uff1a\u78c1\u76d8\u77ed\u6d4b\u8bd5+<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5503,2323,4541,43,44],"topic":[],"class_list":["post-54048","post","type-post","status-publish","format-standard","hentry","category-server","tag-fab","tag-it","tag-4541","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/54048.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb720\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\ud83d\udccc \u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u6307\u5357 \u6838\u5fc3\u65b9\u6848\uff1a 1\ufe0f\u20e3 \u9884\u8b66\u76d1\u63a7 \u78c1\u76d8\uff1aSMART\u76d1\u63a7\u5173\u952e\u6307\u6807\uff08Reallocated_Sector&gt;0\u5373\u544a\u8b66\uff09 \u5185\u5b58\uff1aECC\u9519\u8bef\/\u6e29\u5ea6\u901a\u8fc7IPMI\u5b9e\u65f6\u91c7\u96c6 \u5de5\u5177\u94fe\uff1aPrometheus+Node_exporter+Grafana\u53ef\u89c6\u5316 2\ufe0f\u20e3 \u56db\u5c42\u9632\u62a4 \u786c\u4ef6\u5c42\uff1asmartctl\/RAID\u72b6\u6001\u76d1\u63a7 \u7cfb\u7edf\u5c42\uff1aiostat\u8ddf\u8e2aI\/O\u7b49\u5f85 \u65e5\u5fd7\u5c42\uff1aELK\u5206\u6790\u786c\u4ef6\u9519\u8bef\u65e5\u5fd7 \u5e94\u7528\u5c42\uff1a\u5d4c\u5165\u78c1\u76d8\u5ef6\u8fdf\u68c0\u6d4b\u4ee3\u7801 3\ufe0f\u20e3 \u7ef4\u62a4\u8282\u594f \u6bcf\u65e5\uff1a\u68c0\u67e5I\/O\u7b49\u5f85\u548cdmesg\u9519\u8bef \u6bcf\u5468\uff1a\u78c1\u76d8\u77ed\u6d4b\u8bd5+\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/54048.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-12T13:30:13+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54048.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/54048.html\",\"name\":\"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-12T13:30:13+00:00\",\"dateModified\":\"2025-08-12T13:30:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/54048.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/54048.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/54048.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/54048.html","og_locale":"zh_CN","og_type":"article","og_title":"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb720\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\ud83d\udccc \u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u6307\u5357 \u6838\u5fc3\u65b9\u6848\uff1a 1\ufe0f\u20e3 \u9884\u8b66\u76d1\u63a7 \u78c1\u76d8\uff1aSMART\u76d1\u63a7\u5173\u952e\u6307\u6807\uff08Reallocated_Sector&gt;0\u5373\u544a\u8b66\uff09 \u5185\u5b58\uff1aECC\u9519\u8bef\/\u6e29\u5ea6\u901a\u8fc7IPMI\u5b9e\u65f6\u91c7\u96c6 \u5de5\u5177\u94fe\uff1aPrometheus+Node_exporter+Grafana\u53ef\u89c6\u5316 2\ufe0f\u20e3 \u56db\u5c42\u9632\u62a4 \u786c\u4ef6\u5c42\uff1asmartctl\/RAID\u72b6\u6001\u76d1\u63a7 \u7cfb\u7edf\u5c42\uff1aiostat\u8ddf\u8e2aI\/O\u7b49\u5f85 \u65e5\u5fd7\u5c42\uff1aELK\u5206\u6790\u786c\u4ef6\u9519\u8bef\u65e5\u5fd7 \u5e94\u7528\u5c42\uff1a\u5d4c\u5165\u78c1\u76d8\u5ef6\u8fdf\u68c0\u6d4b\u4ee3\u7801 3\ufe0f\u20e3 \u7ef4\u62a4\u8282\u594f \u6bcf\u65e5\uff1a\u68c0\u67e5I\/O\u7b49\u5f85\u548cdmesg\u9519\u8bef \u6bcf\u5468\uff1a\u78c1\u76d8\u77ed\u6d4b\u8bd5+","og_url":"https:\/\/www.wsisp.com\/helps\/54048.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-12T13:30:13+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/54048.html","url":"https:\/\/www.wsisp.com\/helps\/54048.html","name":"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-12T13:30:13+00:00","dateModified":"2025-08-12T13:30:13+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/54048.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/54048.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/54048.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u534a\u5bfc\u4f53FAB\u4e2d\u7684\u670d\u52a1\u5668\u786c\u4ef6\u6545\u969c\u76d1\u63a7\u4e0e\u9884\u9632\u5168\u65b9\u6848\uff1a\u4ece\u9884\u8b66\u5230\u96f6\u5b95\u673a\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=54048"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/54048\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=54048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=54048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=54048"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=54048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}