Error with system Quotas

ssgill

Verified User
Joined
May 9, 2012
Messages
168
Hello all, i am new to directadmin+linux so please excuse my ignorance. I did searched the forums but did not find any solution.

Just installed directadmin and when i try to create reseller getting this error:

Error with system Quotas
setquota: Mountpoint (or device) /home not found or has no quota enabled. 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
Reseller's package directory created successfully
Reseller created

Now my setup is Dedicated centos 6.2 64 on hardware raid 10

FSTAB

/dev/mapper/vg_gsss-lv_root / ext4 defaults,usrquota,grpquota 1 1
UUID=4790741b-4e3e-409a-9bb8-d62e75779299 /boot ext4 defaults 1 2
/dev/mapper/vg_gsss-LogVol05 /home ext4 nosuid 1 2
/dev/mapper/vg_gsss-LogVol02 /tmp ext4 noexec,nosuid 1 2
/dev/mapper/vg_gsss-LogVol04 /usr ext4 defaults 1 2
/dev/mapper/vg_gsss-LogVol03 /var ext4 defaults 1 2
/dev/mapper/vg_gsss-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0

Any ideas how to fix this.
Thanks in advance.
 
You've got no quotas on /home, you should enable it.
What you see with

Code:
cat /etc/fstab

?

Hello thanks for reply/question. I result for cat /etc/fstab is exact as i have posted in first post. Now that you mentioned "no quota on /home" i can see that

/dev/mapper/vg_gsss-LogVol05 /home ext4 nosuid 1 2

has not quota set, so if i change this to

/dev/mapper/vg_gsss-LogVol05 /home ext4 nosuid,usrquota,grpquota 1 2

would that fix this. Thanks
 
You need to remount /home or reboot your system for apply those new settings.

And be sure that quota is installed.

Regards
 
Thanks, added usrquota,grpquota to fstab and remounted /home. No more errors.
 
Back
Top