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 <[email protected]> on behalf of 
Steve Barnet <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, February 11, 2021 at 12:07 PM
To: "[email protected]" <[email protected]>
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
    [email protected]
    
https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lustre.org%2Flistinfo.cgi%2Flustre-discuss-lustre.org&amp;data=04%7C01%7Cdarby.vicker-1%40nasa.gov%7C498541af03614a5bd3aa08d8cec04962%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637486672559511752%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=a4wsNBT21rtRUAfkJnd%2Bjp%2BB5Pcu%2FdYUeM2nScSwmB8%3D&amp;reserved=0

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
  • [... Steve Barnet
    • ... Vicker, Darby J. (JSC-EG111)[Jacobs Technology, Inc.] via lustre-discuss
    • ... Moreno Diego (ID SIS)
    • ... Iannetti, Gabriele

Reply via email to