IBM Support

IV15898: BACKBYNAME PACKING ERRORS MIGHT RETURN 1 INSTEAD OF 2 APPLIES TO AIX 6100-07

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With IZ85913 installed backbyname will return 1 if a
    packing error occurred because there is not enough space
    to copy the file in /tmp or $TMPDIR when the file we
    are trying to pack is active.
    Thus mksysb and savevg will return 0 even if the backup
    failed.
    

Local fix

  • You can use backbyname -e to exclude files from packing
    or mksysb and savevg -P flag to exclude files from
    packing
    option listed in /etc/exclude_packing.<vgname>
    

Problem summary

  • # cat script.savevg
    #! /usr/bin/ksh
    ulimit -f unlimited
    rm /admin/aaa.loop
    touch /admin/aaa.loop
    (sleep 80 ;dd if=/dev/zero of=/admin/aaa.loop) &
    savevg -X   -f /dev/null rootvg
    
    and we need to make sure /tmp should small enough to not store
    backup image. and big enough to savevg should not increase the
    limit which generally specified using below command.
    # LC_ALL=C bosboot -qad /dev/ipldevice | tail +3l
    | awk '{print $2 * 2}'
    105042
    
    when we run above script, it will fail with below message
    
    Should fail with :
    cp: /tmp/BACKUPXXaaaT-abaa: There is not enough space in the
    file system.
    ckup: 0511-086 Cannot copy ./admin/aaa.loop to a temporary
    location.
    backup: 0511-084 An internal packing error occurred:
     incorrect size
    backup: 0511-442 ./admin/aaa.loop will not be backed up.
    + rc=1
    
    rc should be 2 in that case.
    The sleep 13 might need to be adjusted depending on the
    system you test it as the savevg might be more or less
    faster to start the backbyname.
    

Problem conclusion

  • we need to change exit value based on the error.
    
     mustfix template continued in the next note
    
        <Note by vyalamur (Yalamuri, Vijay B.), 2012/02/27
        00:48:09, seq: 8 rel: 2  action: note>
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV15898

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2012-02-21

  • Closed date

    2012-02-28

  • Last modified date

    2013-04-10

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

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

    IV16323 IV16439 IV16729

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U839531

       UP12/05/11 I 1000

PTF to Fileset Mapping

[{"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:
10 April 2013