Reese Knowledgebase

Failed to activate new LV

View Kristian Reese's profile on LinkedIn


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: 5068

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 pass activation filter.
  Failed to activate new LV.

Resolution:

Within my LVM configuration, I defined host tags by setting hosttags =1 within the tags section as follows in /etc/lvm/lvm.conf.

tags { hosttags = 1 }

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.

EDS etlprod2 ~ # vgs -o vg_name,vg_tags vg_etlprod2
  VG          VG Tags
  vg_etlprod2       
EDS etlprod2 ~ # vgchange --addtag etlprod2 vg_etlprod2
  Volume group "vg_etlprod2" successfully changed
EDS etlprod2 ~ # lvcreate -l 14645 -n lv_dwstore vg_etlprod2
  Logical volume "lv_dwstore" created
EDS etlprod2 ~ #

This article was:   Helpful | Not Helpful
External links
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Logical_Volume_Manager_Administration/#host_tags

Prev   Next
Various tcpdump commands     How to add a new LUN using EMC powerpath

RSS