IBM Support

IV58047: MIRRORVG MAY LOSE EXISTING 2ND CP WHEN FAIL TO CREATE ITS 3RD CP APPLIES TO AIX 6100-08

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For a vg with 2 mirror copies, use mirrorvg to create the
    3rd mirror copy and
    ctrl+C to kill the mirrorvg process in the middle of
    running (
    while still synching the pps); LVM incorrectly removes
    the existing 2nd mirror
    copy under cleanup of mirrorvg's abnormal termination.
    
    Here is an example:
    1. create a regular vg that has a lv.  The lv has 2
    mirror copies.
    mkvg -f -y testvg hdisk241 hdisk242 hdisk243
    mklv testvg 400 hdisk241
    mirrorvg -c 2 testvg hdisk242
    
    2. use mirrorvg to add the 3rd mirror copy and ctrl+C to
    kill mirrorvg process
    in the middle of running.
    # mirrorvg -c 3 testvg hdisk243
    ^Cgrep: 0652-033 Cannot open
    /tmp/.workdir.23461972.21233776_1/non_single21233776.
    
    Now testvg loses its original 2nd copy and is left with
    single copy.
    # lsvg -l testvg
    testvg:
    LV NAME             TYPE       LPs     PPs     PVs  LV
    STATE      MOUNT POINT
    lv00                jfs        400     400     1
    closed/syncd  N/A
    

Local fix

Problem summary

  • When creating a 3rd mirror with mirrorvg -c3, if the process
    is killed with ctl+c part way through, mirrorvg will cleanup
    the partial 3rd mirror, but will also remove the 2nd mirror.
    

Problem conclusion

  • Change cleanup logic to not remove the 2nd mirror, but only
    the partial 3rd mirror.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV54298
    6100-08 - use AIX APAR IV58047
    6100-09 - use AIX APAR IV54995
    6100-09 - use AIX APAR IV54995
    6100-09 - use AIX APAR IV54995
    7100-01 - use AIX APAR IV57691
    7100-02 - use AIX APAR IV57155
    7100-03 - use AIX APAR IV55026
    7100-04 - use AIX APAR IV54929
    

APAR Information

  • APAR number

    IV58047

  • 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-28

  • Closed date

    2014-03-28

  • Last modified date

    2016-05-10

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

    IV54298

  • 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 U862143

       UP14/08/08 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard 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":"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":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016