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

Vicker, Darby J. (JSC-EG111)[Jacobs Technology, Inc.] darby.vicker-1 at nasa.gov
Thu Feb 11 11:26:54 PST 2021

FWIW, I've had the same need and I do exactly the brute force iteration you speak of for our LFS's to log user usage vs time.  For our NFS server, we use ZFS and there is a nice one-liner to give that info in ZFS.  I agree, it would be nice if there was a similar one-liner for lustre.  

-----Original Message-----
From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Steve Barnet <barnet at icecube.wisc.edu>
Reply-To: "barnet at icecube.wisc.edu" <barnet at icecube.wisc.edu>
Date: Thursday, February 11, 2021 at 12:07 PM
To: "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
Subject: [EXTERNAL] [lustre-discuss] Elegant way to dump quota/usage database?

    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