{"id":33057,"date":"2026-09-07T10:00:00","date_gmt":"2026-09-07T02:00:00","guid":{"rendered":"https:\/\/cn.hostease.com\/blog\/?p=33057"},"modified":"2026-09-13T12:56:39","modified_gmt":"2026-09-13T04:56:39","slug":"smartctl-dedicated-server","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/blog\/guides\/smartctl-dedicated-server\/","title":{"rendered":"smartctl \u78c1\u76d8\u5065\u5eb7\u5de1\u68c0\uff1a\u72ec\u7acb\u670d\u52a1\u5668\u574f\u9053\u9884\u8b66\u4e0e\u66f4\u6362\u5224\u65ad"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/cn.hostease.com\/blog\/wp-content\/uploads\/2026\/09\/smartctl-dedicated-server-cover.webp\" alt=\"smartctl \u78c1\u76d8\u5065\u5eb7\u5de1\u68c0\u5c01\u9762\u56fe\" loading=\"lazy\" \/><\/p>\n<p>\u5728<a href=\"https:\/\/cn.hostease.com\/dedicated-server\/\">\u72ec\u7acb\u670d\u52a1\u5668<\/a>\u7684\u6240\u6709\u786c\u4ef6\u4e2d\uff0c\u673a\u68b0\u78c1\u76d8\u662f\u6545\u969c\u7387\u6700\u9ad8\u7684\u90e8\u4ef6\u4e4b\u4e00\u3002\u4e00\u5757\u78c1\u76d8\u4ece\u51fa\u73b0\u7b2c\u4e00\u4e2a\u574f\u9053\u5230\u5f7b\u5e95\u5931\u6548\uff0c\u53ef\u80fd\u662f\u51e0\u5468\uff0c\u4e5f\u53ef\u80fd\u53ea\u6709\u51e0\u5929\u3002\u5982\u679c\u4f60\u7b49\u5230\u7f51\u7ad9\u6253\u4e0d\u5f00\u3001\u6570\u636e\u5e93\u62a5\u9519\u624d\u53d1\u73b0\u95ee\u9898\uff0c\u6062\u590d\u6210\u672c\u4f1a\u6210\u500d\u653e\u5927\u3002\u672c\u6587\u6559\u4f60\u5982\u4f55\u7528 smartctl \u8fd9\u6b3e\u5f00\u6e90\u5de5\u5177\u8bfb\u53d6\u78c1\u76d8\u7684 SMART\uff08\u786c\u76d8\u81ea\u76d1\u6d4b\u5206\u6790\u62a5\u544a\u6280\u672f\uff09\u6570\u636e\uff0c\u5728\u574f\u9053\u6269\u6563\u4e4b\u524d\u62ff\u5230\u9884\u8b66\u4fe1\u53f7\uff0c\u5e76\u7ed9\u51fa\u4e00\u4efd\u53ef\u6267\u884c\u7684\u78c1\u76d8\u66f4\u6362\u5224\u65ad\u6807\u51c6\uff0c\u5e2e\u52a9\u628a\u7a81\u53d1\u6545\u969c\u53d8\u6210\u53ef\u63a7\u7684\u8ba1\u5212\u5185\u7ef4\u62a4\u3002<\/p>\n<p>\u65e0\u8bba\u662f\u81ea\u884c\u7ba1\u7406\u7684<a href=\"https:\/\/cn.hostease.com\/dedicated-server\/\">\u7269\u7406\u670d\u52a1\u5668<\/a>\uff0c\u8fd8\u662f <a href=\"https:\/\/cn.hostease.com\/dedicated-server\/\">Hostease \u72ec\u7acb\u670d\u52a1\u5668<\/a>\uff0c\u53ea\u8981\u62e5\u6709 root \u6743\u9650\uff0c\u90fd\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u672c\u6587\u7684\u65b9\u6cd5\u3002\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u5efa\u8bae\u5148\u901a\u8fc7 IPMI \u6216\u670d\u52a1\u5546\u540e\u53f0\u786e\u8ba4\u673a\u5668\u7684\u78c1\u76d8\u6570\u91cf\u4e0e\u9635\u5217\u914d\u7f6e\uff0c\u56e0\u4e3a RAID\uff08\u72ec\u7acb\u5197\u4f59\u78c1\u76d8\u9635\u5217\uff09\u5361\u4e0b\u7684\u865a\u62df\u76d8\u548c\u76f4\u901a\u7684\u7269\u7406\u76d8\uff0c\u5728 smartctl \u4e2d\u7684\u67e5\u8be2\u65b9\u5f0f\u7565\u6709\u5dee\u522b\u3002<\/p>\n<h2>smartctl \u662f\u4ec0\u4e48\uff1a\u5148\u62ff\u5230\u5de5\u5177\u518d\u8c08\u5de1\u68c0<\/h2>\n<p>smartctl \u662f smartmontools \u8f6f\u4ef6\u5305\u4e2d\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u80fd\u591f\u76f4\u63a5\u8bfb\u53d6\u78c1\u76d8\u56fa\u4ef6\u8bb0\u5f55\u7684 SMART \u5c5e\u6027\u3002SMART \u662f\u5185\u7f6e\u4e8e\u78c1\u76d8\u56fa\u4ef6\u7684\u81ea\u76d1\u6d4b\u673a\u5236\uff0c\u4f1a\u6301\u7eed\u8bb0\u5f55\u78c1\u5934\u3001\u76d8\u7247\u3001\u7535\u673a\u7b49\u90e8\u4ef6\u7684\u8fd0\u884c\u72b6\u6001\u3002\u5b89\u88c5\u975e\u5e38\u7b80\u5355\uff0cDebian \u548c Ubuntu \u6267\u884c\uff1a<\/p>\n<pre><code>apt install -y smartmontools\n<\/code><\/pre>\n<p>CentOS \u4e0e\u5176\u4ed6\u4f7f\u7528 dnf \u7684\u53d1\u884c\u7248\u6267\u884c\uff1a<\/p>\n<pre><code>dnf install -y smartmontools\n<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5148\u7528\u4e00\u6761\u6700\u77ed\u7684\u547d\u4ee4\u786e\u8ba4\u78c1\u76d8\u6574\u4f53\u5065\u5eb7\u72b6\u6001\uff1a<\/p>\n<pre><code>smartctl -H \/dev\/sda\n<\/code><\/pre>\n<p>\u8f93\u51fa\u4e2d\u7684 <code>SMART overall-health self-assessment test result<\/code> \u4e00\u884c\u662f\u6838\u5fc3\u7ed3\u8bba\uff1a<code>PASSED<\/code> \u8868\u793a\u78c1\u76d8\u81ea\u68c0\u901a\u8fc7\uff0c<code>FAILED!<\/code> \u5219\u610f\u5473\u7740\u78c1\u76d8\u5df2\u7ecf\u5224\u5b9a\u81ea\u8eab\u5373\u5c06\u5931\u6548\uff0c\u5fc5\u987b\u7acb\u5373\u5b89\u6392\u66f4\u6362\u3002\u8981\u770b\u5b8c\u6574\u7684\u5c5e\u6027\u5217\u8868\uff0c\u628a <code>-H<\/code> \u6362\u6210 <code>-A<\/code>\uff1b\u8981\u4e00\u6b21\u770b\u5168\u90e8\u4fe1\u606f\uff08\u5305\u62ec\u578b\u53f7\u3001\u5e8f\u5217\u53f7\u3001\u6e29\u5ea6\u548c\u9519\u8bef\u65e5\u5fd7\uff09\uff0c\u4f7f\u7528 <code>smartctl -a \/dev\/sda<\/code>\u3002\u9700\u8981\u6ce8\u610f\uff0c\u5982\u679c\u670d\u52a1\u5668\u4f7f\u7528\u4e86 RAID \u5361\uff0c\u7cfb\u7edf\u53ef\u80fd\u53ea\u770b\u5230\u865a\u62df\u76d8\uff0c\u6b64\u65f6\u9700\u8981\u52a0 <code>--device=cciss,N<\/code> \u6216 <code>sat+<\/code> \u7b49\u53c2\u6570\u7a7f\u900f\u9635\u5217\u5361\u67e5\u8be2\u6210\u5458\u76d8\uff0c\u5177\u4f53\u4ee5 RAID \u5361\u578b\u53f7\u4e3a\u51c6\u3002<\/p>\n<h2>\u4e94\u4e2a\u5fc5\u987b\u76ef\u4f4f\u7684\u5173\u952e SMART \u6307\u6807<\/h2>\n<p><code>smartctl -A<\/code> \u4f1a\u8f93\u51fa\u51e0\u5341\u884c\u5c5e\u6027\uff0c\u4f46\u7edd\u5927\u591a\u6570\u4e0e\u574f\u9053\u9884\u8b66\u65e0\u5173\u3002\u673a\u68b0\u76d8\u4e0a\u771f\u6b63\u503c\u5f97\u6bcf\u5929\u76ef\u4f4f\u7684\uff0c\u662f\u4e0b\u9762\u8fd9\u4e94\u4e2a\u6307\u6807\uff0c\u8fd9\u4e5f\u662f\u5224\u65ad\u78c1\u76d8\u662f\u5426\u6b63\u5728\u6076\u5316\u7684\u6838\u5fc3\u4f9d\u636e\uff1a<\/p>\n<ul>\n<li><strong>Reallocated_Sector_Ct\uff0805\uff0c\u91cd\u5206\u914d\u6247\u533a\u6570\uff09<\/strong>\uff1a\u78c1\u76d8\u628a\u635f\u574f\u6247\u533a\u7684\u6570\u636e\u642c\u5230\u5907\u7528\u6247\u533a\u7684\u6b21\u6570\u3002\u539f\u59cb\u503c\u5927\u4e8e 0 \u8bf4\u660e\u76d8\u9762\u5df2\u7ecf\u51fa\u73b0\u7269\u7406\u574f\u9053\uff0c\u6570\u503c\u6301\u7eed\u589e\u957f\u662f\u6700\u5371\u9669\u7684\u4fe1\u53f7\u3002<\/li>\n<li><strong>Current_Pending_Sector\uff08197\uff0c\u5f85\u5b9a\u6247\u533a\u6570\uff09<\/strong>\uff1a\u7b49\u5f85\u91cd\u6620\u5c04\u7684\u4e0d\u7a33\u5b9a\u6247\u533a\u3002\u8fd9\u4e2a\u503c\u4e0d\u4e3a 0 \u4e14\u589e\u957f\uff0c\u8bf4\u660e\u574f\u9053\u6b63\u5728\u6d3b\u8dc3\u4ea7\u751f\uff0c\u968f\u65f6\u53ef\u80fd\u4e22\u6570\u636e\u3002<\/li>\n<li><strong>Offline_Uncorrectable\uff08198\uff0c\u79bb\u7ebf\u4e0d\u53ef\u4fee\u590d\u6247\u533a\u6570\uff09<\/strong>\uff1a\u79bb\u7ebf\u81ea\u68c0\u65f6\u65e0\u6cd5\u4fee\u590d\u7684\u9519\u8bef\u6247\u533a\uff0c\u5927\u4e8e 0 \u901a\u5e38\u610f\u5473\u7740\u76d8\u7247\u7269\u7406\u635f\u4f24\u3002<\/li>\n<li><strong>Power_On_Hours\uff0809\uff0c\u7d2f\u8ba1\u901a\u7535\u65f6\u95f4\uff09<\/strong>\uff1a\u673a\u68b0\u76d8\u8bbe\u8ba1\u5bff\u547d\u4e00\u822c\u4e3a 5 \u5e74\u7ea6 43800 \u5c0f\u65f6\uff0c\u8d85\u8fc7 3 \u4e07\u5c0f\u65f6\u5c31\u5e94\u63d0\u9ad8\u5de1\u68c0\u9891\u7387\u3002<\/li>\n<li><strong>Temperature_Celsius\uff08194\uff0c\u6e29\u5ea6\uff09<\/strong>\uff1a\u6301\u7eed\u9ad8\u4e8e 45 \u6444\u6c0f\u5ea6\u4f1a\u52a0\u901f\u78c1\u5934\u548c\u76d8\u7247\u8001\u5316\uff0c\u662f\u574f\u9053\u7684\u95f4\u63a5\u63a8\u624b\u3002<\/li>\n<\/ul>\n<p>\u770b\u6307\u6807\u65f6\u8981\u517b\u6210\u8bb0\u5f55\u57fa\u7ebf\u7684\u4e60\u60ef\uff1a\u7b2c\u4e00\u6b21\u5de1\u68c0\u65f6\u628a\u6bcf\u5757\u76d8\u7684 05\u3001197\u3001198 \u539f\u59cb\u503c\u8bb0\u4e0b\u6765\uff0c\u4e4b\u540e\u5bf9\u6bd4\u624d\u6709\u610f\u4e49\u3002\u5355\u6b21\u5feb\u7167\u91cc raw \u503c\u4e3a 0 \u56fa\u7136\u662f\u597d\u8ff9\u8c61\uff0c\u4f46\u771f\u6b63\u7684\u9884\u8b66\u6765\u81ea\u6570\u503c\u968f\u65f6\u95f4\u7684\u589e\u957f\u8d8b\u52bf\uff0c\u8fd9\u4e00\u70b9\u5728\u540e\u9762\u7684\u5224\u65ad\u6807\u51c6\u4e2d\u4f1a\u53cd\u590d\u7528\u5230\u3002\u5bf9 NVMe \u56fa\u6001\u76d8\uff0c\u5c5e\u6027\u7ed3\u6784\u4e0d\u540c\uff0c\u91cd\u70b9\u770b <code>smartctl -a \/dev\/nvme0<\/code> \u8f93\u51fa\u4e2d\u7684 <code>percentage_used<\/code>\uff08\u5df2\u6d88\u8017\u5bff\u547d\u767e\u5206\u6bd4\uff09\u4e0e <code>media_errors<\/code>\uff08\u4ecb\u8d28\u9519\u8bef\u8ba1\u6570\uff09\u4e24\u4e2a\u5b57\u6bb5\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cn.hostease.com\/blog\/wp-content\/uploads\/2026\/09\/smartctl-smart-metrics.webp\" alt=\"SMART \u5173\u952e\u6307\u6807\u76d1\u63a7\u793a\u610f\" loading=\"lazy\" \/><\/p>\n<h2>\u574f\u9053\u9884\u8b66\uff1a\u4ece\u6307\u6807\u6570\u5b57\u5230\u66f4\u6362\u51b3\u7b56<\/h2>\n<p>\u6709\u4e86\u6307\u6807\uff0c\u4e0b\u4e00\u6b65\u662f\u628a\u5b83\u7ffb\u8bd1\u6210&#8221;\u8981\u4e0d\u8981\u6362\u76d8&#8221;\u7684\u51b3\u7b56\u3002\u4ee5\u4e0b\u6807\u51c6\u7efc\u5408\u4e86\u5404\u5bb6\u78c1\u76d8\u5382\u5546\u7684\u767d\u76ae\u4e66\u4e0e\u5927\u91cf\u8fd0\u7ef4\u5b9e\u8df5\uff0c\u6309\u7d27\u6025\u7a0b\u5ea6\u4ece\u9ad8\u5230\u4f4e\u6392\u5217\uff1a<\/p>\n<ul>\n<li><strong>\u7acb\u5373\u66f4\u6362<\/strong>\uff1a<code>smartctl -H<\/code> \u7ed3\u679c\u4e3a <code>FAILED!<\/code>\uff1b\u6216 197\u3001198 \u7684 raw \u503c\u4e0d\u4e3a 0 \u4e14\u5728\u6570\u6b21\u5de1\u68c0\u95f4\u6301\u7eed\u589e\u957f\u3002\u8fd9\u8bf4\u660e\u574f\u9053\u6b63\u5728\u6d3b\u8dc3\u6269\u6563\uff0cRAID \u9635\u5217\u968f\u65f6\u53ef\u80fd\u56e0\u4e8c\u6b21\u635f\u574f\u800c\u5d29\u6e83\u3002<\/li>\n<li><strong>\u4e24\u5468\u5185\u8ba1\u5212\u66f4\u6362<\/strong>\uff1a05 \u7684 raw \u503c\u5927\u4e8e 0 \u4e14\u7f13\u6162\u589e\u957f\uff0c\u540c\u65f6\u4f34\u968f 197 \u5076\u53d1\u6027\u975e\u96f6\u3002\u574f\u9053\u5df2\u6709\u6269\u6563\u8ff9\u8c61\uff0c\u5e94\u8d81\u6570\u636e\u4ecd\u5b8c\u6574\u65f6\u5b89\u6392\u6362\u76d8\u7a97\u53e3\u3002<\/li>\n<li><strong>\u52a0\u5f3a\u76d1\u63a7<\/strong>\uff1a05 \u7684 raw \u503c\u4e3a\u4e00\u4e2a\u7a33\u5b9a\u7684\u5c0f\u6570\u5b57\uff08\u5982 1-10\uff09\uff0c\u957f\u671f\u4e0d\u589e\u957f\u3002\u8fd9\u662f\u78c1\u76d8\u65e9\u671f\u81ea\u6108\u7559\u4e0b\u7684\u75d5\u8ff9\uff0c\u53ef\u4ee5\u7ee7\u7eed\u670d\u5f79\uff0c\u4f46\u5de1\u68c0\u9891\u7387\u5e94\u63d0\u9ad8\u5230\u6bcf\u5929\u4e00\u6b21\u3002<\/li>\n<li><strong>\u6309\u5bff\u547d\u89c4\u5212<\/strong>\uff1a\u901a\u7535\u65f6\u95f4\u8d85\u8fc7 4 \u4e07\u5c0f\u65f6\u4f46\u4e0a\u8ff0\u6307\u6807\u5168\u90e8\u6b63\u5e38\u3002\u5efa\u8bae\u5217\u5165\u5e74\u5ea6\u6362\u76d8\u9884\u7b97\uff0c\u907f\u514d\u591a\u5757\u76d8\u540c\u65f6\u5230\u8fbe\u5bff\u547d\u7ec8\u70b9\u3002<\/li>\n<\/ul>\n<p>\u5224\u65ad\u4e4b\u5916\u8fd8\u8981\u4e3b\u52a8\u65bd\u538b\uff1a\u6267\u884c <code>smartctl -t short \/dev\/sda<\/code> \u89e6\u53d1\u7ea6\u4e24\u5206\u949f\u7684\u77ed\u81ea\u68c0\uff0c\u7528 <code>smartctl -l selftest \/dev\/sda<\/code> \u67e5\u770b\u7ed3\u679c\uff1b\u6bcf\u6708\u5b89\u6392\u4e00\u6b21 <code>smartctl -t long<\/code> \u6df1\u5ea6\u626b\u63cf\u3002\u81ea\u68c0\u76f4\u63a5\u8bfb\u53d6\u76d8\u7247\u5168\u8868\u9762\uff0c\u6bd4\u88ab\u52a8\u7b49\u5f85 SMART \u8ba1\u6570\u66f4\u80fd\u63d0\u524d\u66b4\u9732\u6f5c\u5728\u574f\u9053\u3002\u6362\u76d8\u51b3\u7b56\u6c38\u8fdc\u4e0d\u8981\u53ea\u770b\u5355\u4e00\u6307\u6807\uff0c\u628a\u5065\u5eb7\u7ed3\u8bba\u3001\u589e\u957f\u8d8b\u52bf\u3001\u81ea\u68c0\u7ed3\u679c\u548c\u673a\u7bb1\u5185\u540c\u6279\u6b21\u78c1\u76d8\u7684\u8868\u73b0\u653e\u5728\u4e00\u8d77\u6743\u8861\uff0c\u7ed3\u8bba\u624d\u53ef\u9760\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cn.hostease.com\/blog\/wp-content\/uploads\/2026\/09\/smartctl-disk-comparison.webp\" alt=\"\u5065\u5eb7\u76d8\u4e0e\u574f\u9053\u76d8\u5bf9\u6bd4\" loading=\"lazy\" \/><\/p>\n<h2>\u628a\u5de1\u68c0\u81ea\u52a8\u5316\uff1a\u7528 smartd \u4ee3\u66ff\u4eba\u5de5\u76ef\u68a2<\/h2>\n<p>\u624b\u52a8\u5de1\u68c0\u6700\u5927\u7684\u95ee\u9898\u662f&#8221;\u5fd9\u8d77\u6765\u5c31\u5fd8\u4e86&#8221;\u3002smartmontools \u81ea\u5e26\u7684 smartd \u5b88\u62a4\u8fdb\u7a0b\u53ef\u4ee5\u5f7b\u5e95\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u7f16\u8f91 <code>\/etc\/smartd.conf<\/code>\uff0c\u7528\u4e00\u884c\u914d\u7f6e\u8986\u76d6\u6240\u6709\u78c1\u76d8\uff1a<\/p>\n<pre><code>DEVICESCAN -H -l error -l selftest -m root -M daily\n<\/code><\/pre>\n<p>\u8fd9\u884c\u914d\u7f6e\u8ba9 smartd \u6bcf 30 \u5206\u949f\u8f6e\u8be2\u4e00\u6b21\u6240\u6709\u78c1\u76d8\u7684\u603b\u4f53\u5065\u5eb7\u4e0e\u9519\u8bef\u65e5\u5fd7\uff0c\u4e00\u65e6\u4efb\u4e00\u9879\u4ece PASSED \u6076\u5316\uff0c\u7acb\u5373\u7ed9 root \u90ae\u7bb1\u53d1\u4fe1\uff0c\u4e14\u6076\u5316\u671f\u95f4\u6bcf\u5929\u63d0\u9192\u4e00\u6b21\u3002\u6539\u5b8c\u914d\u7f6e\u540e\u542f\u7528\u670d\u52a1\uff1a<\/p>\n<pre><code>systemctl enable --now smartd\n<\/code><\/pre>\n<p>\u5982\u679c\u5e0c\u671b\u628a\u5de1\u68c0\u6570\u636e\u63a5\u5165\u73b0\u6709\u7684\u76d1\u63a7\u4f53\u7cfb\uff0c\u53ef\u4ee5\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u5b9a\u65f6\u811a\u672c\uff0c\u628a 05\u3001197\u3001198 \u7684 raw \u503c\u8f93\u51fa\u4e3a\u76d1\u63a7\u7cfb\u7edf\u80fd\u6293\u53d6\u7684\u683c\u5f0f\u3002\u4e00\u4e2a\u53ef\u7528\u7684\u6700\u5c0f\u793a\u4f8b\uff1a<\/p>\n<pre><code>#!\/bin\/bash\nfor d in \/dev\/sd?; do\n  echo -n \"$d reallocated=\"\n  smartctl -A \"$d\" | awk '\/Reallocated_Sector_Ct\/{print $10}'\ndone\n<\/code><\/pre>\n<p>\u914d\u5408 cron \u6bcf\u5c0f\u65f6\u6267\u884c\uff0c\u8f93\u51fa\u63a5\u5165 Zabbix \u6216 Prometheus \u7684\u6587\u672c\u91c7\u96c6\u5668\u5373\u53ef\u5b9e\u73b0\u8d8b\u52bf\u544a\u8b66\u3002\u5de1\u68c0\u81ea\u52a8\u5316\u53ea\u662f\u8fd0\u7ef4\u4f53\u7cfb\u7684\u4e00\u73af\uff0c\u78c1\u76d8\u5065\u5eb7\u4e0e\u6574\u673a\u8d1f\u8f7d\u3001\u7f51\u7edc\u8d28\u91cf\u5171\u540c\u51b3\u5b9a\u4e1a\u52a1\u7a33\u5b9a\u6027\uff0c\u8fd9\u4e9b\u5185\u5bb9\u4e0e <a href=\"https:\/\/cn.hostease.com\/blog\/server\/\">\u670d\u52a1\u5668\u8fd0\u7ef4\u5b9e\u8df5<\/a>\u4e2d\u7684\u5176\u4ed6\u76d1\u63a7\u9879\u53ef\u4ee5\u7edf\u4e00\u89c4\u5212\uff0c\u800c <a href=\"https:\/\/cn.hostease.com\/blog\/guides\/ttfb-hosting-optimization\/\">\u6027\u80fd\u4f18\u5316\u6307\u5357<\/a>\u5219\u9002\u5408\u4f5c\u4e3a\u5de1\u68c0\u4e4b\u540e\u7684\u4e0b\u4e00\u6b65\u8bfb\u7269\u3002<\/p>\n<h2>\u6362\u76d8\u524d\u7684\u51c6\u5907\u4e0e\u603b\u7ed3\u5efa\u8bae<\/h2>\n<p>\u4e00\u65e6\u51b3\u5b9a\u66f4\u6362\u78c1\u76d8\uff0c\u5148\u505a\u597d\u4e09\u4ef6\u4e8b\u518d\u52a8\u624b\uff1a\u7b2c\u4e00\uff0c\u786e\u8ba4\u5907\u4efd\u53ef\u7528\uff0c\u7528\u5b9e\u9645\u6062\u590d\u6f14\u7ec3\u9a8c\u8bc1\u8fc7\u7684\u5907\u4efd\u624d\u7b97\u6570\uff1b\u7b2c\u4e8c\uff0c\u8bb0\u5f55 RAID \u9635\u5217\u5f53\u524d\u72b6\u6001\uff0c\u4f8b\u5982\u6267\u884c <code>cat \/proc\/mdstat<\/code> \u4e0e <code>mdadm --detail \/dev\/md0<\/code> \u7559\u5e95\uff1b\u7b2c\u4e09\uff0c\u5411\u670d\u52a1\u5546\u6216\u673a\u623f\u786e\u8ba4\u70ed\u63d2\u62d4\u652f\u6301\u4e0e\u5907\u4ef6\u5230\u4f4d\u65f6\u95f4\uff0c\u907f\u514d\u62c6\u76d8\u540e\u957f\u65f6\u95f4\u964d\u7ea7\u8fd0\u884c\u3002\u6362\u76d8\u540e\u7b2c\u4e00\u65f6\u95f4\u91cd\u5efa\u9635\u5217\uff0c\u5e76\u628a\u65b0\u76d8\u7eb3\u5165 smartd \u76d1\u63a7\uff0c\u91cd\u65b0\u5efa\u7acb\u6307\u6807\u57fa\u7ebf\u3002<\/p>\n<p>\u603b\u7ed3\u4e00\u4e0b\uff1a\u78c1\u76d8\u6545\u969c\u4e0d\u53ef\u9884\u6d4b\uff0c\u4f46\u574f\u9053\u6269\u6563\u6709\u8ff9\u53ef\u5faa\u3002\u5efa\u8bae\u4e3a\u6bcf\u53f0\u72ec\u7acb\u670d\u52a1\u5668\u5efa\u7acb&#8221;\u57fa\u7ebf\u8bb0\u5f55 + \u6bcf\u5468\u6bd4\u5bf9 + smartd \u5b9e\u65f6\u544a\u8b66&#8221;\u7684\u4e09\u5c42\u5de1\u68c0\u4f53\u7cfb\uff1b05\u3001197\u3001198 \u4e09\u9879\u6307\u6807\u4efb\u4f55\u4e00\u9879\u6301\u7eed\u589e\u957f\uff0c\u5c31\u5e94\u5f53\u542f\u52a8\u6362\u76d8\u8bc4\u4f30\uff0c\u800c\u4e0d\u662f\u7b49\u5230\u9635\u5217\u964d\u7ea7\u518d\u88ab\u52a8\u5e94\u5bf9\u3002\u5982\u679c\u4f60\u7684\u4e1a\u52a1\u8fd8\u6ca1\u6709\u5230\u72ec\u4eab\u7269\u7406\u786c\u4ef6\u7684\u89c4\u6a21\uff0c\u4e5f\u53ef\u4ee5\u8003\u8651\u5148\u7528 <a href=\"https:\/\/cn.hostease.com\/vps\/\">Hostease VPS\uff08\u865a\u62df\u4e13\u7528\u670d\u52a1\u5668\uff09<\/a> \u627f\u8f7d\uff0c\u628a\u5e95\u5c42\u786c\u4ef6\u5de1\u68c0\u4ea4\u7ed9\u670d\u52a1\u5546\uff0c\u628a\u7cbe\u529b\u96c6\u4e2d\u5728\u5e94\u7528\u5c42\uff1b\u5f85\u6d41\u91cf\u4e0e\u6570\u636e\u91cf\u4e0a\u6765\u540e\u518d\u8fc1\u79fb\u5230\u72ec\u7acb\u670d\u52a1\u5668\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u5f62\u6001\uff0c\u628a\u78c1\u76d8\u5065\u5eb7\u5de1\u68c0\u5199\u8fdb\u65e5\u5e38\u8fd0\u7ef4\u6e05\u5355\uff0c\u90fd\u662f\u6210\u672c\u6700\u4f4e\u7684\u53ef\u9760\u6027\u6295\u8d44\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528 smartctl \u8bfb\u53d6 SMART \u6570\u636e\uff0c\u8bc6\u522b\u72ec\u7acb\u670d\u52a1\u5668\u78c1\u76d8\u574f\u9053\u9884\u8b66\u4fe1\u53f7\uff0c\u638c\u63e1\u5173\u952e\u6307\u6807\u542b\u4e49\u3001\u5de1\u68c0\u81ea\u52a8\u5316\u65b9\u6cd5\u4e0e\u78c1\u76d8\u66f4\u6362\u5224\u65ad\u6807\u51c6\u3002<\/p>\n","protected":false},"author":2,"featured_media":33054,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3822],"tags":[5038,5036,5039,70,5037],"class_list":["post-33057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-smart","tag-smartctl","tag-5039","tag-70","tag-5037"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/cn.hostease.com\/blog\/wp-content\/uploads\/2026\/09\/smartctl-dedicated-server-cover.webp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/33057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/comments?post=33057"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/33057\/revisions"}],"predecessor-version":[{"id":33058,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/33057\/revisions\/33058"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/media\/33054"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/media?parent=33057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/categories?post=33057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/tags?post=33057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}