IBM Support

IT18885: DEPLOYMENT SCRIPT CAN INCORRECTLY IDENTIFY THE AVAILABLE DISK SPACE IF POSIXLY_CORRECT VARIABLE IS SET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The Spectrum Protect automatic deployment script for Linux
    relies on POSIXLY_CORRECT environmental variable in order to
    correctly interpret the output from `df` command. In case the
    variable is set but not exported, the script considers the
    output is in 512B blocks, but in fact df still reports the disk
    space in 1K blocks.
    
    In certain cases (when the available disk space is not twice as
    big as it is necessary for the client to upgrade) this can lead
    to an update failure.
    
    Platforms affected:
    All Linux
    
    Versions affected:
    All supported
    

Local fix

  • Unset the POSIXLY_CORRECT environmental variable or export it.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Backup-archive client versions 6.3.x,   *
    * 6.4.x, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.6 and 8.1.0    *
    * running on all Linux platforms.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This issue is projected   *
    * to be fixed in levels 7.1.6.5 and 8.1.2 on all Linux         *
    * platforms. Note that this is subject to change at the        *
    * discretion of IBM.                                           *
    ****************************************************************
    

Problem conclusion

  • If POSIXLY_CORRECT variable is set but not exported the
    deployment script incorrectly estimates the free space on the
    destination disk. The code has been changed, so the script
    checks whether the variable is exported in order to correctly
    identify the measuring units of the free disk space.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT18885

  • Reported component name

    TSM CLIENT

  • Reported component ID

    5698ISMCL

  • Reported release

    71L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-18

  • Closed date

    2017-02-09

  • Last modified date

    2017-02-09

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

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

Modules/Macros

  • deploy
    

Fix information

  • Fixed component name

    TSM CLIENT

  • Fixed component ID

    5698ISMCL

Applicable component levels

  • R71L PSY

       UP

  • R81L PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"71L","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
10 January 2022