Error with system Quotas

kevinwalter

Verified User
Joined
Jun 1, 2011
Messages
51
Hello,

I've got an OpenVZ vps here with CentOS 5.5 64bit.

If I create an account I'm getting this error:

Code:
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

User added to ssh config file.


How can I fix this?

Already tryed this one: http://help.directadmin.com/item.php?id=42

Greetz,

Kevin
 
Oh right, i had read but i had forget about it..

Actually ive no idea at the moment...

You need to add usrquota and grpquota to your / partition (is required also in da installation)...

Hope someone else with experience with OpenVZ box will reply...

Sorry
 
Hello,

Note, in OpenVZ VE you won't see much with

Code:
# cat /etc/fstab

You should run instead:

Code:
# mount

and if you see anything like this:

Code:
# mount
/dev/simfs on / type reiserfs (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,noexec)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

That's OK, if not.... Ask your VPS provider to enable second level quotas for your VE on HN.


One more, you won't see much with

Code:
# quota

you'd better use something like:

Code:
# repquota -a

as I've got

Code:
# quota
Disk quotas for user root (uid 0): none

and

Code:
# repquota -a
*** Report for user quotas on device /dev/simfs
Block grace time: 00:00; Inode grace time: 00:00
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 33825572       0       0         148220     0     0
daemon    --       8       0       0              3     0     0
mail      --   42640       0       0           1429     0     0
games     --      16       0       0              2     0     0
ftp       --    6428       0       0            117     0     0
vcsa      --       8       0       0              1     0     0
rpm       --   33612       0       0             16     0     0
named     --    2732       0       0             41     0     0
smmsp     --      92       0       0             23     0     0
apache    --   79152       0       0            817     0     0
diradmin  --  269848       0       0          15551     0     0
mysql     -- 1449676       0       0          30594     0     0
webapps   --  698952       0       0          20847     0     0
majordomo --     940       0       0            172     0     0
dovecot   --       0       0       0              3     0     0
admin     -- 9859920       0       0           2751     0     0
...
...
...
 
Thanks for that reply.

I'm getting this:

Code:
[root@host ~]# mount
/dev/simfs on / type simfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@host ~]# repquota -a
[root@host ~]#
 
Back
Top