\u4e0b\u9762\u547d\u4ee4\u67e5\u770b\u673a\u5668\u4e2d\u7684RAID\u63a7\u5236\u5668\u4fe1\u606f<\/p>\n
.\/storcli show<\/pre>\n
\n\u5176\u4e2dCtl\u662f\u63a7\u5236\u5668\uff0c\u7f16\u53f7\u4e3a0<\/p>\n
\u82e5\u8981\u67e5\u770bCtl\u7f16\u53f7\u4e3a0\u7684\u5185\u5bb9\uff0c\u4f7f\u7528\u5982\u4e0b\u4fe1\u606f\uff1a<\/p>\n
.\/storcli \/c0 show<\/pre>\n
\n\u67e5\u770b\u6240\u6709\u7684\u63a7\u5236\u5668\uff0c\u4f7f\u7528\/call<\/code>\u9009\u9879\uff1a<\/p>\n.\/storcli \/call show<\/pre>\n\u4e0b\u56fe\u4e2d\u82e5\u8981\u67e5\u770b\uff1a<\/p>\n
\n- DG\u4e3a0\u7684 \uff0c\u8868\u793a\u78c1\u76d8\u7ec4\u3002\u9009\u9879\u5c31\u662f\/d0\uff0c\u67e5\u770b\u6240\u6709DG\u5c31\u662f\/dall<\/li>\n
- EID\u4e3a65\u7684\uff0c\u8868\u793aEnclosure ID\u3002\u9009\u9879\u5c31\u662f\/e65,\u67e5\u770b\u6240\u6709EID\u5c31\u662f\/eall<\/li>\n
- Slt\u4e3a0\u7684\uff0c \u8868\u793a\u786c\u76d8\u69fd\u4f4d\u3002\u67e5\u770b\u6240\u6709\u5c31\u662f \/sall \uff0c\u67e5\u770b\u67d0\u4e00\u4e2a\u786c\u76d8\u5c31\u662f \/s0 ,\/s1 , s2 \uff0c\u67e5\u770b\u4e00\u4e2a\u8303\u56f4 \/s0-2<\/li>\n
- VD\u4e3a0\u7684\uff0c\u8868\u793aRAID\u5377\u7ec4\uff0c\u9009\u9879\u5c31\u662f\/v0\uff0c\u67e5\u770b\u6240\u6709RAID\u5377\u7ec4\u5c31\u662f\/vall<\/li>\n<\/ul>\n
<\/p>\n
\u5e38\u7528\u547d\u4ee4<\/strong><\/div>\n1. \u5c06Foreign\u72b6\u6001\u7684RAID1\u5bfc\u5165\u3002
\n
\n\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5bfc\u5165\uff1a<\/p>\n
.\/storcli \/c0 \/fall import<\/pre>\n
\n\u53ef\u4ee5\u770b\u523065:1\u78c1\u76d8\u6b63\u5728rebuild
\n
\n2. \u5220\u9664raid
\n\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u67e5\u770b\u7f16\u53f7\u4e3a0\u7684RAID\u5377\u7ec4\uff1a<\/p>\n
.\/storcli \/c0 \/vall show<\/pre>\n
\n\u901a\u8fc7\u4e0b\u9762\u547d\u4ee4\u5f3a\u5236\u5220\u9664\u865a\u62df\u5377<\/p>\n
.\/storcli \/c0 \/v0 delete force<\/pre>\n
\n3. \u5c06UGood\u72b6\u6001\u7684\u78c1\u76d8\u8bbe\u7f6e\u4e3aJBOD\u7c7b\u578b
\n
\n\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8bbe\u7f6e\u78c1\u76d865:1\u548c65:2\u4e3aJBOD\uff1a<\/p>\n
.\/storcli \/c0 \/e65 \/s1-2 set jbod<\/pre>\n
\n4. \u5c06JBOD\u6a21\u5f0f\u7684\u78c1\u76d8\u8bbe\u7f6e\u4e3aUGood\u72b6\u6001
\n\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u5c06JOBD\u78c1\u76d8\u5f3a\u5236\u8bbe\u7f6e\u4e3aUGood\uff0c\u53ea\u6709UGood\u72b6\u6001\u7684\u78c1\u76d8\u624d\u53ef\u4ee5\u521b\u5efaRAID\u5377\u7ec4<\/p>\n
.\/storcli \/c0 \/e65 \/s1-2 set good force<\/pre>\n
\n5. \u521b\u5efaRAID0
\n\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u521b\u5efaRAID0\uff0c\u540d\u79f0\u4e3avd_r0\uff0cSize\u4e3aall\u6240\u6709\u7a7a\u95f4\uff0c\u78c1\u76d8\u4f7f\u752865:1,65:2\u4e24\u4e2a\u78c1\u76d8\uff0cAWB\u4e3aAlways Write Backup\uff0cra\u4e3aRead Ahead\uff0cStrip\u6761\u5e26\u5927\u5c0f\u4e3a128K\u3002<\/p>\n
.\/storcli \/c0 add vd r0 Size=all name=vd_r0 drives=65:1-2 AWB ra Strip=128\r\n<\/pre>\n
\n\u5982\u679c\u521b\u5efa\u5176\u4ed6raid\u7c7b\u578b\uff0c\u53ef\u4ee5\u67e5\u770b\u4e00\u4e0b\u5e2e\u52a9\u9875\u9762\uff0c\u5bfc\u51fa\u5e2e\u52a9\u9875\u9762\u6709\u52a9\u4e8e\u67e5\u770b\uff1a<\/p>\n
.\/storcli help > storcli_help.txt\r\ncat storcli_help.txt\r\n<\/pre>\n<\/p>\n
6. \u5220\u9664\u78c1\u76d8\u9635\u5217
\n\u4e0b\u9762\u547d\u4ee4\u5220\u9664\u540d\u79f0\u4e3avd_raid1\u7684\u9635\u5217\u7ec4\uff1a<\/p>\n
.\/storcli64 \/c0\/v0 del force<\/pre>\n
\n
\n\u53ef\u4ee5\u770b\u4e00\u4e0b\u786c\u76d8\u72b6\u6001\u53d8\u4e3aUGood\u4e86\u3002
\n
\n7. \u78c1\u76d8\u70b9\u706f\u5b9a\u4f4d
\n\u4e0b\u9762\u547d\u4ee4\u4e3ae65:1,e65:2\u69fd\u4f4d\u78c1\u76d8\u70b9\u706f\u5b9a\u4f4d<\/p>\n
.\/storcli \/c0 \/e65 \/s1-2 start locate<\/pre>\n\u70b9\u706f\u65f6\uff0c\u6a59\u8272\u706f\u4f1a\u95ea\u70c1\u3002
\n
\n\u4e0b\u9762\u547d\u4ee4\u4e3ae65:1,e65:2\u69fd\u4f4d\u78c1\u76d8\u5173\u95ed\u70b9\u706f<\/p>\n
.\/storcli \/c0 \/e65 \/s1-2 stop locate<\/pre>\n8. \u5916\u90e8\u786c\u76d8\u5bfc\u5165
\n\u5982\u679c\u786c\u76d8\u663e\u793aForeign\uff0c\u4e0d\u60f3\u4fdd\u7559raid\u4fe1\u606f\uff0c\u53ef\u4ee5\u5220\u9664\uff1a<\/p>\n
.\/storcli \/c0 \/fall del<\/pre>\n\u5982\u679c\u8981\u5bfc\u5165\u5916\u90e8\u786c\u76d8\uff0c\u53ef\u4ee5\u4f7f\u7528Import\uff1a<\/p>\n
.\/storcli \/c0 \/fall import<\/pre>\n
\n9. RAID\u5c5e\u6027\u4fee\u6539
\n# \u8bbe\u7f6e\u5199\u7f13\u5b58\u7c7b\u578b<\/p>\n
storcli \/cx\/vx set wrcache=WT|WB|AWB<\/pre>\n# \u8bbe\u7f6e\u8bfb\u7f13\u5b58\u7c7b\u578b<\/p>\n
storcli \/cx\/vx set rdcache=RA|NoRA<\/pre>\n# \u8bbe\u7f6eIO\u7b56\u7565<\/p>\n
storcli \/cx\/vx set iopolicy=Cached|Direct<\/pre>\n# \u8be5RAID\u5377\u7ec4\u662f\u5426\u4e3a\u7cfb\u7edf\u5f15\u5bfc\u4f7f\u7528<\/p>\n
storcli \/cx\/vx set bootdrive=<on|off><\/pre>\n\u603b\u7ed3<\/strong><\/div>\n\u5f53\u4ece\u5176\u4ed6\u670d\u52a1\u5668\u62c6\u4e0b\u786c\u76d8\uff0c\u63d2\u5165\u670d\u52a1\u5668\u4e2d\uff0c\u786c\u76d8\u72b6\u6001\u4e3aUBad\u72b6\u6001
\n
\n\u53ef\u4ee5\u4f7f\u7528.\/storcli \/c0\/e69\/s2-3 set good<\/code>\u5c06\u8be5\u786c\u76d8\u8bbe\u7f6e\u4e3aUGood\u3002<\/p>\n\u4e0b\u9762\u78c1\u76d8\u663e\u793aUGood\uff0c\u65c1\u8fb9\u663e\u793a\u4e86\u4e00\u4e2aF\uff0c\u8868\u793a\u662fForeign\u3002
\n
\n\u53ef\u4ee5\u6e05\u9664Foreign\u78c1\u76d8\uff0c\u4e5f\u53ef\u4ee5\u5bfc\u5165Foreign\u78c1\u76d8\uff0c\u4e0b\u9762\u5bfc\u5165Foreign\u78c1\u76d8\u3002<\/p>\n
.\/storcli \/c0 \/fall import<\/pre>\n\u6ce8\u610f\uff0c\u4f4e\u7248\u672c\u7684RAID\u5361\u4e0d\u80fd\u5bfc\u5165\u9ad8\u7248\u672cRAID\u5361\u7684\u78c1\u76d8\u7ec4<\/p>\n","protected":false},"excerpt":{"rendered":"
Windows\u7248\u548cLinux\u7248storcli\u547d\u4ee4\u4e2d\u4e2a\u522b\u53c2\u6570\u7565\u6709\u5dee\u5f02\uff0c\u53ef\u4ee5\u67e5\u770b\u5e2e\u52a9\u6587\u4ef6\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a .\/stor […]<\/p>\n","protected":false},"author":309,"featured_media":242655,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-242654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=242654"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242654\/revisions"}],"predecessor-version":[{"id":242677,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/242654\/revisions\/242677"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/242655"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=242654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=242654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=242654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}