[CentOS] OT how to prevent oversubscription of a disk

Jorge Fábregas jorge.fabregas at gmail.com
Fri Dec 31 16:42:59 UTC 2010


On Thursday, December 30, 2010 09:53:25 pm Dave wrote:
> I want to add up the quotas I've assigned on a particular partition
> and see if the total is bigger than the disk. It's possible to do this
> (awkwardly) using repquota or quota. Is there no more accurate/elegant
> way? 

I don't think so. I haven't seen any switch on any of the usual commands 
(repquota etc)  to get this. I guess you'll have to do some scripting to add 
up the "used" values in order to compare them with your partition size.

If you find/create the elegant way, please share...

Happy New Year!
Jorge



More information about the CentOS mailing list