Am 24.04.2013 19:38, schrieb Stroller:
> 
> On 24 April 2013, at 11:16, Neil Bothwick wrote:
>>> ...
>>> Volume size so far fits my needs just fine, but that's because I've
>>> never needed quotas as such. I find quotas too inflexible anyway, it's a
>>> case of forcing a simplistic hardware rule into the human space and that
>>> never really solves the problem properly.
>>
>> Sometimes a simplistic rule is what's needed. If you are selling off-site
>> storage in 1GB chunks, you need to stop people using more than they have
>> paid for. Hard quotas do this, soft quotas let you warn them first,
>> before things get broken.
> 
> I'm unclear how this warning would be addressed. 
> 
> Your system must be more complex than I'm imagining, because I see this 
> obvious answer of a bash script which loops through /home/*, runs `du` or 
> `df` and sends an email to anyone who's consuming more than 90%. Obviously 
> this needs to be adapted to circumstance. 
> 

That only works on small systems. I have systems here where a 'du' on
/home would take hours and produce massive IO wait, because there's so
much data in there.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to