{"id":5765,"date":"2013-12-22T23:49:49","date_gmt":"2013-12-22T15:49:49","guid":{"rendered":"http:\/\/jpuyy.com\/?p=5765"},"modified":"2016-06-30T12:12:27","modified_gmt":"2016-06-30T04:12:27","slug":"raid-information-in-linux","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=5765","title":{"rendered":"linux\u67e5\u770bRAID\u4fe1\u606f"},"content":{"rendered":"<p>RAID\u5206\u4e3a\u8f6fRAID\u548c\u786cRAID<\/p>\n<p>\u8f6fRAID\u67e5\u770b<\/p>\n<pre>cat \/proc\/mdstat<\/pre>\n<p>\u786cRAID\u67e5\u770b<\/p>\n<p>\u5728\u542f\u52a8\u753b\u9762\u8fdbraid\u5361\u67e5\u770b<\/p>\n<pre>IM(RAID1)\u3001IME(RAID1E)\u3001IS(RAID0)<\/pre>\n<p>\u5728\u7cfb\u7edf\u4e2d\u67e5\u770b<\/p>\n<pre># dmesg |grep -i raid\r\n\r\n[ 6.346983] megaraid_sas 0000:03:00.0: PCI INT A -&gt; GSI 33 (level, low) -&gt; IRQ 33\r\n[ 6.346992] megaraid_sas 0000:03:00.0: setting latency timer to 64\r\n[ 6.470380] scsi0 : LSI SAS based MegaRAID driver\r\n[ 25.827254] md: Autodetecting RAID arrays.<\/pre>\n<p>proc\u4e2d\u7684RAID\u4fe1\u606f<\/p>\n<pre># cat \/proc\/scsi\/scsi\r\n\r\nAttached devices:\r\nHost: scsi0 Channel: 00 Id: 32 Lun: 00\r\nVendor: DP Model: BACKPLANE Rev: 1.07\r\nType: Enclosure ANSI SCSI revision: 05\r\nHost: scsi0 Channel: 02 Id: 00 Lun: 00\r\nVendor: DELL Model: PERC 6\/i Rev: 1.22\r\nType: Direct-Access ANSI SCSI revision: 05\r\nHost: scsi0 Channel: 02 Id: 01 Lun: 00\r\nVendor: DELL Model: PERC 6\/i Rev: 1.22\r\nType: Direct-Access ANSI SCSI revision: 05\r\nHost: scsi1 Channel: 00 Id: 00 Lun: 00\r\nVendor: TEAC Model: DVD-ROM DV-28SW Rev: R.2A\r\nType: CD-ROM ANSI SCSI revision: 05<\/pre>\n<p>\u67e5\u770bRAID\u5361\u578b\u53f7<\/p>\n<pre># lspci | grep RAID\r\n03:00.0 RAID bus controller: LSI Logic \/ Symbios Logic MegaRAID SAS 1078 (rev 04)<\/pre>\n<p>\u53ef\u4ee5\u53d1\u73b0\u4e0a\u9762\u8fd9\u53f0\u670d\u52a1\u5668\u7684RAID\u5361\u662fLSI\u7684\uff0c\u670d\u52a1\u5668\u662fDELL\u7684\uff0c\u8981\u67e5\u770b\u66f4\u8be6\u5c3d\u7684\u4fe1\u606f\u5c31\u9700\u8981\u9488\u5bf9RAID\u5361\u5728\u7cfb\u7edf\u91cc\u9762\u88c5\u9a71\u52a8\u4e86\uff0c\u5982\u53bbLSI,\u6216DELL\u7f51\u7ad9\u53ef\u4ee5\u627e\u5230\u5bf9\u5e94\u7684\u9a71\u52a8\u3002<\/p>\n<p><a href=\"http:\/\/www.lsi.com\/support\/pages\/download-search.aspx\">http:\/\/www.lsi.com\/support\/pages\/download-search.aspx<\/a><\/p>\n<p>\u641c\u5230megaCLI\u53ef\u4ee5\u8bd5\u4e00\u4e0b<\/p>\n<p>http:\/\/www.lsi.com\/downloads\/Public\/Obsolete\/Obsolete%20Common%20Files\/1.01.39_Linux_Cli.zip<\/p>\n<p>\u901a\u8fc7DELL\u5bf9\u5e94\u9a71\u52a8\u67e5\u770b<\/p>\n<p><a href=\"http:\/\/www.dell.com\/support\/drivers\/us\/en\/04\/Product\/poweredge-r710\">http:\/\/www.dell.com\/support\/drivers\/us\/en\/04\/Product\/poweredge-r710<\/a><\/p>\n<p>\u7f51\u4e0a\u8fd8\u6709\u901a\u7528\u5de5\u5177\uff0c\u5982megasasctl\uff0c\u5f88\u4e45\u6ca1\u6709\u66f4\u65b0\u4e86\uff0c\u4e5f\u53ef\u4ee5\u8bd5\u4e00\u4e0b<\/p>\n<p><a href=\"http:\/\/sourceforge.net\/projects\/megactl\/files\/\">http:\/\/sourceforge.net\/projects\/megactl\/files\/<\/a><\/p>\n<p>\u66f4\u591a\u53ef\u53c2\u8003\uff1a<a href=\"http:\/\/hwraid.le-vert.net\/wiki\/LSIMegaRAIDSAS\">http:\/\/hwraid.le-vert.net\/wiki\/LSIMegaRAIDSAS<\/a><\/p>\n<p>dmesg \u663e\u793a\u65f6\u95f4<\/p>\n<pre>dmesg -T<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>RAID\u5206\u4e3a\u8f6fRAID\u548c\u786cRAID \u8f6fRAID\u67e5\u770b cat \/proc\/mdstat \u786cRAID\u67e5\u770b \u5728\u542f\u52a8\u753b\u9762\u8fdbraid\u5361\u67e5\u770b IM(RAID1)\u3001IME(RAID1E)\u3001IS(RAID0) \u5728\u7cfb\u7edf\u4e2d\u67e5\u770b # dmesg |grep -i raid [ 6.346983] megaraid_sas 0000:03:00.0: PCI INT A -&gt; GSI 33 (level, low) -&gt; IRQ 33 [ 6.346992] megaraid_sas 0000:03:00.0: setting latency timer to 64 [ 6.470380] scsi0 : LSI SAS based MegaRAID driver [ 25.827254] md: Autodetecting RAID arrays. proc\u4e2d\u7684RAID\u4fe1\u606f # cat [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-5765","post","type-post","status-publish","format-standard","hentry","category-life"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5765"}],"version-history":[{"count":17,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5765\/revisions"}],"predecessor-version":[{"id":7822,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5765\/revisions\/7822"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}