How to get rid of disk quotas for good?

4 posts / 0 new
Last post
#1 Thu, 04/01/2010 - 03:27
Jbates

How to get rid of disk quotas for good?

Hi there I use my servers with a single user only (me), and disk quotas:

1- don't seem to be saved on reboot, when I disable them they automatically get re-enabled at the next reboot

2- this caused a couple major headaches when the server was performing horribly, and I spent hours debugging, only to find out it was mysql timing out every single request because the "disk is full" (or rather, quotas were re-enabled without me noticing)

Is there a simple way to get rid of disk quotas for good? something like yum remove quotas?

Thu, 04/01/2010 - 09:30
andreychek

Howdy,

It's not quite as simple as removing a package, but it is possible to stop using quotas :-)

You can tell Virtualmin to not use quotas by going into System Settings -> Module Config, and set "Quota setup for domain and mail users" to "No".

After that, you may also want to disable them altogether on your filesystem. You can do that in Webmin -> System -> Disk Quotas. On that screen, you'll have the option of disabling quotas for any particular partition on your server.

-Eric

Fri, 04/02/2010 - 08:01
Jbates

Thanks Andrey: I've already tried that, and apparently on the next reboot quotas are re-enabled :/ Is that how it's supposed to work?

Mon, 04/12/2010 - 11:29
ronald
ronald's picture

from centos:
http://www.centos.org/docs/5/html/Global_File_System/s2-manage-quotaacco...

this may help, although it is about global file systems.
And this is for disk quota's
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-disk-quotas-...

Topic locked