Operating System - HP-UX
1830583 Members
3077 Online
110015 Solutions
New Discussion

lvextend and strict policy

 
franlo
Advisor

lvextend and strict policy

Hello,

I have a silly problem. I have a SuperDome IA64 11.23 connect to 2 XP1024 bays (xp1 and xp2) throuh 2 brocade switch in fabric mod.

I have a Vg "vgPRD" of 1 To, wich have NO pvg and have 13238 free PE (Pe size is 16Mo) : 200Mo free. this vg have 40 PV in xp1 and 40 pv in xp2.

I have a lvol (lvsapmnt) of 2Go mirored on each xp bay. his alocation is "PVG-strict/distributed".

I tried to extend this lvol but i have : "Not enough free physical extents available"

the distribution of lvol's pe is : distributed between 40 pv in xp1, mirrored and distributed on 40 pv in xp2.

I don't want to loose distributed mode.

I've already done "lvchange -C n lvol" to delete contigus mod, but i don't manage to extend lvol.

All the 80 PV have enouth free PE.

I think it's a allocation mod problem but how can i extend it ?



thanks a lot for your help.

regards
Francois

########### INFORMATIONS ##########

# lvchange -C n /dev/vgPRD/lvsapmnt
Current path "/dev/dsk/c88t3d1" is an alternate link, skip.
Current path "/dev/dsk/c88t3d2" is an alternate link, skip.
Current path "/dev/dsk/c88t3d3" is an alternate link, skip.
Current path "/dev/dsk/c88t3d4" is an alternate link, skip.
Current path "/dev/dsk/c88t3d5" is an alternate link, skip.
Current path "/dev/dsk/c61t3d0" is an alternate link, skip.
Current path "/dev/dsk/c61t3d1" is an alternate link, skip.
Current path "/dev/dsk/c61t3d2" is an alternate link, skip.
Current path "/dev/dsk/c61t3d3" is an alternate link, skip.
Current path "/dev/dsk/c61t3d4" is an alternate link, skip.
Current path "/dev/dsk/c89t3d0" is an alternate link, skip.
Current path "/dev/dsk/c89t3d1" is an alternate link, skip.
Current path "/dev/dsk/c89t3d2" is an alternate link, skip.
Current path "/dev/dsk/c89t3d3" is an alternate link, skip.
Current path "/dev/dsk/c89t3d4" is an alternate link, skip.
Current path "/dev/dsk/c90t3d0" is an alternate link, skip.
Current path "/dev/dsk/c90t3d1" is an alternate link, skip.
Current path "/dev/dsk/c90t3d2" is an alternate link, skip.
Current path "/dev/dsk/c90t3d3" is an alternate link, skip.
Current path "/dev/dsk/c90t3d4" is an alternate link, skip.
Current path "/dev/dsk/c109t3d1" is an alternate link, skip.
Current path "/dev/dsk/c109t3d2" is an alternate link, skip.
Current path "/dev/dsk/c109t3d3" is an alternate link, skip.
Current path "/dev/dsk/c109t3d4" is an alternate link, skip.
Current path "/dev/dsk/c109t3d5" is an alternate link, skip.
Current path "/dev/dsk/c76t3d0" is an alternate link, skip.
Current path "/dev/dsk/c76t3d1" is an alternate link, skip.
Current path "/dev/dsk/c76t3d2" is an alternate link, skip.
Current path "/dev/dsk/c76t3d3" is an alternate link, skip.
Current path "/dev/dsk/c76t3d4" is an alternate link, skip.
Current path "/dev/dsk/c111t3d0" is an alternate link, skip.
Current path "/dev/dsk/c111t3d1" is an alternate link, skip.
Current path "/dev/dsk/c111t3d2" is an alternate link, skip.
Current path "/dev/dsk/c111t3d3" is an alternate link, skip.
Current path "/dev/dsk/c111t3d4" is an alternate link, skip.
Current path "/dev/dsk/c113t3d0" is an alternate link, skip.
Current path "/dev/dsk/c113t3d1" is an alternate link, skip.
Current path "/dev/dsk/c113t3d2" is an alternate link, skip.
Current path "/dev/dsk/c113t3d3" is an alternate link, skip.
Current path "/dev/dsk/c113t3d4" is an alternate link, skip.
Current path "/dev/dsk/c91t3d0" is an alternate link, skip.
Current path "/dev/dsk/c91t3d1" is an alternate link, skip.
Current path "/dev/dsk/c91t3d2" is an alternate link, skip.
Current path "/dev/dsk/c91t3d3" is an alternate link, skip.
Current path "/dev/dsk/c91t3d4" is an alternate link, skip.
Current path "/dev/dsk/c93t3d0" is an alternate link, skip.
Current path "/dev/dsk/c93t3d1" is an alternate link, skip.
Current path "/dev/dsk/c93t3d2" is an alternate link, skip.
Current path "/dev/dsk/c93t3d3" is an alternate link, skip.
Current path "/dev/dsk/c93t3d4" is an alternate link, skip.
Current path "/dev/dsk/c94t3d0" is an alternate link, skip.
Current path "/dev/dsk/c94t3d1" is an alternate link, skip.
Current path "/dev/dsk/c94t3d2" is an alternate link, skip.
Current path "/dev/dsk/c94t3d3" is an alternate link, skip.
Current path "/dev/dsk/c94t3d4" is an alternate link, skip.
Current path "/dev/dsk/c96t3d0" is an alternate link, skip.
Current path "/dev/dsk/c96t3d1" is an alternate link, skip.
Current path "/dev/dsk/c96t3d2" is an alternate link, skip.
Current path "/dev/dsk/c96t3d3" is an alternate link, skip.
Current path "/dev/dsk/c96t3d4" is an alternate link, skip.
Current path "/dev/dsk/c115t3d0" is an alternate link, skip.
Current path "/dev/dsk/c115t3d1" is an alternate link, skip.
Current path "/dev/dsk/c115t3d2" is an alternate link, skip.
Current path "/dev/dsk/c115t3d3" is an alternate link, skip.
Current path "/dev/dsk/c115t3d4" is an alternate link, skip.
Current path "/dev/dsk/c117t3d0" is an alternate link, skip.
Current path "/dev/dsk/c117t3d1" is an alternate link, skip.
Current path "/dev/dsk/c117t3d2" is an alternate link, skip.
Current path "/dev/dsk/c117t3d3" is an alternate link, skip.
Current path "/dev/dsk/c117t3d4" is an alternate link, skip.
Current path "/dev/dsk/c119t3d0" is an alternate link, skip.
Current path "/dev/dsk/c119t3d1" is an alternate link, skip.
Current path "/dev/dsk/c119t3d2" is an alternate link, skip.
Current path "/dev/dsk/c119t3d3" is an alternate link, skip.
Current path "/dev/dsk/c119t3d4" is an alternate link, skip.
Current path "/dev/dsk/c121t3d0" is an alternate link, skip.
Current path "/dev/dsk/c121t3d1" is an alternate link, skip.
Current path "/dev/dsk/c121t3d2" is an alternate link, skip.
Current path "/dev/dsk/c121t3d3" is an alternate link, skip.
Current path "/dev/dsk/c121t3d4" is an alternate link, skip.
Logical volume "/dev/vgPRD/lvsapmnt" has been successfully changed.
Volume Group configuration for /dev/vgPRD has been saved in /etc/lvmconf/vgPRD.conf




# lvextend -L 3000 /dev/vgPRD/lvsapmnt
Warning: rounding up logical volume size to extent boundary at size "3008" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgPRD/lvsapmnt" could not be extended.



# vgdisplay vgPRD
--- Volume groups ---
VG Name /dev/vgPRD
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 13
Open LV 13
Max PV 100
Cur PV 80
Act PV 80
Max PE per PV 3836
VGDA 160
PE Size (Mbytes) 16
Total PE 69440
Alloc PE 56202
Free PE 13238
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


# lvdisplay /dev/vgPRD/lvsapmnt
--- Logical volumes ---
LV Name /dev/vgPRD/lvsapmnt
VG Name /dev/vgPRD
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 125
Allocated PE 250
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default


Check free pe on each PV of XP1 bay :

# lvdisplay -v /dev/vgPRD/lvsapmnt | grep current | awk '{print $2}' | cut -f 4 -d "/" | sort -u | while read line
do
pvdisplay /dev/dsk/$line | grep -e "PV Name" -e "Free PE " | grep -v Alternate
done

PV Name /dev/dsk/c100t3d0
Free PE 160
PV Name /dev/dsk/c100t3d1
Free PE 162
PV Name /dev/dsk/c100t3d2
Free PE 162
PV Name /dev/dsk/c100t3d3
Free PE 167
PV Name /dev/dsk/c100t3d4
Free PE 174
PV Name /dev/dsk/c63t3d0
Free PE 160
PV Name /dev/dsk/c63t3d1
Free PE 161
PV Name /dev/dsk/c63t3d2
Free PE 162
PV Name /dev/dsk/c63t3d3
Free PE 167
PV Name /dev/dsk/c63t3d4
Free PE 171
PV Name /dev/dsk/c80t3d0
Free PE 160
PV Name /dev/dsk/c80t3d1
Free PE 162
PV Name /dev/dsk/c80t3d2
Free PE 162
PV Name /dev/dsk/c80t3d3
Free PE 167
PV Name /dev/dsk/c80t3d4
Free PE 176
PV Name /dev/dsk/c82t3d0
Free PE 160
PV Name /dev/dsk/c82t3d1
Free PE 162
PV Name /dev/dsk/c82t3d2
Free PE 162
PV Name /dev/dsk/c82t3d3
Free PE 169
PV Name /dev/dsk/c82t3d4
Free PE 177
PV Name /dev/dsk/c84t3d0
Free PE 161
PV Name /dev/dsk/c84t3d1
Free PE 162
PV Name /dev/dsk/c84t3d2
Free PE 162
PV Name /dev/dsk/c84t3d3
Free PE 169
PV Name /dev/dsk/c84t3d4
Free PE 177
PV Name /dev/dsk/c86t3d0
Free PE 161
PV Name /dev/dsk/c86t3d1
Free PE 162
PV Name /dev/dsk/c86t3d2
Free PE 162
PV Name /dev/dsk/c86t3d3
Free PE 169
PV Name /dev/dsk/c86t3d4
Free PE 177
PV Name /dev/dsk/c98t3d1
Free PE 151
PV Name /dev/dsk/c98t3d2
Free PE 162
PV Name /dev/dsk/c98t3d3
Free PE 167
PV Name /dev/dsk/c98t3d4
Free PE 169
PV Name /dev/dsk/c98t3d5
Free PE 177
PV Name /dev/dsk/c99t3d0
Free PE 160
PV Name /dev/dsk/c99t3d1
Free PE 161
PV Name /dev/dsk/c99t3d2
Free PE 162
PV Name /dev/dsk/c99t3d3
Free PE 167
PV Name /dev/dsk/c99t3d4
Free PE 173


Check free pe on each PV of XP2 bay :

# lvdisplay -v /dev/vgPRD/lvsapmnt | grep current | awk '{print $5}' | cut -f 4 -d "/" | sort -u | while read line
do
pvdisplay /dev/dsk/$line | grep -e "PV Name" -e "Free PE " | grep -v Alternate
done



PV Name /dev/dsk/c101t3d0
Free PE 160
PV Name /dev/dsk/c101t3d1
Free PE 162
PV Name /dev/dsk/c101t3d2
Free PE 162
PV Name /dev/dsk/c101t3d3
Free PE 167
PV Name /dev/dsk/c101t3d4
Free PE 176
PV Name /dev/dsk/c103t3d0
Free PE 160
PV Name /dev/dsk/c103t3d1
Free PE 162
PV Name /dev/dsk/c103t3d2
Free PE 162
PV Name /dev/dsk/c103t3d3
Free PE 169
PV Name /dev/dsk/c103t3d4
Free PE 177
PV Name /dev/dsk/c105t3d0
Free PE 161
PV Name /dev/dsk/c105t3d1
Free PE 162
PV Name /dev/dsk/c105t3d2
Free PE 162
PV Name /dev/dsk/c105t3d3
Free PE 169
PV Name /dev/dsk/c105t3d4
Free PE 177
PV Name /dev/dsk/c107t3d0
Free PE 161
PV Name /dev/dsk/c107t3d1
Free PE 162
PV Name /dev/dsk/c107t3d2
Free PE 162
PV Name /dev/dsk/c107t3d3
Free PE 169
PV Name /dev/dsk/c107t3d4
Free PE 177
PV Name /dev/dsk/c123t3d1
Free PE 161
PV Name /dev/dsk/c123t3d2
Free PE 162
PV Name /dev/dsk/c123t3d3
Free PE 167
PV Name /dev/dsk/c123t3d4
Free PE 169
PV Name /dev/dsk/c123t3d5
Free PE 177
PV Name /dev/dsk/c125t3d0
Free PE 160
PV Name /dev/dsk/c125t3d1
Free PE 161
PV Name /dev/dsk/c125t3d2
Free PE 162
PV Name /dev/dsk/c125t3d3
Free PE 167
PV Name /dev/dsk/c125t3d4
Free PE 173
PV Name /dev/dsk/c127t3d0
Free PE 160
PV Name /dev/dsk/c127t3d1
Free PE 162
PV Name /dev/dsk/c127t3d2
Free PE 162
PV Name /dev/dsk/c127t3d3
Free PE 167
PV Name /dev/dsk/c127t3d4
Free PE 174
PV Name /dev/dsk/c70t3d0
Free PE 160
PV Name /dev/dsk/c70t3d1
Free PE 161
PV Name /dev/dsk/c70t3d2
Free PE 162
PV Name /dev/dsk/c70t3d3
Free PE 167
PV Name /dev/dsk/c70t3d4
Free PE 171
12 REPLIES 12
Deoncia Grayson_1
Honored Contributor

Re: lvextend and strict policy

could you just post a regualar lvdisplay -v on any lvol without grepping out anything ???

If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Torsten.
Acclaimed Contributor

Re: lvextend and strict policy

Looks like you need free space on every PV (LUN) used in this VG do continue distributing. You need to check this.(pvdisplay vs. xpinfo)

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!   
franlo
Advisor

Re: lvextend and strict policy

hello

here a file with vgdisplay, lvdisplay, one pvdisplay and xpinfo.

if i look pv distribution of one pv, i have the following :
/dev/vgPRD/lvcft 00 -> 01
/dev/vgPRD/lvora 02
/dev/vgPRD/lvoraPRD 03 -> 34
/dev/vgPRD/lvoracli 35 -> 36
/dev/vgPRD/lvquest 37 -> 38
/dev/vgPRD/lvsapmnt 39 -> 42
/dev/vgPRD/lvstage 43 -> 50
AGAIN /dev/vgPRD/lvcft 51 -> 52
/dev/vgPRD/lvinter1 53 -> 58
/dev/vgPRD/lvuniv 59 -> 63
/dev/vgPRD/lvusrsap 64 ->65
/dev/vgPRD/lvarch 66 -> 401
/dev/vgPRD/lvtrans 402 -> 456
AGAIN /dev/vgPRD/lvinter1 457 -> 564
AGAIN /dev/vgPRD/lvcft 564 -> 569


I would like to extend lvsapmnt on pe#570 to pe#574 on this pv. This lvol should not be contigus, and its le are round robbin distributed on all pv of vg (80pv) in PVG-strict/distributed mode (there are no pvg)


thank for your help

regards

Francois
franlo
Advisor

Re: lvextend and strict policy

attached file seem to bee toot big ...
here vgdisplay
franlo
Advisor

Re: lvextend and strict policy

here lvdisplay
franlo
Advisor

Re: lvextend and strict policy

here one pvdisplay
franlo
Advisor

Re: lvextend and strict policy

and here a pece of xpinfo


Device File : /dev/rdsk/c100t3d0 Model : XP1024
Port : CL1D Serial # : 00013162
Host Target : 03 Code Rev : 2101
Array LUN : 18 Subsystem : 1037
CU:LDev : 14:05 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : e2 BC1 (MU#1) : SMPL
Loop Id : 03 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 1-20 ACP Pair : 1
Disk Mechs : R1013 R1113 R1213 R1313
FC-LUN : 4018000000000000 Port WWN : 50060e8003336a03
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRD Vol Manager : LVM
Mount Points: /dev/vgPRD/lvcft:/cft /dev/vgPRD/lvoraPRD:/oracle/PRD /dev/vgPRD/lvoracli:/oracle/client /dev/vgPRD/lvquest:/quest /dev/vgPRD/lvsapmnt:/export/sapmnt/PRD /dev/vgPRD/lvstage:/oracle/stage /dev/vgPRD/lvuniv:/uni /dev/vgPRD/lvusrsap:/usr/sap/PRD /dev/vgPRD/lvarch:/oracle/PRD/saparch /dev/vgPRD/lvtrans:/export/usr/sap/trans /dev/vgPRD/lvinter1:/export/interfaces
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c100t3d1 Model : XP1024
Port : CL1D Serial # : 00013162
Host Target : 03 Code Rev : 2101
Array LUN : 19 Subsystem : 1029
CU:LDev : 06:28 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : e2 BC1 (MU#1) : SMPL
Loop Id : 03 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 1-6 ACP Pair : 1
Disk Mechs : R1005 R1105 R1205 R1305
FC-LUN : 4019000000000000 Port WWN : 50060e8003336a03
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRD Vol Manager : LVM
Mount Points: /dev/vgPRD/lvcft:/cft /dev/vgPRD/lvoraPRD:/oracle/PRD /dev/vgPRD/lvoracli:/oracle/client /dev/vgPRD/lvquest:/quest /dev/vgPRD/lvsapmnt:/export/sapmnt/PRD /dev/vgPRD/lvstage:/oracle/stage /dev/vgPRD/lvuniv:/uni /dev/vgPRD/lvusrsap:/usr/sap/PRD /dev/vgPRD/lvarch:/oracle/PRD/saparch /dev/vgPRD/lvtrans:/export/usr/sap/trans /dev/vgPRD/lvinter1:/export/interfaces
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c100t3d2 Model : XP1024
Port : CL1D Serial # : 00013162
Host Target : 03 Code Rev : 2101
Array LUN : 1a Subsystem : 1035
CU:LDev : 12:28 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : e2 BC1 (MU#1) : SMPL
Loop Id : 03 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 3-18 ACP Pair : 3
Disk Mechs : L1011 L1111 L1211 L1311
FC-LUN : 401a000000000000 Port WWN : 50060e8003336a03
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRD Vol Manager : LVM
Mount Points: /dev/vgPRD/lvcft:/cft /dev/vgPRD/lvoraPRD:/oracle/PRD /dev/vgPRD/lvoracli:/oracle/client /dev/vgPRD/lvquest:/quest /dev/vgPRD/lvsapmnt:/export/sapmnt/PRD /dev/vgPRD/lvstage:/oracle/stage /dev/vgPRD/lvuniv:/uni /dev/vgPRD/lvusrsap:/usr/sap/PRD /dev/vgPRD/lvarch:/oracle/PRD/saparch /dev/vgPRD/lvtrans:/export/usr/sap/trans /dev/vgPRD/lvinter1:/export/interfaces
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c100t3d3 Model : XP1024
Port : CL1D Serial # : 00013162
Host Target : 03 Code Rev : 2101
Array LUN : 1b Subsystem : 1027
CU:LDev : 04:06 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : e2 BC1 (MU#1) : SMPL
Loop Id : 03 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 3-4 ACP Pair : 3
Disk Mechs : L1003 L1103 L1203 L1303
FC-LUN : 401b000000000000 Port WWN : 50060e8003336a03
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRD Vol Manager : LVM
Mount Points: /dev/vgPRD/lvcft:/cft /dev/vgPRD/lvoraPRD:/oracle/PRD /dev/vgPRD/lvoracli:/oracle/client /dev/vgPRD/lvquest:/quest /dev/vgPRD/lvsapmnt:/export/sapmnt/PRD /dev/vgPRD/lvstage:/oracle/stage /dev/vgPRD/lvuniv:/uni /dev/vgPRD/lvusrsap:/usr/sap/PRD /dev/vgPRD/lvarch:/oracle/PRD/saparch /dev/vgPRD/lvtrans:/export/usr/sap/trans /dev/vgPRD/lvinter1:/export/interfaces
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c100t3d4 Model : XP1024
Port : CL1D Serial # : 00013162
Host Target : 03 Code Rev : 2101
Array LUN : 1c Subsystem : 102f
CU:LDev : 0c:06 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : e2 BC1 (MU#1) : SMPL
Loop Id : 03 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 3-12 ACP Pair : 3
Disk Mechs : L100B L110B L120B L130B
FC-LUN : 401c000000000000 Port WWN : 50060e8003336a03
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRD Vol Manager : LVM
Mount Points: /dev/vgPRD/lvcft:/cft /dev/vgPRD/lvoraPRD:/oracle/PRD /dev/vgPRD/lvoracli:/oracle/client /dev/vgPRD/lvquest:/quest /dev/vgPRD/lvsapmnt:/export/sapmnt/PRD /dev/vgPRD/lvstage:/oracle/stage /dev/vgPRD/lvuniv:/uni /dev/vgPRD/lvusrsap:/usr/sap/PRD /dev/vgPRD/lvarch:/oracle/PRD/saparch /dev/vgPRD/lvtrans:/export/usr/sap/trans /dev/vgPRD/lvinter1:/export/interfaces
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c123t0d0 Model : XP1024
Port : CL1A Serial # : 00063024
Host Target : 00 Code Rev : 2101
Array LUN : 00 Subsystem : 0005
CU:LDev : 01:00 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : ef BC1 (MU#1) : SMPL
Loop Id : 00 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 1-1 ACP Pair : 1
Disk Mechs : R1000 R1100 R1200 R1300
FC-LUN : 4000000000000000 Port WWN : 50060e8003f63000
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRDsap-A Vol Manager : LVM
Mount Points: /dev/vgPRDsap-A/lvdata01:/oracle/PRD/sapdata1 /dev/vgPRDsap-A/lvdata06:/oracle/PRD/sapdata6 /dev/vgPRDsap-A/lvdata11:/oracle/PRD/sapdata11 /dev/vgPRDsap-A/lvdata16:/oracle/PRD/sapdata16 /dev/vgPRDsap-A/lvmirrA:/oracle/PRD/mirrlogA /dev/vgPRDsap-A/lvmirrB:/oracle/PRD/mirrlogB /dev/vgPRDsap-A/lvorigA:/oracle/PRD/origlogA /dev/vgPRDsap-A/lvorigB:/oracle/PRD/origlogB
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c123t0d1 Model : XP1024
Port : CL1A Serial # : 00063024
Host Target : 00 Code Rev : 2101
Array LUN : 01 Subsystem : 000d
CU:LDev : 09:00 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : ef BC1 (MU#1) : SMPL
Loop Id : 00 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 1-9 ACP Pair : 1
Disk Mechs : R1008 R1108 R1208 R1308
FC-LUN : 4001000000000000 Port WWN : 50060e8003f63000
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRDsap-A Vol Manager : LVM
Mount Points: /dev/vgPRDsap-A/lvdata01:/oracle/PRD/sapdata1 /dev/vgPRDsap-A/lvdata06:/oracle/PRD/sapdata6 /dev/vgPRDsap-A/lvdata11:/oracle/PRD/sapdata11 /dev/vgPRDsap-A/lvdata16:/oracle/PRD/sapdata16 /dev/vgPRDsap-A/lvmirrA:/oracle/PRD/mirrlogA /dev/vgPRDsap-A/lvmirrB:/oracle/PRD/mirrlogB /dev/vgPRDsap-A/lvorigA:/oracle/PRD/origlogA /dev/vgPRDsap-A/lvorigB:/oracle/PRD/origlogB
DMP Paths : --- CLPR : ---

Device File : /dev/rdsk/c123t0d2 Model : XP1024
Port : CL1A Serial # : 00063024
Host Target : 00 Code Rev : 2101
Array LUN : 02 Subsystem : 0019
CU:LDev : 15:00 CT Group : ---
Type : OPEN-E CA Volume : SMPL
Size : 13893 MB BC0 (MU#0) : SMPL
ALPA : ef BC1 (MU#1) : SMPL
Loop Id : 00 BC2 (MU#2) : SMPL
SCSI Id : ---
RAID Level : RAID5 RAID Type : ---
RAID Group : 3-21 ACP Pair : 3
Disk Mechs : L1014 L1114 L1214 L1314
FC-LUN : 4002000000000000 Port WWN : 50060e8003f63000
HBA Node WWN: 50060b0000250c3b HBA Port WWN: 50060b0000250c3a
Vol Group : /dev/vgPRDsap-A Vol Manager : LVM
Mount Points: /dev/vgPRDsap-A/lvdata01:/oracle/PRD/sapdata1 /dev/vgPRDsap-A/lvdata06:/oracle/PRD/sapdata6 /dev/vgPRDsap-A/lvdata11:/oracle/PRD/sapdata11 /dev/vgPRDsap-A/lvdata16:/oracle/PRD/sapdata16 /dev/vgPRDsap-A/lvmirrA:/oracle/PRD/mirrlogA /dev/vgPRDsap-A/lvmirrB:/oracle/PRD/mirrlogB /dev/vgPRDsap-A/lvorigA:/oracle/PRD/origlogA /dev/vgPRDsap-A/lvorigB:/oracle/PRD/origlogB
DMP Paths : --- CLPR : ---


thanks a lot
regards

Francois
franlo
Advisor

Re: lvextend and strict policy

the first entry of the xpinfo correspond to pvdisplay befor

regards

Francois
franlo
Advisor

Re: lvextend and strict policy

Hello all,

Any body have idea ?

it's like lvm tried to extend lvol witch is on contigus mode and no free pe just back the last pe of this lvol, but i i make "lvmchange -C n" befor to be sure, and there are enouth free pe on the pv....

Thanks a lot for your help

Regard.

FRancois
franlo
Advisor

Re: lvextend and strict policy

Hello all,

Any body have a idea ?

thanks for help

regards

Francois
Steven E. Protter
Exalted Contributor

Re: lvextend and strict policy

Shalom,

Suggestions,

How about breaking any mirrors prior to trying to lvextend.

It seems the intial setup is a little jumbled or disorganized.

I've found it necessary due to my own issues to regorganize completely. This means shutting down any databases, backing up all data to tape, recreating the volume group, logical volumes and restoring the data.

Srict allocation policies are done for a good reason and changing this might be a bad idea for long term data integrity.

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
Torsten.
Acclaimed Contributor

Re: lvextend and strict policy

The LVOL allocation policy set is "distributed", it is similar to "striped".

For this reason you need to have free space on every pvol used by this lvol.

You need to find the minimum number of free PEs on all pvols and extend to this value.

example:

PV Name /dev/dsk/c125t3d4
Free PE 173
PV Name /dev/dsk/c127t3d0
Free PE 160

You can only use the 160 free PEs.

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!