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

Aubin, Jean-Francois jean-francois.aubin at cgi.com
Tue Nov 4 13:18:22 UTC 2014


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/




More information about the linux-lvm mailing list