Error with system Quotas

snowweb

Verified User
Joined
Aug 31, 2007
Messages
144
Location
Antipolo City, Rizal, Philippines (a British Natio
Hi, I'm getting the following error message, each time I set up a new user:

User testuser created

Details

Unix User created successfully

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

Domain Created Successfully

(Substitute 'testuser' for whatever username I try to setup).

When I run '/usr/sbin/repquota /' I get:
[root@s1 ~]# /usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found.
repquota: Not all specified mountpoints are using quota.

This is the quota_partition entry of /usr/local/directadmin/conf/directadmin.conf file

quota_partition=/

This is the contents of /etc/fstab

none /dev/pts devpts rw 0 0

Any ideas please.

Regards,

pete
 
[root@s1 ~]# /usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found.
repquota: Not all specified mountpoints are using quota.

Is /home a separate partition?


none /dev/pts devpts rw 0 0

That is all that is in fstab?


.
 
Thanks again for your help floyd.

Yes, there is nothing else in fstab.

Regarding /home being on a different partition, I have no idea of the physical disk layout (it's not as easy to figure out as windows, unless you're in the know!). Is there a way I can find out?

Regards, pete
 
If that's all that's in fstab, then it's unlikely you have more than one partition. Are you running on a VPS? If so you should contact your vendor to find out if quotas are supported.

Jeff
 
Thanks for the vps idea Jeff. That definitely looks like fstab for an OpenVZ vps. I have a few and I doubled checked their fstab's.

I agree that the host does not have quota's enabled for the vps. The error itself is nothing to worry about.

You can have DirectAdmin suspend on reaching the disk space limit if you are really concerned about making sure people do not use more than they are supposed to. But the suspension will only happen when DA runs the tally for the day.
 
On a openVZ container you need to configure some parameters to get the quotas for this container.
Extracted from OpenVz manual said:
By default, OpenVZ has first-level quotas enabled (which is defined in the OpenVZ global
configuration file), whereas second-level quotas must be turned on for each Virtual Private
Server separately (in the corresponding VPS configuration files). It is impossible to turn on
second-level disk quotas for a Virtual Private Server if first-level disk quotas are off for that
Virtual Private Server.
Chapter 'Managing Resources' section 'Managing Disk Quotas' on page 47.

Hope this help,
Ramon
 
10 out of 10 chaps! You all get a cookie!

Serverpoint responded and said they've now enabled quotas and after a restart, they should be working.

I just restarted and tested it again by creating a user and now errors this time, just success messages.

Thanks again :)

pete
 
Back
Top