IBM Support

OA54180: LS COMMANDS RETURN INCORRECT VALUE FOR TOTAL BLOCKS. DU COMMANDINCONSISTENT RESULTS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ls -ali   returns invalid values for 'total'
    Ex.
    
    A newly created and empty zFS shows:
    DCESVPI:/SYSTEM/etc/> ls -ali /etc/zfsmnt_testv4a
    total 3569877056
        1 drwxr-xr-x   2 0        SYS1        8192 Oct 10 11:56 .
        3 drwxrwxrwx  91 0        SYS1       24576 Oct 10 11:58 .
    
    ls -aks on the same shows '.' has invalid block count
    DCESVPI:/SYSTEM/etc/> ls -aks /etc/zfsmnt_testv4a
    total 1784938528
    1784938504 .  24 ..
    
    RTC204271
    CMVC D20411
    204271
    
    In addition this PTF also fixes errors with du command output
    
    Example of successive 'du' commands returning wrong /
    inconsistent output:
    DCEIMGTX:/shared/allsys/tjtest/> du -ks *
    7507548568 test1
    7253398304 test2
            24 test3
    DCEIMGTX:/shared/allsys/tjtest/> du -ks *
         6552 test1
          4896 test2
            24 test3
    DCEIMGTX:/shared/allsys/tjtest/> du -ks *
      3882490264 test1
      10911617824 test2
      7507542040 test3
    This is similar to the issue reported in zFS 2.2 apar OA53844
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * zFS Version 2 Release 2                                      *
    * zFS FMID:HZFS420                                             *
    *                                                              *
    * zFS Version 2 Release 3                                      *
    * zFS FMID:HZFS430                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Issuing an ls -ali  command returned                         *
    * incorrect values in the total number                         *
    * of blocks field.                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * APPLY PTF                                                    *
    ****************************************************************
    The number of blocks for a file or directory  are taken
    from a field in the anode. For files we add to this
    the reserved blocks in the vnode extension. We also
    need to add the reserved blocks which are pending
    updates to the anode.
    

Problem conclusion

  • A fix has been added to the update the block calculation
    to correct the total blocks value displayed.
    

Temporary fix

Comments

  • ×**** PE18/06/22 FIX IN ERROR. SEE APAR OA55770  FOR DESCRIPTION
    ×**** PE18/06/22 FIX IN ERROR. SEE APAR OA55770  FOR DESCRIPTION
    

APAR Information

  • APAR number

    OA54180

  • Reported component name

    ZFS ZSERIES FIL

  • Reported component ID

    5696EFS00

  • Reported release

    430

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-16

  • Closed date

    2018-02-17

  • Last modified date

    2019-12-24

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

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

    UA95327 UA95330

Modules/Macros

  • IOEFSCM  IOEFSTHD IOEZADM  IOEDUMPF IOEAGFMT IOEFSKN  IOEFSUTL
    IOEAGSLV
    

Fix information

  • Fixed component name

    ZFS ZSERIES FIL

  • Fixed component ID

    5696EFS00

Applicable component levels

  • R420 PSY UA95330

       UP18/03/03 P F803

  • R430 PSY UA95327

       UP18/03/02 P F803

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"430","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"430","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 December 2019