{"id":137,"date":"2018-11-28T20:51:34","date_gmt":"2018-11-28T20:51:34","guid":{"rendered":"https:\/\/unsrewiki.1sys1.com\/?p=137"},"modified":"2020-07-30T17:08:03","modified_gmt":"2020-07-30T17:08:03","slug":"mounting-a-usb-software-raid-drive-in-rescue","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2018\/11\/28\/mounting-a-usb-software-raid-drive-in-rescue\/","title":{"rendered":"Mounting a Software Raid drive attached with USB  in Linux rescue"},"content":{"rendered":"\n<p>1). Remake the raid mount points:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mdadm --assemble --run \/dev\/md10 \/dev\/sdc1\nmdadm --assemble --run \/dev\/md11 \/dev\/sdc3<\/code><\/pre>\n\n\n\n<p>2). mount \/dev\/md10 \/mnt\/backup<\/p>\n\n\n\n<p>3). Check for the USB volumes:<br>\nvgdisplay<br>\nlvscan<\/p>\n\n\n\n<p>4). Use the UUID to rename the volume:<br>\nvgrename TdDMzM-Q05M-MLaO-ylQb-tBkn-Xqpo-jgQ5vX usb1<\/p>\n\n\n\n<p>5). Activate it:<br>vgchange -a y usb1<\/p>\n\n\n\n<p>6). Mount everything on \/dev\/usb1 like normal:<br>mount \/dev\/usb1\/home \/mnt\/backup\/home<br>mount \/dev\/usb1\/usr \/mnt\/backup\/usr<br>mount \/dev\/usb1\/var \/mnt\/backup\/var<\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1). Remake the raid mount points: 2). mount \/dev\/md10 \/mnt\/backup 3). Check for the USB volumes: vgdisplay lvscan 4). Use the UUID to rename the volume: vgrename TdDMzM-Q05M-MLaO-ylQb-tBkn-Xqpo-jgQ5vX usb1 5). Activate it:vgchange -a y usb1 6). Mount everything on \/dev\/usb1 like normal:mount \/dev\/usb1\/home \/mnt\/backup\/homemount \/dev\/usb1\/usr \/mnt\/backup\/usrmount \/dev\/usb1\/var \/mnt\/backup\/var<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/137"}],"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=137"}],"version-history":[{"count":4,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/137\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}