IBM Support

IJ46534: ISSUING MMDSH INCORRECTLY MAY REMOVE A LOCAL FILE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The syntax of mmdsh is as follow:
    mmdsh -N {Node[,Node...] | NodeFile | NodeClass}
    [-l LoginName] [-i] [-s] [-r RemoteShellPath]
    [-v [-R ReportFile]] [-f FanOutValue] Command
    
    In the following example, mmdsh will remove /tmp/someFile.
    mmdsh -N "ls -lrt /tmp/someFile"
    
    In this example, the intended nodelist {Node[,Node...] |
    NodeFile | NodeClass} is missing. The command takes the next
    token, the string "ls -lrt /tmp/someFile" as a node list.  It
    calls a GPFS internal command to obtain a list of nodes in the
    cluster. The call to the internal command was not properly done.
    The internal command takes file /tmp/someFile as an output file
    which it removes before write new data to it.
    

Local fix

  • Review the manpage carefully and enter the command correctly
    especially ensure the correct list of nodes before you run
    mmdsh.
    

Problem summary

  • The syntax of mmdsh is as follow:
    
    mmdsh -N {Node[,Node...] | NodeFile | NodeClass}
    
    [-l LoginName] [-i] [-s] [-r RemoteShellPath]
    
    [-v [-R ReportFile]] [-f FanOutValue] Command
    
    In the following example, mmdsh will remove /tmp/someFile.
    
    mmdsh -N "ls -lrt /tmp/someFile"
    
    In this example, the intended nodelist {Node[,Node...] |
    NodeFile | NodeClass} is missing. The command takes the next
    token, the string "ls -lrt /tmp/someFile" as a node list.  It
    calls a GPFS internal command to obtain a list of nodes in the
    cluster. The call to the internal command was not properly done.
    The internal command takes file /tmp/someFile as an output file
    which it removes before write new data to it.
    

Problem conclusion

  • This problem is fixed in 5.1.2.11
    To see all Spectrum Scale APARs and their respective
    Fix solutions refer to page:
    https://public.dhe.ibm.com/storage/spectrumscale/spectrum_scale_
    apars.html
    
    Benefits of the solution:
    Protect a file from deleting when issue mmdsh command
    incorrectly.
    
    Work Around:
    Review the manpage carefully and enter the command correctly
    especially ensure the correct list of nodes before you run
    mmdsh.
    
    Problem trigger:
    Running mmdsh with node list argument.
    
    Symptom:
    Unexpected Results/Behavior
    
    Platforms affected:
    ALL Operating System environments
    
    Functional Area affected:
    Admin Commands
    
    Customer Impact:
    Critical
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ46534

  • Reported component name

    SPEC SCALE STD

  • Reported component ID

    5737F33AP

  • Reported release

    512

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-04-21

  • Closed date

    2023-05-15

  • Last modified date

    2023-05-15

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

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

Fix information

  • Fixed component name

    SPEC SCALE STD

  • Fixed component ID

    5737F33AP

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"512","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
05 June 2023