Author Topic: False "Quota is not installed"  (Read 9839 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
False "Quota is not installed"
« 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


Offline
*****
Re: False "Quota is not installed"
« Reply #1 on: April 16, 2016, 06:48:26 AM »
you can safely ignore this message, if you don't want quota on your server

Offline
*
Re: False "Quota is not installed"
« Reply #2 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 ...

Offline
*****
Re: False "Quota is not installed"
« Reply #3 on: April 16, 2016, 03:25:03 PM »
you're using openvz or KVM ?

Offline
*
Re: False "Quota is not installed"
« Reply #4 on: April 18, 2016, 09:07:41 PM »
KVM

Offline
*****
Re: False "Quota is not installed"
« Reply #5 on: April 18, 2016, 09:15:35 PM »

Offline
*
Re: False "Quota is not installed"
« Reply #6 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 ;)