A fix is available
APAR status
Closed as program error.
Error description
extendlv command fails with the below error even though VG has lot of free PPs. #extendlv exlv 192 0516-032 lextendlv: Illegal physical partition number. 0516-788 extendlv: Unable to extend logical volume. From the lslv output, its seen that the LV exlv belongs to hdisk1. # lslv -m exlv exlv:N/A LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0193 hdisk1 0002 0194 hdisk1 0003 0195 hdisk1 0004 0196 hdisk1 0005 0197 hdisk1 The lspv -M hdisk1 output, shows that hdisk1 has enough PPs for extending the LV exlv. # lspv -M hdisk1 hdisk1:1 tmplv:1 hdisk1:2 tmplv:2 hdisk1:3 tmplv:3 hdisk1:4 tmplv:4 hdisk1:5 tmplv:5 hdisk1:6-192 ----> Not enough PPs here hdisk1:193 exlv:1 hdisk1:194 exlv:2 hdisk1:195 exlv:3 hdisk1:196 exlv:4 hdisk1:197 exlv:5 hdisk1:198-384 ----> Not enough PPs here hdisk1:385 tmplv:6 hdisk1:386 tmplv:7 hdisk1:387 tmplv:8 hdisk1:388 tmplv:9 hdisk1:389 tmplv:10 hdisk1:390-959 ----> Lot of contiguous free PPs. extendlv looks for the available contiguous free PP pools in all the PVs. Then it chooses the best free pool of required free PPs. In this case, the required free PPs is only 192. Though there are 570 contiguous free PPs available, extendlv fails with the above error.
Local fix
Problem summary
If an LV has enough contiguous space for an extendlv operation on one disk, but not the other disk(s) in the VG, a logic error in the code can mistakenly select one of the other disks and try to allocate the partitions from it, causing extendlv to fail.
Problem conclusion
Correct logic error in the allocator to sucessfully extendlv in this case.
Temporary fix
Comments
6100-07 - use AIX APAR IV48755 6100-08 - use AIX APAR IV57806 6100-09 - use AIX APAR IV50104 6100-09 - use AIX APAR IV50104 6100-09 - use AIX APAR IV50104 7100-01 - use AIX APAR IV57504 7100-02 - use AIX APAR IV56954 7100-03 - use AIX APAR IV49911
APAR Information
APAR number
IV50104
Reported component name
AIX 610 STD EDI
Reported component ID
5765G6200
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-09-27
Closed date
2013-09-27
Last modified date
2014-08-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX 610 STD EDI
Fixed component ID
5765G6200
Applicable component levels
R610 PSY U859282
UP14/05/21 I 1000
PTF to Fileset Mapping
U859282 bos.rte.lvm 6.1.9.15
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 August 2014