{"id":458,"date":"2019-05-13T18:27:23","date_gmt":"2019-05-13T18:27:23","guid":{"rendered":"https:\/\/unsrewiki.1sys1.com\/?p=458"},"modified":"2019-05-13T18:44:35","modified_gmt":"2019-05-13T18:44:35","slug":"unable-to-mount-lvm2_member","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2019\/05\/13\/unable-to-mount-lvm2_member\/","title":{"rendered":"How to mount Cloud \/ VPS Cloud in Rescue"},"content":{"rendered":"\n<p>When we boot Server into Rescue using <strong>GParted <\/strong>or <strong>Knoppix<\/strong>, we need to mount the Logical Volumes in order to fix whatever issue we have. However, we may receive &#8220;mount: unknown file system type LVM2_member&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mount \/dev\/sda2 \/mnt\nmount: unknown filesystem type 'LVM2_member'<\/code><\/pre>\n\n\n\n<p>Now, let&#8217;s scan our Logical Volumes using <strong>lvscan<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># lvscan\n  \/run\/lvm\/lvmetad.socket: connect failed: No such file or directory\n  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.\n  inactive          '\/dev\/centos\/swap' [2.00 GiB] inherit\n  inactive          '\/dev\/centos\/root' [77.00 GiB] inherit<\/code><\/pre>\n\n\n\n<p>From the output, it seems the Logical Volumes have not been activated. Therefore, in order to mount our LVM&#8217;s we need to activate it first.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># vgchange -ay\n  2 logical volume(s) in volume group \"centos\" now active<\/code><\/pre>\n\n\n\n<p>Now, our Logical Volume is ready to be mounted:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># lvscan\n  ACTIVE            '\/dev\/centos\/swap' [2.00 GiB] inherit\n  ACTIVE            '\/dev\/centos\/root' [77.00 GiB] inherit<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># mount \/dev\/centos\/root \/mnt<\/code><\/pre>\n\n\n\n<p>It&#8217;s all Done. Enjoy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we boot Server into Rescue using GParted or Knoppix, we need to mount the Logical Volumes in order to fix whatever issue we have. However, we may receive &#8220;mount: unknown file system type LVM2_member&#8221; Now, let&#8217;s scan our Logical Volumes using lvscan From the output, it seems the Logical Volumes have not been activated.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/458"}],"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=458"}],"version-history":[{"count":4,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":472,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/458\/revisions\/472"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}