[LU-15173] Skip nonexistent OST during calling lfs_quota Created: 28/Oct/21  Updated: 02/Nov/21  Resolved: 02/Nov/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14472 skip inactive target during "lfs quota" Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
# 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"



 Comments   
Comment by Gerrit Updater [ 28/Oct/21 ]

"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45393
Subject: LU-15173 quota: skip nonexistent tgt for lfs-quota
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 35722644ba173b5c1005e7182bffaa603bd66c4e

Comment by Andreas Dilger [ 02/Nov/21 ]

Closing this as a duplicate of LU-14472

Generated at Sat Feb 10 03:16:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.