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

Daniel Savard daniel.savard at gmail.com
Tue Nov 4 01:15:57 UTC 2014


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"?

feynman ~ # vgdisplay donneesvg
  --- Volume group ---
  VG Name               donneesvg
  System ID
  Format                lvm2
  Metadata Areas        5
  Metadata Sequence No  142
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                18
  Open LV               18
  Max PV                0
  Cur PV                5
  Act PV                5
  VG Size               109,98 GiB
  PE Size               4,00 MiB
  Total PE              28155
  Alloc PE / Size       26087 / 101,90 GiB
  Free  PE / Size       2068 / 8,08 GiB
  VG UUID               AdmpT4-8BXf-jWvJ-42j9-i7aa-fln1-PSsweS

I am able increase the size of some LV, but I am not able to create a new
one. I added a PV because I was out of free space and since then I cannot
resize anymore the LV to take advantage of this new space.

feynman ~ # pvscan
  PV /dev/sda5    VG racinevg    lvm2 [50,00 GiB / 1,79 GiB free]
  PV /dev/sda8    VG bb10vg      lvm2 [5,00 GiB / 168,00 MiB free]
  PV /dev/sda6    VG donneesvg   lvm2 [50,00 GiB / 0    free]
  PV /dev/sda7    VG donneesvg   lvm2 [20,00 GiB / 0    free]
  PV /dev/sda9    VG donneesvg   lvm2 [10,00 GiB / 0    free]
  PV /dev/sda10   VG donneesvg   lvm2 [20,00 GiB / 0    free]
  PV /dev/sda11   VG donneesvg   lvm2 [10,00 GiB / 8,08 GiB free]
  Total: 7 [164,97 GiB] / in use: 7 [164,97 GiB] / in no VG: 0 [0   ]

-----------------
Daniel Savard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20141103/c18c228f/attachment.htm>


More information about the linux-lvm mailing list