IBM Support

IV56891: REPLACEPV MAY FAIL W/ 0516-1232 WHEN DISK WAS PHYSICALLY REMOVED APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • replacepv may fail with a 0516-1232 error when a disk is
    physically removed:
    0516-1232 replacepv:
            NOTE: If this program is terminated before the
    completion due to
            a system crash or ctrl-C, and you want to
    continue afterwards
            execute the following command
            replacepv -R /tmp/replacepv12976316
    0516-015 lmigratelv: The migrate was done but the
    partition
            could not be resynced.
    0516-1227 replacepv: Warning, replacepv did not
    completely succeed.
    

Local fix

Problem summary

  • Replacepv has some faulty logic to try and validate that it has
    successfully mirrored an LV onto the new replacement disk.
    So when you are replacing a bad disk that has stalepps (would
    not be uncommon), replacepv will create a copy of each LV onto
    the new disk, sync, and then verify.
    When it verifies, it sees that the copy on the bad disk is
    still stale, so it warns that the LV may not be fully migrated,
    but still removes the copy of the bad disk, and then
    fails out of replacepv without migrating any remaining LVs
    to the new disk.
    .
    You'll see the warnings above, and see that one LV was
    successfully moved to the new disk, but if you had any other
    LVs on the bad disk, they would not be moved.
    

Problem conclusion

  • Correct the validation part of replacepv so that it will not
    warn/fail if the LV is not fully syncd, so long as the new copy
    on the new disk is sync'd.
    .
    This will allow replacepv to continue migrating the rest of
    the LVs to the replacement disk.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58384
    6100-08 - use AIX APAR IV58050
    6100-09 - use AIX APAR IV56891
    6100-09 - use AIX APAR IV56891
    6100-09 - use AIX APAR IV56891
    7100-01 - use AIX APAR IV57587
    7100-02 - use AIX APAR IV57381
    7100-03 - use AIX APAR IV55736
    7100-03 - use AIX APAR IV55736
    7100-03 - use AIX APAR IV55736
    7100-04 - use AIX APAR IV56904
    

APAR Information

  • APAR number

    IV56891

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-20

  • Closed date

    2014-03-20

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV55736

  • 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



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV56891

Modified date: 10 May 2016