[linux-lvm] Volume "avg/alv" is not active locally.

Peter Rajnoha prajnoha at redhat.com
Tue Nov 4 08:51:50 UTC 2014


On 11/04/2014 02:15 AM, Daniel Savard wrote:
> Hi,
> 
> I am running LVM2 on linux (Gentoo) with systemd and dracut. I ran into
> a problem I am unable to find the cause.
> 
> I am trying to create a LV and I received an error as per the subject of
> this post.
> 
> For example:
> 
> feynman ~ # lvcreate -a y --contiguous y --size 1G --name db2data
> donneesvg   Volume "donneesvg/db2data" is not active locally.
>   Aborting. Failed to wipe start of new LV.
> 
> What is going on? Any hints? What does it mean "not active locally"?

LVM tries to wipe the LV - zero out first 4KiB of data and also any old
signatures it may find on any newly created LV for it to be properly
initialized.

But this LV has not been activated. One reason may be that you have
activation/volume_list set in LVM configuration (/etc/lvm/lvm.conf)
and it does not include the name of the LV you're just creating.

The "lvcreate -vvvv ...." should provide more info on why the
activation has been skipped.

-- 
Peter




More information about the linux-lvm mailing list