{"id":2531,"date":"2012-01-28T01:25:39","date_gmt":"2012-01-28T07:25:39","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=2531"},"modified":"2012-01-28T01:35:02","modified_gmt":"2012-01-28T07:35:02","slug":"two-lvm-volgroups-same-name-one-is-system-disk-what-to-do","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=2531","title":{"rendered":"Two LVM VolGroup&#8217;s, same name, one is system disk &#8211; what to do?"},"content":{"rendered":"<blockquote><p>It&#8217;s a lot easier to rename the \u201cold\u201d volume group if the old drive is the only one connected to the system.<\/p>\n<p>Using your first FC4 installation CD and with only the old drive installed, boot into rescue mode (boot: linux rescue), but don&#8217;t search for or mount the FC installation. At the command prompt, you will probably need to active the lvm like this:<\/p>\n<p>lvm vgscan<\/p>\n<p>lvm lvscan<\/p>\n<p>lvm vgchange -a y<\/p>\n<p>lvm pvscan<\/p>\n<p>lvm lvscan<\/p>\n<p>The last two commands should list your volume group(s) and logical volume(s). Now use vgrename to fix the problem:<\/p>\n<p><strong>lvm vgrename VolGroup00 whatever_you_want_to_call_it<\/strong><\/p>\n<p>Note that all lvm commands need to be preceded with \u201clvm\u201d in rescue mode.<\/p><\/blockquote>\n<p>via <a href=\"http:\/\/www.linuxquestions.org\/questions\/linux-hardware-18\/two-lvm-volgroups-same-name-one-is-system-disk-what-to-do-375928\/\">Two LVM VolGroup&#8217;s, same name, one is system disk &#8211; what to do?<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s a lot easier to rename the \u201cold\u201d volume group if the old drive is the only one connected to the system. Using your first FC4 installation CD and with only the old drive installed, boot into rescue mode (boot: &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=2531\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[104,28,96],"class_list":["post-2531","post","type-post","status-publish","format-standard","hentry","category-technical","tag-howto","tag-linux-command","tag-lvm"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/2531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2531"}],"version-history":[{"count":3,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/2531\/revisions"}],"predecessor-version":[{"id":2534,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/2531\/revisions\/2534"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2531"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}