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

Daniel Savard daniel.savard at gmail.com
Tue Nov 4 16:10:13 UTC 2014


Thanks guys,

the problem was with volume_list in /etc/lvm/lvm.conf missing the new LV.

-----------------
Daniel Savard

2014-11-04 8:18 GMT-05:00 Aubin, Jean-Francois <jean-francois.aubin at cgi.com>
:

> Hi Daniel,
>
> Post your lvm.conf. All disk sdX is on SAN or  Local disk? If in SAN, do
> you use multiphating? If yes, watch your blacklist in multipath.conf or
> other typo error.
>
> Bonne journée!
>
> J-F Aubin
>
> -----Message d'origine-----
> De : linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
> De la part de Peter Rajnoha
> Envoyé : 4 novembre 2014 03:52
> À : daniel.savard at gmail.com
> Cc : LVM general discussion and development
> Objet : Re: [linux-lvm] Volume "avg/alv" is not active locally.
>
> 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
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20141104/013d47ce/attachment.htm>


More information about the linux-lvm mailing list