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

Skip nonexistent OST during calling lfs_quota

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      # lfs quota -v -p 2 /mnt/lustre
      Disk quotas for prj 2 (pid 2):
           Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
          /mnt/lustre       0  497142464512 552977039360       -       0       0       0       -
      lustre-MDT0000_UUID
                            0       -       0       -       0       -       0       -
      lustre-MDT0001_UUID
                            0       -       0       -       0       -       0       -
      lustre-MDT0002_UUID
                            0       -       0       -       0       -       0       -
      lustre-MDT0003_UUID
                            0       -       0       -       0       -       0       -
      lustre-OST0000_UUID
                            0       -       0       -       -       -       -       -
      lustre-OST0001_UUID
                            0       -       0       -       -       -       -       -
      quotactl ost2 failed.
      quotactl ost3 failed.
      quotactl ost4 failed.
      quotactl ost5 failed.
      lustre-OST0006_UUID
                            0       -       0       -       -       -       -       -
      Total allocated inode limit: 0, total allocated block limit: 0
      pid 2 is using default file quota setting
      

      these nonexistent MDT or OST should be skipped during calling "lfs quota"

            hongchao.zhang Hongchao Zhang
            hongchao.zhang Hongchao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: