{"id":461,"date":"2019-05-19T06:59:23","date_gmt":"2019-05-19T06:59:23","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/24x7serversupport-blog\/?p=461"},"modified":"2019-05-19T06:59:23","modified_gmt":"2019-05-19T06:59:23","slug":"command-to-activate-vg-on-lvm","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/","title":{"rendered":"command to activate VG on LVM?"},"content":{"rendered":"\n<p>When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups.<\/p>\n\n\n\n<p><strong>To activate,<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchange -ay my_vg_name<\/pre>\n\n\n\n<p><strong>To De-activate,<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchnage -an my_vg_name<\/pre>\n\n\n\n<p><strong>A command to activate the VG in a cluster?<\/strong><\/p>\n\n\n\n<p><strong>To activate exclusively on one node,<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchange -aey my_vg_name<\/pre>\n\n\n\n<p><strong>To deactivate exclusively on one node,<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchange -aen my_vg_name<\/pre>\n\n\n\n<p><strong>To activate only on the local node,<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchange -aly my_vg_name<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>To deactivate only on the local node,\n<\/strong><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># <\/strong>vgchange -aln my_vg_name<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups. To activate, # vgchange -ay my_vg_name To De-activate, # vgchnage -an my_vg_name A command to activate the VG in a cluster? To activate exclusively on one node, # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[30,107],"tags":[31,79,74,108],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-centos","category-lvm","tag-centos","tag-centos6","tag-centos7","tag-lvm"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Command to activate VG on LVM<\/title>\n<meta name=\"description\" content=\"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command to activate VG on LVM\" \/>\n<meta property=\"og:description\" content=\"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-19T06:59:23+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/\",\"name\":\"Command to activate VG on LVM\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2019-05-19T06:59:23+00:00\",\"dateModified\":\"2019-05-19T06:59:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"description\":\"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7\",\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"command to activate VG on LVM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command to activate VG on LVM","description":"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/","og_locale":"en_US","og_type":"article","og_title":"Command to activate VG on LVM","og_description":"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7","og_url":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/","og_site_name":"24x7serversupport Blog","article_published_time":"2019-05-19T06:59:23+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/","url":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/","name":"Command to activate VG on LVM","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2019-05-19T06:59:23+00:00","dateModified":"2019-05-19T06:59:23+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"description":"How to activate VG on LVM, Command to activate VG, Command to activate VG on LVM, How to activate VG on Centos, Command to activate VG on Centos 7","breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/command-to-activate-vg-on-lvm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"command to activate VG on LVM?"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":0,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}