On Wed, Aug 22, 2018 at 11:37:55PM +0100, Jonathan Buzzard wrote:
On 22/08/18 18:12, Oesterlin, Robert wrote:
Sometimes, I look at the data that's being stored in my file systems and just shake my head:
/gpfs/<path removed>/Restricted/EventChangeLogs/deduped/working contains 17,967,350 files (in ONE directory)
That's what inode quota's are for. Set it pretty high to begin with, say one million. That way the vast majority of users have no issues ever. Then the troublesome few will have issues at which point you can determine why they are storing so many files, and appropriately educate them on better ways to do it. Finally if they really need that many files just charge them for it :-) Having lots of files has a cost just like having lots of data has a cost, and it's not fair for the reasonable users to subsidize them.
Yep, we set our fileset inode quota to 1 million/TB of allocated space. It seems overly generous to me but it's far better than no limit at all. -- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine
