setquota: Mountpoint (or device) / not found. setquota: Not all specified mountpoints

vitasis

Verified User
Joined
Nov 2, 2009
Messages
20
Location
Lithuanian
When i want to create new user i see this error:

Unix User created successfully

Error with system Quotas
setquota: Mountpoint (or device) / not found. setquota: Not all specified mountpoints are using quota.
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home

Can't get file lock on /etc/virtual/domains
Can't get file lock on /etc/virtual/domainowners

Error Creating Domain


Where can be problems?
 
Maybe you know how enable quota on my VPS server. My os CentOS release 5.4 (Final), its VPS made this openvz.

When i do: # quotaon -vaug

quotaon: using //aquota.group on /dev/simfs [/]: Permission denied
quotaon: using //aquota.user on /dev/simfs [/]: Permission denied


But: # repquota -a <--- works
 
you can not enable it becouse of vzquota/quota on vps master node that controlls yours vm quota ;)

there is a solution for it (quota on container) contact your provider
 
Last edited:
Now I deleted aquota.group and aquota.user and i have this error message:

quotaon: Cannot find quota file on / [/dev/simfs] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/simfs] to turn quotas on/off.

So problem is this my VPS? How can i really check if my VPS supports second-level quota? :)
 
How to enable second-level quota on VZ VPS

Your VPS provider should enable second QUOTA support for VPS (it is disabled by default):

Code:
# vzctl set <veid> --quotaugidlimit 500 --save
# vzctl restart <veid>

where 500 - is total number of users inside VPS for which QUOTA will be counted.
 
Last edited:
Back
Top