IBM Support

IJ07176: MMLSQUOTA GETS INFINITE LOOP WHEN USER IS NONE

 

APAR status

  • Closed as program error.

Error description

  • mmlsquota can end in infinite loop when the user is not
    specified, it takes the fileset as user which does not
    exist.
    
    # /usr/lpp/mmfs/bin/mmlsquota -u --block-size auto data
    data: no such user
    mmlsquota: Command failed. Examine previous error
    messages to determin
    cause.
    
    However, when fileset is specified, the infinite loop
    kicks off:
    # /usr/lpp/mmfs/bin/mmlsquota -u --block-size auto
    data:root
    data:root: no such user
    data:root: no such user
    data:root: no such user
    data:root: no such user
    data:root: no such user
    data:root: no such user
    data:root: no such user
    
    Known Impact:
    It could cause infinite loop logs in the system log file.
    

Local fix

  • Use the correct user input.
    

Problem summary

  • mmlsquota command processes the long options before short
    options.If the command enters with a syntax error like below:
      /usr/lpp/mmfs/bin/mmlsquota -u --block-size auto data
    the device argument "data" becomes the user argument.
    Normally, the lookup for userid would fail.  But on some setups
    (using local LDAP name service), this could end up in an endless
    loop.
    

Problem conclusion

  • For mmlsquota, process the command options in one loop.
    For the above case mmlsquota would take "--block-size"
    as -u's argument (the user argument).  Then "auto" and "data"
    become the device list.  mmlsquota would fail at the script
    leave if there is not such file system name "auto"
    
    Note: If admins enter a nonexisting "User" from the syntax
    below:
    mmlsquota [-u User | -g Group] [-v | -q] [-e] [-C ClusterName]
    [-Y][--block-size {BlockSize | auto}] [Device[:Fileset] ...]
      they would still see the endless loop.
    

Temporary fix

Comments

  •      423
    

APAR Information

  • APAR number

    IJ07176

  • Reported component name

    SPECTRUM SCALE

  • Reported component ID

    5725Q01AP

  • Reported release

    423

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-18

  • Closed date

    2018-06-18

  • Last modified date

    2019-06-28

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

    IJ06219

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

    IJ08097

Fix information

  • Fixed component name

    SPECTRUM SCALE

  • Fixed component ID

    5725Q01AP

Applicable component levels

  • R423 PSY U885025

       19/06/28 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY","label":"IBM Spectrum Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"423","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSFKCN","label":"General Parallel File System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"423","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 June 2019