Error with system quota

kietnt

New member
Joined
Oct 23, 2011
Messages
3
Hi All,

I received this error when i add new user on server have just installed DA.
Code:
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

User added to ssh config file.

I cant run command : quotaon -a

Code:
[root@server ~]# quotaon -a
quotaon: using //aquota.group on /dev/sda3 [/]: No such device
quotaon: using //aquota.user on /dev/sda3 [/]: No such device

Code:
[root@server ~]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults,usrquota,grpquota      1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0

Code:
[root@linux ~]# df -a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            463718828  24643928 415139256   6% /
proc                         0         0         0   -  /proc
sysfs                        0         0         0   -  /sys
devpts                       0         0         0   -  /dev/pts
/dev/sda1               194442     17415    166988  10% /boot
tmpfs                  2052384         0   2052384   0% /dev/shm
none                         0         0         0   -  /proc/sys/fs/binfmt_misc
sunrpc                       0         0         0   -  /var/lib/nfs/rpc_pipefs

If i change quota_partition=/ to quota_pertion=/dev/sda3 in directadmin.conf, I dont see any error when add user. But DA cant count Disk usage for user.


I dont know why quota cant be enabled on this server. Can everybody help me?

Thanks All !
 
Hello,

The subject has been already discussed here. You'd better search the forums.
Note, that

Code:
cat /etc/fstab

does not always show the actual data, use

Code:
mount


If you need it, I can suggest you my private help as a commerce service to solve your issue. Feel free to contact me by PM or email if you get interested.
 
Hi zEitEr,

Thanks for your reply.

This is the result of mount:
Code:
[root@server ~]# mount
/dev/sda3 on / type ext3 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

Thanks you !
 
OK. Quotas seems to be anabled, now you might need to create special files aquota.group and aquota.user with quotacheck. You should really read

Code:
man quotacheck

or/and search the forums.

If you need hands to do it for you, you should pay the work.
 
Back
Top