Operating System - Linux
1752798 Members
5695 Online
108789 Solutions
New Discussion

Re: Error while creating new LV

 
Ganesan R
Honored Contributor

Error while creating new LV

Hi,

We are getting the below error while we try to create new logical volume. Could you someone help to resolve the issue?

# lvcreate -L 4G vg03
Aborting. Failed to activate new LV to wipe the start of it.

It is a new volume group created with single disk. See the vgdisplay output.

# vgdisplay -v vg03
Using volume group(s) on command line
Finding volume group "vg03"
--- Volume group ---
VG Name vg03
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 16.05 GB
PE Size 8.00 MB
Total PE 2054
Alloc PE / Size 0 / 0
Free PE / Size 2054 / 16.05 GB
VG UUID a1FZzA-C2Qk-wkDA-AHla-okZN-QKA0-Nrxg13

--- Physical volumes ---
PV Name /dev/emcpowerf1
PV UUID CSOgnm-KNb8-6NkM-ORms-qy7J-Og6L-XRg5Ke
PV Status allocatable
Total PE / Free PE 2054 / 2054

Archiving volume group "vg03" metadata (seqno 3).
Creating volume group backup "/etc/lvm/backup/vg03" (seqno 3).
#
Best wishes,

Ganesh.
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: Error while creating new LV

Shalom,

There appears to be sufficient free space on the volume group to do the command.

Normally I like to tell lvm what disk to use so the new logical volume ends up on the disk I intend for it.

Check vgchange on the volume group. It may not be activated properly or in the correct mode.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com