[lustre-discuss] Any way to dump Lustre quota data?
Kevin M. Hildebrand
kevin at umd.edu
Thu Sep 5 05:07:03 PDT 2019
Is there any way to dump the Lustre quota data in its entirety, rather than
having to call 'lfs quota' individually for each user, group, and project?
I'm currently doing this on a regular basis so we can keep graphs of how
users and groups behave over time, but it's problematic for two reasons:
1. Getting a comprehensive list of users and groups to iterate over is
difficult- sure I can use the passwd/group files, but if a user has been
deleted there may still be files owned by a now orphaned userid or groupid
which I won't see. We may also have thousands of users in the passwd file
that don't have files on a particular Lustre filesystem, and doing lfs
quota calls for those users wastes time.
2. Calling lfs quota hundreds of times for each of the users, groups, and
projects takes a while. This reduces my ability to collect the data at the
frequency I want. Ideally I'd like to be able to collect every minute or
I have two different Lustre installations, one running 2.8.0 with ldiskfs,
the other running 2.10.8 with ZFS.
University of Maryland
Division of IT
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lustre-discuss