IBM Support

IJ35257: MMAFMCTL COMMAND TO EVICT A LIST OF FILES THROUGH THE LIST-FILE OPTION FAILS WITH "COULD NOT OPEN FILE" ERROR.

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

  • Eviction tries to create a pruned
    list file in the current working directory
    instead of putting it into internal
    Spectrum Scale directories on /var.
    If the PWD is an RO directory,
    then the eviction command fails
    with a "Could not open file" error.
    

Local fix

  • Keep the current working directory as
    some RW permission directory
    so that eviction can create the temporary
    eviction pruned list file
    in the PWD and proceed.
    

Problem summary

  • Eviction tries to create a pruned
    list file in the current working directory
    instead of putting it into internal
    Spectrum Scale directories on /var.
    If the PWD is an RO directory,
    then the eviction command fails
    with a "Could not open file" error.
    

Problem conclusion

  • This problem is fixed in 5.0.5  PTF 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:
    Be able to run eviction subcommand
    with a list file from within
    read only working directories.
    
    Work around:
    Keep the current working directory as
    some RW permission directory
    so that eviction can create the temporary
    eviction pruned list file
    in the PWD and proceed.
    
    Problem trigger:
    Run mmafmctl eviction subcommand
    with list-file option from inside
    a Read-Only current working directory.
    
    Symptom:
    Error output
    
    Platforms affected:
    All Linux and AIX operating system environments.
    
    Functional Area affected:
    AFM
    
    Customer Impact:
    Suggested
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ35257

  • Reported component name

    SPEC SCALE STD

  • Reported component ID

    5737F33AP

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-06

  • Closed date

    2021-10-06

  • Last modified date

    2021-10-06

  • 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":"505","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
13 October 2021