Unable to determine filesystems with quotas enabled

Sergiu Tot

Well-Known Member
Jul 17, 2007
65
0
56
Cluj, Romania
cPanel Access Level
Root Administrator
On a fresh new server (FreeBSD 8.0, cPanel 11.28.83), in WHM > Initial Quota Setup, after clicking "Proceed" I get the following error:
Code:
Installing Default Quota Databases...
Unable to determine filesystems with quotas enabled
The quota support is enabled in kernel and quota is activated on /home partition. E.g.:
Code:
[[email protected] ~]# quota -v
Disk quotas for user root (uid 0): 
     Filesystem   usage   quota   limit   grace   files   quota   limit   grace
          /home  821172       0       0           54178       0       0        
[[email protected] ~]#
Any ideeas?
 

kopic

Registered
Mar 31, 2011
3
0
51
hello.
a have a same problem.
Code:
[15:28] [/] # uname -a
FreeBSD ****.ru 8.1-STABLE FreeBSD 8.1-STABLE #0: Fri Nov 12 13:33:21 MSK 2010 [email protected]:/usr/obj/usr/src/sys/WEBCORE amd64

[15:32] [/] # less /sys/amd64/conf/
/sys/amd64/conf/ is a directory
[15:32] [/] # less /sys/amd64/conf/WEBCORE
include GENERIC

ident WEBCORE

options NETGRAPH
maxusers 512
options QUOTA

device pf
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO

makeoptions DEBUG=-g

/dev/ar1s1d /usr/home ufs rw,userquota,groupquota 2 2

[15:33] [/scripts] # ./fixquotas
Installing Default Quota Databases...
Unable to determine filesystems with quotas enabled
any ideas?
 
Last edited:

kopic

Registered
Mar 31, 2011
3
0
51
On other server i find next files:

[21:40] [/etc] # ll | grep fstab
-rw-r--r-- 1 root wheel 328 12 май 2010 fstab
-r--r--r-- 1 root wheel 477 27 янв 2010 fstab,v
-rw-r--r-- 1 root wheel 272 27 янв 2010 fstab.quotas

that good for quotas.
But on this server i cann't find this files.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please do create the file:

Code:
touch /etc/fstab.quotas
This should resolve the issue on your FreeBSD system.

Of note, the prior ticket where this was resolved was ticket #1273670 as a reference.