Quota issue: does it need to be enabled in all partitions?

DesFire

Member
Mar 9, 2013
7
0
1
cPanel Access Level
Reseller Owner
Hi,

So I faced some quota issues, I managed to fix the "/" partition, however, after running quotas again, there is still one partition that seems not the have it enable, it is /boot:

/dev/md/1 (already configured quotas = 0).
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/dev/md/2 (already configured quotas = 1).
/boot (removing journaled quotas)
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/ (already configured quotas = 1).

my fstab file:

proc /proc proc defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/md/0 none swap sw 0 0
/dev/md/1 /boot ext3 defaults 0 0
/dev/md/2 / ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
LABEL=/boot /boot ext3 defaults,usrquota 1 2
LABEL=/ / ext3 defaults,usrquota 1 2

Ls:
cldeploy cldeploy.1 cldeploy.2 cldeploy.3 cloudlinux_ea3_to_ea4 cpanel3-skel installer.lock perl5 tmp

This is the output I had before fixing "/" directory:

[[email protected] ~]# /scripts/fixquotas
Installing Default Quota Databases......Done
journaled quota support: kernel supports, user space tools supports (available)
checking out /backup
checking out /backup
/dev/md/1 (already configured quotas = 0).
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/dev/md/2 (already configured quotas = 1).
/boot (already configured quotas = 0).
Updating Quota Files......
quotacheck: Scanning /dev/md2 [/] quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be subtracted.
quotacheck: Old group file name could not been determined. Usage will not be subtracted.
quotacheck: Checked 40130 directories and 335485 files
quotacheck: Cannot create new quotafile //quota.user.new: File exists
quotacheck: Cannot initialize IO on new quotafile: File exists
done
 

DesFire

Member
Mar 9, 2013
7
0
1
cPanel Access Level
Reseller Owner
This is the last output I had using initiation quotas:

Installing Default Quota Databases...../boot/aquota.user..../boot/quota.user..../aquota.user..../quota.user.....Done
journaled quota support: kernel supports, user space tools supports (available)
checking out /backup
checking out /backup
/dev/md/1 (already configured quotas = 0).
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/dev/md/2 (already configured quotas = 1).
/boot (removing journaled quotas)
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/ (already configured quotas = 1).
Updating Quota Files......
quotacheck: Scanning /dev/md2 [/] |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be subtracted.
quotacheck: Old group file name could not been determined. Usage will not be subtracted.
quotacheck: Checked 40131 directories and 335490 files
quotacheck: Old file not found.
done

....Done
Quotas have been enabled and updated.
Reading package ----
Resetting quota for ---- to 0 M
Reading package f----
Resetting quota for---- to 15360 M
Reading package ----
Resetting quota for---- to 0 M
Reading package unlimited
Resetting quota for aliciavi to 0 M
Reading package ----
Resetting quota for ---- to 25360 M
Reading package ----
Resetting quota for ---- to 1024 M
Resetting quota for ---- to 25360 M
Resetting quota for ---- to 25360 M
Resetting quota for ----to 25360 M
Resetting quota for ---- to 25360 M
Reading package ----
Resetting quota for ---- to 0 M
Resetting quota for---- to 25360 M
Resetting quota for ---- to 0 M

I am afraid to reboot before making sure everything is fine
 

DesFire

Member
Mar 9, 2013
7
0
1
cPanel Access Level
Reseller Owner
I tried to run fix quotas once again and it says: Another instance of initquotas appears to be running at PID '34369'.

not true, there is another process but not quotas, I kill that process and it regenerates, not allowing me to fix quotas
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
Hi @DesFire

The only filesystems you should need quotas enabled on are where your site data is stored. Can you show me the output of the following:

Code:
cat /proc/mounts
And to see if that PID is still running:

Code:
ps faux |grep 34369