Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1707

Add llapi_* function to return the OST/MDT count for a path.

Details

    • 10514

    Description

      It would be valuable to programmatically discover the number of OSTs that are available. An llapi_* function would be a suitable place for this call.

      Use Case

      When writing HDF5 files one typically configures the number of writers as a fraction of the number of OSTs for best performance.

      Currently this information is only available by writing a file with stripe count set to -1 and then counting the number of stripes present. A programmatic interface to the OST count would simplify this task.

      Attachments

        Issue Links

          Activity

            [LU-1707] Add llapi_* function to return the OST/MDT count for a path.
            simmonsja James A Simmons made changes -
            Fix Version/s New: Lustre 2.17.0 [ 16192 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-3480 [ LU-3480 ]
            adilger Andreas Dilger made changes -
            Labels Original: llnl New: lfs llapi llnl usability
            adilger Andreas Dilger made changes -
            Summary Original: Add llapi_* function to return the striping info for a path. New: Add llapi_* function to return the OST/MDT count for a path.
            adilger Andreas Dilger made changes -
            Assignee Original: Richard Henwood [ rhenwood ] New: WC Triage [ wc-triage ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-5969 [ LU-5969 ]
            jlevi Jodi Levi (Inactive) made changes -
            Fix Version/s Original: Lustre 2.7.0 [ 10631 ]
            jlevi Jodi Levi (Inactive) made changes -
            Fix Version/s New: Lustre 2.7.0 [ 10631 ]
            morrone Christopher Morrone (Inactive) made changes -
            Labels New: llnl
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-2182 [ LU-2182 ]

            People

              wc-triage WC Triage
              rhenwood Richard Henwood (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: