[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.

    Best,

    ---Steve

    _______________________________________________
    lustre-discuss mailing list
    lustre-discuss at lists.lustre.org
    https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lustre.org%2Flistinfo.cgi%2Flustre-discuss-lustre.org&data=04%7C01%7Cdarby.vicker-1%40nasa.gov%7C498541af03614a5bd3aa08d8cec04962%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637486672559511752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a4wsNBT21rtRUAfkJnd%2Bjp%2BB5Pcu%2FdYUeM2nScSwmB8%3D&reserved=0



More information about the lustre-discuss mailing list