Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: capsx on April 16, 2016, 03:32:12 AM

Title: False "Quota is not installed"
Post by: capsx on April 16, 2016, 03:32:12 AM
Each time i log in, there is a false quota warning:

WARNING: Quota! Quota is not installed on your server and you will not be able to limit users disk space!
You can install Quota using instructions on the forum click here.

[sys]
Centos: 6.7
CWP: 0.9.8.12

[/etc/ftsab]
/dev/sda       /               ext4    noatime,errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0       0 1

[/usr/local/cwp/.conf/quota_part.conf]
/home

Screenshots:

http://i.imgur.com/lAUvhpk.png
http://i.imgur.com/Nr51aOx.png

Title: Re: False "Quota is not installed"
Post by: Sandeep on April 16, 2016, 06:48:26 AM
you can safely ignore this message, if you don't want quota on your server
Title: Re: False "Quota is not installed"
Post by: capsx on April 16, 2016, 12:48:55 PM
I need quotas on the server
Quotas are enbled
But CWP says that quotas are not ebaled ...
Title: Re: False "Quota is not installed"
Post by: Sandeep on April 16, 2016, 03:25:03 PM
you're using openvz or KVM ?
Title: Re: False "Quota is not installed"
Post by: capsx on April 18, 2016, 09:07:41 PM
KVM
Title: Re: False "Quota is not installed"
Post by: Sandeep on April 18, 2016, 09:15:35 PM
Did you followed this instructions http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
Title: Re: False "Quota is not installed"
Post by: capsx on April 18, 2016, 09:23:48 PM
yes, but -> my bad :)

[root@mail:~]# quotacheck -avugm
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

[root@mail:~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda         47G  3.0G   44G   7% /
tmpfs           998M  128K  998M   1% /dev/shm

[root@mail:~]# ln -s /dev/sda /dev/root

[root@mail:~]# quotacheck -avugm
quotacheck: Scanning /dev/root [/] done
quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be substracted.
quotacheck: Old group file name could not been determined. Usage will not be substracted.
quotacheck: Checked 7607 directories and 96408 files
quotacheck: Old file not found.

[root@mail:~]# quotaon -avug
/dev/root [/]: user quotas turned on

[root@mail:~]#


must do that --->>> [root@mail:~]# ln -s /dev/sda /dev/root

thx ;)