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

lfs find ! --projid doesn't work as expected

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.13.0, Lustre 2.12.1
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Somehow lfs find ! --projid <num> didn't work well and it is very easy to reproduce this:

      [root@exa4-1 client]# lfs find --projid 1002 foor
      foor/not-project
      [root@exa4-1 client]# lfs find ! --projid 1002 foor
      foor
      foor/2.file
      foor/not-project -------------> this should not be outputted here.
      foor/4.file
      foor/3.file
      foor/5.file
      foor/1.file
      Behavior I would expect would be something like the '--ost' case:
      [root@exa4-1 client]# lfs find ! --ost 0 foor
      foor/3.file
      foor/5.file
      foor/1.file
      [root@exa4-1 client]# lfs find --ost 0 foor
      foor/2.file
      foor/not-project
      foor/4.file

        Attachments

          Activity

            People

            • Assignee:
              wshilong Wang Shilong
              Reporter:
              wshilong Wang Shilong
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: