{"id":377,"date":"2011-12-15T20:55:00","date_gmt":"2011-12-15T20:55:00","guid":{"rendered":"http:\/\/blog.successionua.com\/?p=377"},"modified":"2011-12-15T20:55:00","modified_gmt":"2011-12-15T20:55:00","slug":"%d1%81%d0%be%d0%b7%d0%b4%d0%b0%d0%bd%d0%b8%d0%b5-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%bd%d0%be%d0%b3%d0%be-raid-%d0%bd%d0%b0-centos","status":"publish","type":"post","link":"https:\/\/geckich.space\/?p=377","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e RAID \u043d\u0430 CentOS"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u043e \u0434\u043b\u044f CentOS 5. \u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043f\u0443\u0442\u0438 \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u0435\u0442\u043e \u0434\u0435\u0442\u0430\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f &#8211; \u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b.<\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0441 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c\u0438.<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">df -h<\/span><\/b><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0434\u0438\u0441\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b &#8211; \u043e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u0445, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u0438\u0432 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439&nbsp;fdisk \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u043d\u0430 \u043d\u0430\u0448\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0440\u0435\u0439\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">mdadm &#8211;create &#8211;verbose \/dev\/md0 &#8211;level=0 &#8211;raid-devices=2 \/dev\/sdf1 \/dev\/sdh<\/span><\/b>1<\/p>\n<p>\u0413\u0434\u0435 &#8211;level &#8211; \u0442\u0438\u043f raid. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c linear, 0, 1, 5, 6. &#8211;raid-devices &#8211; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \u0440\u0435\u0439\u0434\u0435, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435, \u043a\u0430\u043a\u0438\u0445 \u0438\u043c\u0435\u043d\u043d\u043e.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0432\u0441\u0451 \u0441\u043e\u0437\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">cat \/proc\/mdstat<\/span><\/b><\/p>\n<p>\u0414\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u0442\u0430\u043a\u043e\u0433\u043e:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">md0 : active raid0 sdb1[1] sda1[0]<\/span><\/b><br \/><b><span style=\"font-family: 'Courier New', Courier, monospace;\">&nbsp; &nbsp; &nbsp; 104320 blocks [2\/2] [UU]<\/span><\/b><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0440\u0435\u0439\u0434-\u0440\u0430\u0437\u0434\u0435\u043b\u0435 (ext3 \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435):<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">mkfs.ext3 \/dev\/md0<\/span><\/b><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 \u0434\u043b\u044f mdadm \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">mdadm &#8211;detail &#8211;scan &#8211;verbose &gt; \/etc\/mdadm.conf<\/span><\/b><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443, \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u0440\u0435\u0439\u0434-\u0440\u0430\u0437\u0434\u0435\u043b:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">mkdir \/raid<\/span><\/b><\/p>\n<p>\u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c:<\/p>\n<p><span style=\"font-family: 'Courier New', Courier, monospace;\"><b>mount \/dev\/md0 \/raid<\/b><\/span><\/p>\n<p>\u0418, \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a, \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0432 fstab:<\/p>\n<p><b><span style=\"font-family: 'Courier New', Courier, monospace;\">\/dev\/md0 \/raid ext3 defaults 1 2<\/span><\/b><\/p>\n<p>\u0412\u0441\u0451. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0433\u043b\u044e\u043a\u0438, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0432\u044b\u0435 \u0431\u0443\u0434\u0443\u0442.<\/p><\/div>\n<div>http:\/\/geckich.blogspot.com\/<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0451 \u043d\u0438\u0436\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u043e \u0434\u043b\u044f CentOS 5. \u0414\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043f\u0443\u0442\u0438 \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u0435\u0442\u043e \u0434\u0435\u0442\u0430\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f &#8211; \u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b. \u0421\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0441 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c\u0438. df -h \u0415\u0441\u043b\u0438 \u0434\u0438\u0441\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b &#8211; \u043e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u0445, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u0438\u0432 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439&nbsp;fdisk \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u043d\u0430 \u043d\u0430\u0448\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445. \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0440\u0435\u0439\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439: mdadm &hellip; <a href=\"https:\/\/geckich.space\/?p=377\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e RAID \u043d\u0430 CentOS<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=377"}],"version-history":[{"count":0,"href":"https:\/\/geckich.space\/index.php?rest_route=\/wp\/v2\/posts\/377\/revisions"}],"wp:attachment":[{"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geckich.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}