*tutorial* How to fix unlimited quotas and 0.00 disk usage problem

S

Secret Agent

Guest
There is only once account on the server now, its a brand new server / os reloaded fresh

I'm waiting for the reboot to finish now
 

Icebreaker

Member
Mar 17, 2005
9
0
151
Brilliant Thanks Collateral!


fixquota's worked a couple of days ago, so I have no idea WTF the server went back to how it was... maybe due to a reboot.. But hopefully your file mod fixes it perminently for me.


Thanks again,


Dan
 

Gaming-Heaven

Member
Jan 3, 2007
18
0
151
it was i who posted about this problem a few days ago, is it possible to explain it a bit more as i dont get the instructions very much :(


thanks guys
 

Hostuse

Registered
Jul 28, 2005
4
0
151
hello

the problem... quotas unlimited..

1./scripts/upcp --force

2.server reboot

3./scripts/fixquotas

problem solved :D
 

ns1

Active Member
Aug 8, 2006
31
0
156
THX a lot for this topic.

I have updated server and bug fixed.

thx again.
 

ekhwan

Active Member
Aug 12, 2006
33
0
156
I shifted one of my accounts from a dedicated to a VPS using the Virtuazzo new feature which allows to copy the entire disk as is. Everything seems to work fine. except that all quotas a unlimited and usage 0. fixquota shows that there is no file system. Does this script work for VPS as well? Any ideas what to do.

Another problem is that when the reseller tries to create an account it results in "Account Creation Completed" without any details being shown or any errors or anything and while the account is NOT created.

Can anyone help on this issue?
 

ekhwan

Active Member
Aug 12, 2006
33
0
156
yes it does work

may be your second level quotas are off on your node
Which one of these scripts work? I tried fixquota but it does not work. And what is a second level quota or node. I have no idea of this whole mess.

Will the colleteralfx script work or the hostuse one?

I just dont want to mess-up with the installation or anything but would be grateful if anyone here can show me a solution to my probelm.

Another thing I am facing is when I reboot the VPS I get an email saying "cpsrvd failed @ Thu Jun 28 11:24:47 2007. A restart was attempted automagicly."

What does this mean? How can it be solved?

Thanks everyone.
 

ekhwan

Active Member
Aug 12, 2006
33
0
156
I tried the script provided by CollateralFX, used pico to edit the fstab and then did a quotacheck but still getting same results. Can anyone here please help me. I am on a VPS.

XYZ [~]# quotacheck -avugm
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
XYZ [~]# pico /etc/fstab
XYZ [~]# mount -o remount /
XYZ [~]# quotacheck -avugm
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
perhaps I should have quoted

I shifted one of my accounts from a dedicated to a VPS using the Virtuazzo
yes it does work

may be your second level quotas are off on your node

Host system (OpenVZ/Virtouzzo) owner (root) can set up a per-container disk quotas, in terms of disk blocks and i-nodes. This is the first level of disk quota. In addition to that, a container owner (root) can use usual quota tools inside own container to set standard UNIX per-user and per-group disk quotas


Node: Hardware Node (controlled by your provider)

Note: for open VZ & Virtouzzo it requires a reboot of your VE to set second level quotas
 

ekhwan

Active Member
Aug 12, 2006
33
0
156
perhaps I should have quoted

may be your second level quotas are off on your node
quotas
This was the problem, I got this fixed now. But I am still having one problem. When I create a new account I get the reply "Account Creation Complete!!!" but nothing happens. the account does not get created.

Problem is solved with upgrade of CPanel.
 
Last edited:

sitespt

Active Member
Jul 10, 2006
27
2
153
Hello.
I couldn't follow the steps in this excellent tutorial because in fstab I only have:
none /dev/pts devpts rw 0 0

Nothing else...
What can be wrong? :confused:
 

sitespt

Active Member
Jul 10, 2006
27
2
153
Problem fixed in VPS

My host found the problem:

As I'm in a VPS, FSTAB is different from a dedicated server, so this tutorial didn't work for me.

The solution was in /etc/sysconfig/vz-scripts/3.conf
Changed QUOTAUGIDLIMIT="0" to QUOTAUGIDLIMIT="10000" and voilá...
After a /scripts/fixquotas the problem was fixed.

Hope this helps anyone...:p
Thank you to everyone.

Joel M
 

Gamer4u

Member
Feb 14, 2006
11
0
151
I did it with /, and the quotas weren't being calculated. I changed it to /home/ and now it works. :D It will produce an error if both / and /home are set as usrquota.
OS: CentOS 4
 

mathildedf

Registered
Jun 5, 2007
2
0
151
No filesystems with quota detected.

This worked for me as well:

mount -o remount /
quotaon /
./fixquotas