{"id":912,"date":"2017-01-06T10:53:27","date_gmt":"2017-01-06T10:53:27","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=912"},"modified":"2017-01-06T10:53:27","modified_gmt":"2017-01-06T10:53:27","slug":"using-omconfig-add-raid-1-device-perc-6i-dell-raid-controller","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/01\/06\/using-omconfig-add-raid-1-device-perc-6i-dell-raid-controller\/","title":{"rendered":"Using omconfig to add a RAID 1 device for a Perc 6\/i Dell Raid Controller"},"content":{"rendered":"<p>So, I&#8217;ve been provisioning disks, and stuff recently.. this is how I did it on a Dell. Quite an easy thing to do!<\/p>\n<pre>\r\nomconfig storage controller action=createvdisk controller=0 raid=r1 size=max readpolicy=ara pdisk=0:0:2,0:0:3\r\nCommand successful!\r\n<\/pre>\n<p>In this case the two disks newly added were 0:0:2 and 0:0:3 on the SAS &#8216;bus&#8217;.<\/p>\n<p>An additional primary partition was created and added for this device sdb1, and a filesystem of the same kind (ext3) as the system disk was created;<\/p>\n<pre>\r\n mkfs.ext3 \/dev\/sdb1\r\n\r\nmke2fs 1.39 (29-May-2006)\r\n....\r\nWriting inode tables: done\r\nCreating journal (32768 blocks): done\r\nWriting superblocks and filesystem accounting information: done\r\n<\/pre>\n<p>You will naturally need to mount the partition and create an fstab entry to make this permanent;<\/p>\n<pre>\r\nmount \/dev\/sdb1 \/mnt\/backup\r\n\r\necho \"\/dev\/sdb1               \/mnt\/backup             ext3    defaults        1 1\" >> \/etc\/fstab\r\n<\/pre>\n<p>You may wish to consider adding the above to fstab manually. It&#8217;s not a good idea using echo with it incase you make a mistake ;-D<\/p>\n<p>Cheers &#038;<br \/>\nBest wishes,<br \/>\nAdam<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I&#8217;ve been provisioning disks, and stuff recently.. this is how I did it on a Dell. Quite an easy thing to do! omconfig storage controller action=createvdisk controller=0 raid=r1 size=max readpolicy=ara pdisk=0:0:2,0:0:3 Command successful! In this case the two disks &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2017\/01\/06\/using-omconfig-add-raid-1-device-perc-6i-dell-raid-controller\/\">Continue reading <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":{"footnotes":""},"categories":[10,9,61,86],"tags":[],"class_list":["post-912","post","type-post","status-publish","format-standard","hentry","category-filesystem","category-linux","category-rackspace","category-raid"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=912"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/912\/revisions"}],"predecessor-version":[{"id":913,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/912\/revisions\/913"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}