{"id":3139,"date":"2019-12-11T01:03:14","date_gmt":"2019-12-10T17:03:14","guid":{"rendered":"http:\/\/www.chenlianfu.com\/?p=3139"},"modified":"2019-12-14T21:26:21","modified_gmt":"2019-12-14T13:26:21","slug":"%e9%85%8d%e7%bd%aedell-md3200%e5%ad%98%e5%82%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%9e%e6%8e%a5%e5%88%b0%e5%a4%9a%e5%8f%b0%e4%b8%bb%e6%9c%ba","status":"publish","type":"post","link":"http:\/\/www.chenlianfu.com\/?p=3139","title":{"rendered":"\u914d\u7f6eDELL MD3200\u5b58\u50a8\u670d\u52a1\u5668\u8fde\u63a5\u5230\u591a\u53f0\u4e3b\u673a"},"content":{"rendered":"\n<p>\u6234\u5c14MD3200\u78c1\u76d8\u5b58\u50a8\u670d\u52a1\u5668\u4ec5\u652f\u6301DELL SAS\u786c\u76d8\u3002\u8be5\u5b58\u50a8\u670d\u52a1\u5668\u53ef\u4ee5\u4e0a12\u57573.5\u82f1\u5bf8SAS\u786c\u76d8\u30012\u4e2a\u7535\u6e90\u548c2\u4e2a\u63a7\u5236\u5668\u3002\u6bcf\u4e2a\u63a7\u5236\u5668\u542b\u6709\u4e00\u4e2a\u9635\u5217\u5361\u5e262G\u7f13\u5b58\uff0c\u652f\u63014\u4e2aSAS IN\u63a5\u53e3\u7528\u4e8e\u8fde\u63a54\u53f0\u4e3b\u673a\u3002\u6bcf\u53f0MD3200\u673a\u5668\u4e0a2\u4e2a\u63a7\u5236\u5668\uff0c\u5219\u53ef\u4ee5\u540c\u65f6\u8fde\u63a58\u53f0\u4e3b\u673a\u3002\u6b64\u5916\uff0c\u6bcf\u4e2a\u63a7\u5236\u5668\u542b\u6709\u4e00\u4e2aSAS OUT\u53e3\uff0c\u7528\u4e8e\u8fde\u63a5\u5230MD1200\u78c1\u76d8\u67dc\u7684SAS IN\u63a5\u53e3\uff0c\u4ece\u800c\u652f\u6301\u62d3\u5c55\u591a\u8fbe96\u5757SAS\u786c\u76d8\u3002<\/p>\n\n\n\n<h2>1. \u786c\u4ef6\u7ec4\u88c5<\/h2>\n\n\n\n<p>\u6211\u672c\u6b21\u7ecf\u9a8c\uff0c\u662f\u5c0612\u57574TB\u7684DELL SAS\u76d8\u63d2\u5165\u5230DELL MD3200\u5b58\u50a8\u670d\u52a1\u5668\u4e2d\u3002\u7136\u540e\uff0c\u5206\u522b\u57283\u53f0\u670d\u52a1\u5668\u4e3b\u673a\u7684PCI-E\u63d2\u69fd\u4e0a\u5206\u522b\u63d2\u4e0a\u4e00\u7247SAS\u76f4\u901a\u5361\u3002\u6bcf\u7247SAS\u76f4\u901a\u5361\u6709\u4e24\u4e2aSF8088\u7684SAS\u63a5\u53e3\u3002\u4f7f\u75286\u6839SAS\u7ebf\uff08SF8088-SF8088\uff09\u5c06MD3200\u5b58\u50a8\u4e0a\u7684SAS IN\u53e3\u548c3\u53f0\u670d\u52a1\u5668\u76843\u7247SAS\u76f4\u901a\u5361\u8fdb\u884c\u76f8\u8fde\u3002<\/p>\n\n\n\n<p>\u6b64\u5916\uff0c\u9700\u8981\u6ce8\u610f\u6bcf\u5f20SAS\u76f4\u901a\u5361\u8d34\u7eb8\u4e0a\u7684\u4e00\u4e2a\u7f16\u53f7\uff0c\u63a8\u8350\u62cd\u7167\u7559\u5b58\uff0c\u4ee5\u5907\u540e\u7eed\u4f7f\u7528\u3002<\/p>\n\n\n\n<h2>2. \u5bf9DELL MD3200\u8fdb\u884c\u78c1\u76d8\u9635\u5217\u8bbe\u7f6e<\/h2>\n\n\n\n<p>\u5728\u4e2a\u4ebawindows10\u7cfb\u7edf\u7684\u7b14\u8bb0\u672c\u7535\u8111\u4e0a\u5b89\u88c5\u8f6f\u4ef6<a rel=\"noreferrer noopener\" aria-label=\"DELL_MDSS\uff08\u5728\u65b0\u7a97\u53e3\u6253\u5f00\uff09\" href=\"https:\/\/dl.dell.com\/FOLDER04066625M\/1\/DELL_MDSS_Consolidated_RDVD_6_5_0_1.iso\" target=\"_blank\">DELL_MDSS<\/a>\u8f6f\u4ef6\uff0c\u5e76\u8bbe\u7f6e\u7b14\u8bb0\u672c\u7535\u8111\u7684\u6709\u7ebf\u7f51\u5361IP\u5730\u5740\u4e3a192.168.128.120\uff0c\u4f7f\u4e4b\u548cMD3200\u63a7\u5236\u5668IP\u5730\u5740192.168.128.101\u7684IP\u6bb5\u4e00\u81f4\u3002\u7136\u540e\u5c06\u7b14\u8bb0\u672c\u7535\u8111\u7684\u6709\u7ebf\u7f51\u53e3\u548c\u63a7\u5236\u5668\u7684\u7f51\u5361\u7528\u7f51\u7ebf\u8fde\u63a5\uff0c\u518d\u6253\u5f00DELL\u7684MDSM\u8f6f\u4ef6\u3002\u82e5\u4e24\u8005\u6709\u7ebf\u7f51\u5361\u5728\u540c\u4e00IP\u5730\u5740\u6bb5\uff0c\u5219\u80fd\u81ea\u52a8\u627e\u5230\u5b58\u50a8\u9635\u5217\u3002<\/p>\n\n\n\n<p>\u63a8\u8350\u91cd\u547d\u540d\u81ea\u52a8\u627e\u5230\u7684\u5b58\u50a8\u9635\u5217\uff0c\u7136\u540e\u53cc\u51fb\u5bf9\u5176\u8fdb\u884c\u7ba1\u7406\uff0c\u542f\u52a8\u9635\u5217\u7ba1\u7406\u7a97\u53e3\u3002\u518d\u5148\u540e\u8fdb\u884c\u4e24\u9879\u8bbe\u7f6e\uff081\uff09\u9635\u5217\u8bbe\u7f6e\uff1b\uff082\uff09\u4e3b\u673a\u6620\u5c04\u3002<\/p>\n\n\n\n<h2>2.1 \u9635\u5217\u8bbe\u7f6e<\/h2>\n\n\n\n<p>\u9996\u5148\u5c06\u6700\u540e\u4e24\u5757\u76d8\u8bbe\u7f6e\u4e3a\u70ed\u5907\u76d8\uff0c\u7136\u540e\u4ee5RAID5\u65b9\u5f0f\u5c06\u5176\u4f59\u6240\u6709\u768410\u5757\u76d8\u7ec4\u6210\u9635\u5217\uff0c\u5e76\u4f7f\u7528\u6240\u6709\u7684\u7a7a\u95f4\u521b\u5efa\u4e00\u4e2a\u5206\u533a\u3002<\/p>\n\n\n\n<h2>2.2 \u4e3b\u673a\u6620\u5c04<\/h2>\n\n\n\n<p>\u5728\u4fdd\u8bc1DELL MD3200\u5b58\u50a8\u670d\u52a1\u5668\u548c3\u53f0\u670d\u52a1\u5668\u4e3b\u673a\u90fd\u5f00\u673a\u5e76\u8fde\u63a5\u597d\u6570\u636e\u7ebf\u540e\uff0c\u91cd\u542f\u6240\u6709\u7684\u670d\u52a1\u5668\u4e3b\u673a\uff0c\u4ee5\u5229\u4e8eMD3200\u5b58\u50a8\u80fd\u8bc6\u522b3\u7247SAS\u76f4\u901a\u5361\u3002<\/p>\n\n\n\n<p>\u5728MDSM\u7684\u6574\u5217\u5361\u7ba1\u7406\u7a97\u53e3\u4e2d\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3achenlianfu\u7684\u4e3b\u673a\u7ec4\uff0c\u7136\u540e\u5728\u8be5\u4e3b\u673a\u7ec4\u4e0b\u4f9d\u6b21\u6dfb\u52a06\u4e2a\u4e3b\u673a\u540d\u3002\u6bcf\u6dfb\u52a0\u4e00\u4e2a\u4e3b\u673a\u65f6\uff0c\u9700\u8981\u8bbe\u7f6e\u4e00\u4e2aSAS\u76f4\u901a\u5361\u7684\u673a\u5668\u7801\uff08\u9700\u8981\u548cSAS\u76f4\u901a\u5361\u4e0a\u7684\u673a\u5668\u7801\u5bf9\u5e94\uff09\u548c\u522b\u540d\u3002\u6bcf\u7247SAS\u76f4\u901a\u5361\u6709\u4e24\u4e2aSAS\u53e3\uff0c\u6709\u4e24\u4e2a\u673a\u5668\u7801\uff0c\u5bf9\u5e94\u6dfb\u52a0\u76842\u4e2a\u4e3b\u673a\u540d\u3002<\/p>\n\n\n\n<p>\u4e3b\u673a\u6620\u5c04\u505a\u597d\u540e\uff0c\u5373\u5141\u8bb86\u4e2a\u6307\u5b9a\u7684SAS\u53e3\u53ef\u4ee5\u8bbf\u95ee\u78c1\u76d8\u5b58\u50a8\u3002\u7136\u540e\u91cd\u542f3\u53f0\u670d\u52a1\u5668\uff0c\u6b64\u65f6\u5728\u91cd\u542f\u754c\u9762\u4e2d\uff0c\u5728\u68c0\u6d4b\u5230SAS\u76f4\u901a\u5361\u7684\u65f6\u5019\uff0c\u5e94\u8be5\u4f1a\u63d0\u793a\u5176SAS\u76f4\u901a\u5361\u68c0\u6d4b\u5230\u865a\u62df\u78c1\u76d8\u3002\u5728\u8fdb\u5165\u7cfb\u7edf\u540e\uff0c\u5219\u4f1a\u589e\u52a0 \/dev\/sdb \u548c \/dev\/sdc \u4e24\u4e2a\u8bbe\u5907\uff0c\u5206\u522b\u5bf9\u5e94SAS\u76f4\u901a\u5361\u7684\u4e24\u4e2aSAS\u53e3\u3002<\/p>\n\n\n\n<h2>3. \u5bf9\u670d\u52a1\u5668\u4e3b\u673a\u8fdb\u884c\u591a\u8def\u5f84\u8bbe\u7f6e<\/h2>\n\n\n\n<p>\u5728\/dev\/sdb\u548c\/dev\/sdc\u4e24\u4e2a\u8def\u5f84\u90fd\u540c\u65f6\u6307\u5411\u4e86\u5b58\u50a8\u670d\u52a1\u5668\u3002\u9700\u8981\u901a\u8fc7CentOS\u7cfb\u7edf\u4e2d\u7684\u591a\u8def\u5f84\u65b9\u5f0f\u5bf9\u8fd9\u4e24\u4e2a\u8def\u5f84\u8fdb\u884c\u8bbe\u7f6e\uff0c\u4f7f\u6570\u636e\u80fd\u540c\u65f6\u901a\u8fc7\u8fd9\u4e24\u4e2a\u8def\u5f84\u8fdb\u884c\u4f20\u8f93\uff0c\u624d\u80fd\u5145\u5206\u8fbe\u52306Gbps\u7684\u6570\u636e\u3002\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\nyum install *device-mapper-multipath*\nyum install *kpartx*\nyum install *scsi_dh_rdac*\nyum install *scsi_dh*\nyum install *scsi_id*\nyum install *udev*\nyum install *modutils*\nyum install *iscsi-initiator-utils*<\/code><\/pre>\n\n\n\n<p>\u5728\u4e09\u53f0\u670d\u52a1\u5668\u4e0a\u4f7f\u7528root\u7528\u6237\u90fd\u8fdb\u884c\u5982\u4e0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>multipath -v3<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u5982\u4e0a\u547d\u4ee4\u5f97\u5230\/dev\/sdb\u7684wwid\u7f16\u53f7\uff0c\u7136\u540e\uff0c\u751f\u6210\/etc\/multipath.conf\u6587\u4ef6\uff0c\u5176\u5185\u5bb9\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">blacklist {\n    devnode \"^sda\"\n# Begin Dell MD Modification\n\tdevice {\n\t\tvendor  \"*\"\n\t\tproduct \"Universal Xport\"\n\t}\n\tdevice {\n\t\tvendor  \"*\"\n\t\tproduct \"MD3000\"\n\t}\n\tdevice {\n\t\tvendor  \"*\"\n\t\tproduct \"MD3000i\"\n\t}\n\tdevice {\n\t\tvendor  \"*\"\n\t\tproduct \"Virtual Disk\"\n\t}\n# End Dell MD Modification\n}\ndefaults {\n    user_friendly_names yes\n    path_grouping_policy multibus\n    failback immediate\n    no_path_retry fail\n# Begin Dell MD Modification\n\tmax_fds             8192\n# End Dell MD Modification\n}\nmultipaths {\n    multipath {\n        wwid 36d4ae52000ad3c1800000c755df2d836\n        alias chenlianfu_md3200\n        path_grouping_policy multibus\n        path_checker tur\n        path_selector \"round-robin 0\"\n    }\n}\n# Begin Dell MD Modification\ndevices {\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD32xxi\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD32xx\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD36xxi\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD36xxf\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD34xx\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD38xxf\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n\tdevice {\n\t\tvendor                \"DELL\"\n\t\tproduct               \"MD38xxi\"\n\t\tpath_grouping_policy  multibus\n\t\tprio                  rdac\n\t\tpolling_interval      5\n\t\tpath_checker          rdac\n\t\tpath_selector         \"round-robin 0\"\n\t\thardware_handler      \"1 rdac\"\n\t\tfailback              immediate\n\t\tfeatures              \"2 pg_init_retries 50\"\n\t\tno_path_retry         30\n\t\trr_min_io             100\n\t\tprio_callout          \"\/sbin\/mpath_prio_rdac \/dev\/%n\"\n\t}\n}\n# End Dell MD Modification\n<\/pre>\n\n\n\n<p>\u518d\u542f\u52a8multipath\u670d\u52a1\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart multipathd.service \nsystemctl enable multipathd.service <\/code><\/pre>\n\n\n\n<p>\u8fd9\u65f6\uff0c\u5c31\u53ef\u4ee5\u5728 \/dev\/mapper\/\u76ee\u5f55\u4e0b\u770b\u5230\u76f8\u5e94\u7684\u8bbe\u5907\u4e86\uff0c\u5728\u8fdb\u884c\u5206\u533a\u6302\u8f7d\u64cd\u4f5c\u7b49\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir \/disks\/md3200\/\nmount \/dev\/mapper\/chenlianfu_md3200p1 \/disks\/md3200\/<\/code><\/pre>\n\n\n\n<p>\u6700\u540e\uff0c\u53ef\u4ee5\u5728 \/etc\/fstab \u4e2d\u589e\u52a0\u4e00\u884c\uff0c\u8fdb\u884c\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/dev\/mapper\/chenlianfu_md3200p1 \/disks\/md3200   xfs     defaults        0       0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6234\u5c14MD3200\u78c1\u76d8\u5b58\u50a8\u670d\u52a1\u5668\u4ec5\u652f\u6301DELL SAS\u786c\u76d8\u3002\u8be5\u5b58\u50a8\u670d\u52a1\u5668\u53ef\u4ee5\u4e0a12 &hellip; <a href=\"http:\/\/www.chenlianfu.com\/?p=3139\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/3139"}],"collection":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3139"}],"version-history":[{"count":5,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/3139\/revisions"}],"predecessor-version":[{"id":3146,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/3139\/revisions\/3146"}],"wp:attachment":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3139"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}