1753943 Members
8807 Online
108811 Solutions
New Discussion юеВ

Re: lvextend error

 
masood bt
Regular Advisor

lvextend error

Urgent reply needed please.
I know one disk is removed from the VG. I think the problem I am facing is due to the strict allocation policy. How to overcome this now?

rc85odb2:/ # lvextend -L 32768 /dev/vg00/lv-oracle-u01
lvextend: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
lvextend: Warning: couldn't query all of the physical volumes.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lv-oracle-u01" could not be extended.
Failure possibly caused by strict allocation policy
rc85odb2:/ #
Behind every Great fortune, there is a crime
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: lvextend error

You are going to confuse anybody.

Please continue your other thread.

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1325772

First you should fix the "missing disk problem" (replace the disk), than check if you have enough free extends.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
masood bt
Regular Advisor

Re: lvextend error

We removed that disk a few days ago.
Behind every Great fortune, there is a crime
masood bt
Regular Advisor

Re: lvextend error

so do i need to remoe the missing disk from mirror?

rc85odb2:/ # lvdisplay -v /dev/vg00/lv-oracle-u01
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lv-oracle-u01
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t0d0s2 512 512

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t0d0s2 01782 current ??? 01782 stale
00001 /dev/dsk/c0t0d0s2 01783 current ??? 01783 stale
00002 /dev/dsk/c0t0d0s2 01784 current ??? 01784 stale
00003 /dev/dsk/c0t0d0s2 01785 current ??? 01785 stale
00004 /dev/dsk/c0t0d0s2 01786 current ??? 01786 stale
Behind every Great fortune, there is a crime
masood bt
Regular Advisor

Re: lvextend error

I think I do have enough free PEs
rc85odb2:/ # vgdisplay /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 8
Cur PV 2
Act PV 1
Max PE per PV 9200
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 2294
Free PE 2052
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

rc85odb2:/ #
Behind every Great fortune, there is a crime
masood bt
Regular Advisor

Re: lvextend error

I got a window for this lvextend and I am running out of time :-(
Behind every Great fortune, there is a crime
Torsten.
Acclaimed Contributor

Re: lvextend error

You have the solution in your duplicated thread already!

Please close this one.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
masood bt
Regular Advisor

Re: lvextend error

Another thread existing.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1325772

Behind every Great fortune, there is a crime