[lustre-discuss] Elegant way to dump quota/usage database?

Moreno Diego (ID SIS) diego.moreno at id.ethz.ch
Fri Feb 12 00:04:44 PST 2021

Hi Steve,

If you have access to the servers you could aggregate the information given by:

lctl get_param osd-ldiskfs.*.quota_slave_dt.acct_{user,group,project}

The command will basically give you for each Lustre device the information stored on the inode quota for user, group or project quotas.



On 11.02.21, 20:07, "lustre-discuss on behalf of Steve Barnet" <lustre-discuss-bounces at lists.lustre.org on behalf of barnet at icecube.wisc.edu> wrote:

    Hey all,
       I would like to be able to dump the usage tracking and quota 
    information for my lustre filesystems. I am currently running lustre 2.12
    lfs quota -u $user $filesystem
    works well enough for a single user. But I have been looking for a way 
    to get that information for all users of the filesystem. So far, I have 
    not stumbled across anything more elegant than a brute force iteration 
    over my known users.
    While that works (mostly), it is clearly not great. Is there a better 
    way to do this? Hoping I just missed something in the docs ...
    Thanks in advance for any pointers in this area.
    lustre-discuss mailing list
    lustre-discuss at lists.lustre.org

More information about the lustre-discuss mailing list