{"id":4188,"date":"2015-01-27T19:39:58","date_gmt":"2015-01-27T11:39:58","guid":{"rendered":"http:\/\/rmohan.com\/?p=4188"},"modified":"2015-01-28T00:28:40","modified_gmt":"2015-01-27T16:28:40","slug":"failed-to-activate-new-lv","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=4188","title":{"rendered":"Failed to activate new LV"},"content":{"rendered":"<p>If you like this article, please +1 or Recommend via FB with the provided buttons above:<br \/>\nArticle ID: 135<br \/>\nby: Reese K.<br \/>\nPosted: 15 Oct, 2013<br \/>\nLast updated: 15 Oct, 2013<br \/>\nViews: 1486<\/p>\n<p>Failed to activate new LV<br \/>\nEDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2<br \/>\n  Not activating vg_etlprod2\/lv_dwstore since it does not pass activation filter.<br \/>\n  Failed to activate new LV.<br \/>\nResolution:<\/p>\n<p>Within my LVM configuration, I defined host tags by setting hosttags =1 within the tags section as follows in \/etc\/lvm\/lvm.conf.<\/p>\n<p>tags { hosttags = 1 }<\/p>\n<p>Because of this, I was unable to create a new logical volume within a volume group.  Why is this?  Because the volume group was not tagged.  After tagging the volume group, I was then allowed to create a logical volume.<\/p>\n<p>EDS etlprod2 ~ # vgs -o vg_name,vg_tags vg_etlprod2<br \/>\n  VG          VG Tags<br \/>\n  vg_etlprod2<br \/>\nEDS etlprod2 ~ # vgchange &#8211;addtag etlprod2 vg_etlprod2<br \/>\n  Volume group &#8220;vg_etlprod2&#8221; successfully changed<br \/>\nEDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2<br \/>\n  Logical volume &#8220;lv_dwstore&#8221; created<br \/>\nEDS etlprod2 ~ #<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you like this article, please +1 or Recommend via FB with the provided buttons above: Article ID: 135 by: Reese K. Posted: 15 Oct, 2013 Last updated: 15 Oct, 2013 Views: 1486<\/p>\n<p>Failed to activate new LV EDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2 Not activating vg_etlprod2\/lv_dwstore since it does not [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,17],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4188"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4188"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4188\/revisions"}],"predecessor-version":[{"id":4189,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4188\/revisions\/4189"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}