{"id":255,"date":"2019-01-11T19:11:32","date_gmt":"2019-01-11T19:11:32","guid":{"rendered":"https:\/\/unsrewiki.1sys1.com\/?p=255"},"modified":"2019-01-11T19:11:32","modified_gmt":"2019-01-11T19:11:32","slug":"configuring-raid-on-cloud-servers","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2019\/01\/11\/configuring-raid-on-cloud-servers\/","title":{"rendered":"Configuring Raid on Cloud Servers"},"content":{"rendered":"\n<p>This guide is written with the following information assumed:<\/p>\n\n\n\n<p>Currently running a Cloud Server.<\/p>\n\n\n\n<p>2 or more additional Block storage drives have been added to the existing server.<\/p>\n\n\n\n<p>Instructions work for both Raid 1 and Raid 0.<\/p>\n\n\n\n<p>Please remember that Raid is not a backup! <\/p>\n\n\n\n<p>In either case a good backup solution is still needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps:<\/h2>\n\n\n\n<ol><li>A). Raid 1 &#8211; mdadm &#8211;create \/dev\/md1 &#8211;level=1 &#8211;raid-devices=2 \/dev\/sdb \/dev\/sdc <\/li><li>B). Raid 0 with 2 drives &#8211;  mdadm &#8211;create \/dev\/md1 &#8211;level=0 &#8211;raid-devices=2 \/dev\/sdb \/dev\/sdc <\/li><li>C). Raid 0 with 4 drives &#8211; mdadm &#8211;create \/dev\/md1 &#8211;level=0 &#8211;raid-devices=4 \/dev\/sdb \/dev\/sdc \/dev\/sdd \/dev\/sde<\/li><li>pvcreate \/dev\/md1<\/li><li>vgcreate data \/dev\/md1<\/li><li>vgchange -a y data<\/li><li>lvcreate -L1000 -n my_volume data<\/li><li>mkfs.ext4 \/dev\/data\/my_volume<\/li><li>mkdir \/mnt\/data<\/li><li>mount \/dev\/data\/my_volume \/mnt\/data<\/li><li>blkid<\/li><li>vi \/etc\/fstab<\/li><li>UUID=c3c46b4b-b406-41e9-ab64-25db9485bcfc       \/mnt\/data    ext4    defaults        0       2<\/li><li>Done<\/li><\/ol>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide is written with the following information assumed: Currently running a Cloud Server. 2 or more additional Block storage drives have been added to the existing server. Instructions work for both Raid 1 and Raid 0. Please remember that Raid is not a backup! In either case a good backup solution is still needed.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/255"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":1,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":256,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/255\/revisions\/256"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}