Operating System - HP-UX
1837149 Members
2252 Online
110112 Solutions
New Discussion

Error trying to extend mirrored lvol12 - help

 
Ajaysen Reddy
Advisor

Error trying to extend mirrored lvol12 - help

norlns{root} # lvextend -l 6000 /dev/vgdncptordb/lvol12 /dev/dsk/c71t2d7
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgdncptordb/lvol12" could not be extended.

--- Logical volumes ---
LV Name /dev/vgdncptordb/lvol12
VG Name /dev/vgdncptordb
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 21100
Current LE 5275
Allocated PE 10550
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default

--- Physical volumes ---
PV Name /dev/dsk/c71t2d7
PV Name /dev/dsk/c95t2d7 Alternate Link
VG Name /dev/vgdncptordb
PV Status available
Allocatable yes
VGDA 2
Cur LV 3
PE Size (Mbytes) 4
Total PE 1759
Free PE 879
Allocated PE 880
Stale PE 0
IO Timeout (Seconds) default
Autoswitch Off

There is enough space on the PV. So what is the problem? Thanks for your help.
6 REPLIES 6
john D_3
Frequent Advisor

Re: Error trying to extend mirrored lvol12 - help

Can you provide vgdisplay -v vgdncptordb here?

Thanks
Prashanth.D.S
Honored Contributor

Re: Error trying to extend mirrored lvol12 - help

Hi,

According to LV output == Allocation PVG-strict/distributed

Turning this off should resolve this issue.

Best Regards,
Prashanth
MHudec
Frequent Advisor

Re: Error trying to extend mirrored lvol12 - help

@Ajaysen
Why are you creating new thread for this, you are solving this issue in other thread.

Please provide us with output of:
# vgdisplay -v vgdncptordb
# lvdisplay -v /dev/vgdncptordb/lvol12 | head -n 40

Thanks.
Ajaysen Reddy
Advisor

Re: Error trying to extend mirrored lvol12 - help

Thanks Prashanth, That solved the problem.

Mahmood: The vgdisplay -v output is several pages long. I think I have about 70+ devices associated with it. Thanks.

Appreciate all your help.
Ajaysen Reddy
Advisor

Re: Error trying to extend mirrored lvol12 - help

The system was looking for a pvg instead of a device to extend the logical volume. As indicated by prashanth, it is controlled by the "Allocation PVG-strict/distributed" value.

As this was my first post, I just getting used to this.

Appreciate all your help verymuch.
Prashanth.D.S
Honored Contributor

Re: Error trying to extend mirrored lvol12 - help

Hi Ajaysen,

Good to hear that the issue is resolved and hearty welcome to you in itrc but do not forget to grade the answers with points....hope you know the reason why :-)

Best Regards,
Prashanth