{"id":561285,"date":"2023-01-03T21:21:51","date_gmt":"2023-01-03T13:21:51","guid":{"rendered":"http:\/\/4563.org\/?p=561285"},"modified":"2023-01-03T21:21:51","modified_gmt":"2023-01-03T13:21:51","slug":"%e9%ba%bb%e7%83%a6%e9%97%ae%e4%b8%8blinux%e7%a1%ac%e7%9b%98%e6%96%b9%e9%9d%a2%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=561285","title":{"rendered":"\u9ebb\u70e6\u95ee\u4e0blinux\u786c\u76d8\u65b9\u9762\u7684\u95ee\u9898"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u658c\u658c<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u9ebb\u70e6\u95ee\u4e0blinux\u786c\u76d8\u65b9\u9762\u7684\u95ee\u9898<\/h3>\n<p>  \t\t\u6211\u76ee\u524d\u7cfb\u7edf\u9ed8\u8ba4\u4e00\u4e2a1.9\uff0c\u4e00\u4e2a1.5t\uff0c\u600e\u4e48\u80fd\u5408\u6210\u4e00\u4e2a\u7684\u3002<br \/>  \u6211\u73b0\u5728\u600e\u4e48\u624d\u80fd\u770b\u6211\u662fraid1\u5417\uff1f<br \/>  Filesystem&nbsp; &nbsp;&nbsp; &nbsp;SizeUsed Avail Use% Mounted on<br \/>  udev&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 63G&nbsp; &nbsp;0&nbsp; &nbsp;63G&nbsp; &nbsp;0% \/dev<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;13G844K&nbsp; &nbsp;13G&nbsp; &nbsp;1% \/run<br \/>  \/dev\/md2&nbsp; &nbsp;&nbsp; &nbsp;2.0T875M1.9T&nbsp; &nbsp;1% \/<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;63G&nbsp; &nbsp;0&nbsp; &nbsp;63G&nbsp; &nbsp;0% \/dev\/shm<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;5.0M&nbsp; &nbsp;05.0M&nbsp; &nbsp;0% \/run\/lock<br \/>  \/dev\/md1&nbsp; &nbsp;&nbsp; &nbsp;989M&nbsp; &nbsp;60M879M&nbsp; &nbsp;7% \/boot<br \/>  \/dev\/md3&nbsp; &nbsp;&nbsp; &nbsp;1.5T&nbsp; &nbsp;28K1.5T&nbsp; &nbsp;1% \/home<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;13G&nbsp; &nbsp;0&nbsp; &nbsp;13G&nbsp; &nbsp;0% \/run\/user\/0  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>toot<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7b7e\u540d&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Salta<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8f6f\u4ef6raid\uff1a\u53ea\u80fd\u901a\u8fc7Linux\u7cfb\u7edf\u672c\u8eab\u6765\u67e5\u770b<\/p>\n<p>  cat \/proc\/mdstat<br \/>  \u53ef\u4ee5\u770b\u5230raid\u7ea7\u522b\uff0c\u72b6\u6001\u7b49\u4fe1\u606f\u3002<\/p>\n<p>  \u786c\u4ef6raid\uff1a \u6700\u4f73\u7684\u529e\u6cd5\u662f\u901a\u8fc7\u5df2\u5b89\u88c5\u7684raid\u5382\u5546\u7684\u7ba1\u7406\u5de5\u5177\u6765\u67e5\u770b\uff0c\u6709cmdline\uff0c\u4e5f\u6709\u56fe\u5f62\u754c\u9762\u3002\u5982Adaptec\u516c\u53f8\u7684\u786c\u4ef6\u5361\u5c31\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u67e5\u770b\uff1a<\/p>\n<p>  # \/usr\/dpt\/raidutil -L all<br \/>  \u53ef\u4ee5\u770b\u5230\u975e\u5e38\u8be6\u7ec6\u7684\u4fe1\u606f\u3002<\/p>\n<p>  \u5f53\u7136\u66f4\u591a\u60c5\u51b5\u662f\u6ca1\u6709\u5b89\u88c5\u76f8\u5e94\u7684\u7ba1\u7406\u5de5\u5177\uff0c\u53ea\u80fd\u4f9d\u9760Linux\u672c\u8eab\u7684\u8bdd\u4e00\u822c\u6211\u77e5\u9053\u7684\u662f\u4e24\u79cd\u65b9\u5f0f\uff1a<\/p>\n<p>  # dmesg |grep -i raid# cat \/proc\/scsi\/scsi<br \/>  \u663e\u793a\u7684\u4fe1\u606f\u5dee\u4e0d\u591a\uff0craid\u7684\u5382\u5546\uff0c\u578b\u53f7\uff0c\u7ea7\u522b\uff0c\u4f46\u65e0\u6cd5\u67e5\u770b\u5404\u5757\u786c\u76d8\u7684\u4fe1\u606f\u3002<\/p>\n<p>  \u53e6\u5916\u7ecf\u8fc7\u5b9e\u9645\u6d4b\u8bd5\uff0cDell\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u6765\u663e\u793a\uff0c\u800cHP\u3001IBM\u7b49\u7684\u670d\u52a1\u5668\u901a\u8fc7\u4e0a\u9762\u7684\u547d\u4ee4\u662f\u663e\u793a\u4e0d\u51fa\u7684\u3002\u53ea\u80fd\u591f\u901a\u8fc7\u88c5\u786c\u4ef6\u5382\u5546\u7684\u7ba1\u7406\u5de5\u5177\u6765\u67e5\u770bDELL\u7684BMC\u53ef\u4ee5\u67e5\u770b\u3002<\/p>\n<p>  cat \/proc\/scsi\/scsi<br \/>  \u53ef\u4ee5\u770b\u5230\u662fSCSI\u4e0a\u7684\u8bbe\u5907\u3002\u4e00\u822c\u60c5\u51b5\u53ef\u4ee5\u770b\u5230RAID\u7ea7\u522b\u3002lspci\u53ef\u4ee5\u770b\u5230RAID\u5361\u7684\u578b\u53f7\u3002<\/p>\n<p>  rpm -ivh MegaCli-1.01.09-0.i386.rpm<br \/>  \u547d\u4ee4\u4f7f\u7528\uff1a<\/p>\n<p>  MegaCli -LDInfo -Lall -aALL \u67e5raid\u7ea7\u522bMegaCli -AdpAllInfo -aALL \u67e5raid\u5361\u4fe1\u606fMegaCli -PDList -aALL \u67e5\u770b\u786c\u76d8\u4fe1\u606fMegaCli -AdpBbuCmd -aAll \u67e5\u770b\u7535\u6c60\u4fe1\u606fMegaCli -FwTermLog -Dsply -aALL \u67e5\u770braid\u5361\u65e5\u5fd7<\/p>\n<p>  \u5408\u6210\u4e00\u4e2a\u7684\u8bdd \u5efa\u8bae\u767e\u5ea6\u4e00\u4e0b\uff0c\u6709\u6559\u7a0b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u658c\u658c<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tSalta \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2023-1-3 21:27<br \/>  \u8f6f\u4ef6raid\uff1a\u53ea\u80fd\u901a\u8fc7Linux\u7cfb\u7edf\u672c\u8eab\u6765\u67e5\u770b<\/p>\n<p>  cat \/proc\/mdstat<\/p>\n<p> Personalities :         <br \/>  md1 : active raid1 nvme1n1p2 nvme0n1p2<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;1046528 blocks super 1.2  <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; resync=DELAYED<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;<br \/>  md3 : active raid1 nvme0n1p4 nvme1n1p4<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;1633529152 blocks super 1.2  <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; resync=DELAYED<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;bitmap: 13\/13 pages , 65536KB chunk<\/p>\n<p>  md0 : active (auto-read-only) raid1 nvme0n1p1 nvme1n1p1<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;4189184 blocks super 1.2  <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;<br \/>  md2 : active raid1 nvme1n1p3 nvme0n1p3<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;2111699968 blocks super 1.2  <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;[==============&gt;&#8230;&#8230;]resync = 74.8% (1581152384\/2111699968) finish=44.2min speed=200048K\/sec<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;bitmap: 5\/16 pages , 65536KB chunk<\/p>\n<p>  unused devices: &lt;none&gt;  \t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u658c\u658c \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u9ebb\u70e6\u95ee\u4e0bli&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/561285"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=561285"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/561285\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=561285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=561285"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=561285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}