April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Failed to activate new LV

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

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 ~ #

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>