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

"lfs mirror delete --mirror-id" argument has no max value

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Upstream
    • Fix Version/s: None
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      "lfs mirror delete --mirror-id" should not allow mirror-id greater than 65535 as it is stored in __u16.

      [root@vm4 flr]# lfs mirror delete --mirror-id 65535 foo 
      error lfs mirror delete: file 'foo' does not contain mirror with id 65535
      
      [root@vm4 flr]# lfs mirror delete --mirror-id 65537 foo
      error lfs mirror delete: file 'foo' does not contain mirror with id 1
      

      I think it also applies to any "lfs mirror" command that uses --mirror-id

        Attachments

          Activity

            People

            • Assignee:
              wc-triage WC Triage
              Reporter:
              baillergeau Kevin Baillergeau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: