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

enhance "lfs find" to add mirror related search options

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.11.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      Enhance "lfs find" to add the following mirror related search options:

      [!] --mirror-count|-N [+-]<mirror_cnt>
      

      Number of mirrors.

      [!] --file-state <file_state>
      

      State of a mirrored file.
      A mirrored file can be one of the following states:

      RDONLY - the mirrored file is in read only state, all of the mirrors contain the up-to-date data;
      WRITE_PENDING - the mirrored file is being written;
      SYNC_PENDING - the mirrored file is being resynchronized.
      

      The user-friendly file state names would be "ro", "write" and "sync".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yujian Jian Yu
                Reporter:
                yujian Jian Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: