[BlueOnyx:10349] Re: 5108R Quota discrepency

Chuck Tetlow chuck at tetlow.net
Thu Apr 26 13:14:03 -05 2012


Randy,

A user's files could be somewhere else than in that user's home directory.  If that user is the admin and has been loading a lot of files to the site's website - that counts again him too, since those files are also owned by that user.  So you have to go around that virtual site, find all the files owned by that user and add them all up to get his actual total.  It should come close to that quota number.

One way to fix that is the new feature in the BX GUI where you can set the ownership of the /web directory's files.  Change the ownership to "nobody" or "apache" - and it may solve that user's over-quota issue.  Of course - that could cause other problems with the website itself (especially if using a CMS), so be sure you know what you're doing before changing those ownerships.

Chuck

---------- Original Message -----------
From: "Randy Smith" <forhire at lewiscounty.com> 
To: blueonyx at mail.blueonyx.it 
Sent: Thu, 26 Apr 2012 10:01:13 -0700 
Subject: [BlueOnyx:10348]  5108R Quota discrepency

> Customer call says he's out of space and got an error in owm. Looked at the 
> web admin it looks ok. I increased space for good measure. Later I look and 
> it's grown. So I compare with get_quotas.pl and what I see in the home dir. 
> 
> /usr/sausalito/sbin/get_quotas.pl | grep user_x 
> user_g    340000  512000 
> 
> du -c /home/sites/www.domain.com/users/user_x/ 
> 95068   total 
> 
> I suspect there is something else being counted. Where do I need to look? 
> 
> Because I just imported this user from BQ I did some cleanup using the 
> suggestions here: 
> http://article.gmane.org/gmane.linux.devices.blueonyx.user/6059/match=quota 
> 
> Thanks, 
> 
> Randy 
> 
> _______________________________________________ 
> Blueonyx mailing list 
> Blueonyx at mail.blueonyx.it 
> http://mail.blueonyx.it/mailman/listinfo/blueonyx 
------- End of Original Message -------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120426/509babe2/attachment.html>


More information about the Blueonyx mailing list