Control Web Panel

WebPanel => Installation => Topic started by: kelyiu3000 on May 18, 2020, 10:28:49 AM

Title: Abnormal Disk IO and usage
Post by: kelyiu3000 on May 18, 2020, 10:28:49 AM
Dear Sir,

I found the disk IO always shown 0% usage.

And disk usage for email, folder and SQL disk usage also abnormal.

Please help.

https://ibb.co/nQpHYHM (https://ibb.co/nQpHYHM)
Title: Re: Abnormal Disk IO and usage
Post by: rcschaff on May 18, 2020, 01:41:20 PM
Enable quotas.  There are more people guides on the forum.
Title: Re: Abnormal Disk IO and usage
Post by: kelyiu3000 on May 19, 2020, 05:41:05 PM
Enable quotas.  There are more people guides on the forum.

Dear rcschaff,

I have already confirmed.
Seems not works.
Any idea?

Code: [Select]
#
# /etc/fstab
/dev/mapper/centos_cwp-root /                       xfs     defaults,usrquota,grpquota        0 0
UUID=31e6dd88-1e0d-4fb5-be20-1ce79064678d /boot                   xfs     defaults        0 0
/dev/mapper/centos_cwp-home /home xfs rw,relatime,attr2,inode64,usrquota,grpquota 0 0
/dev/mapper/centos_cwp-swap swap                    swap    defaults        0 0

Code: [Select]
[root@CWP ~]# xfs_quota -x -c "print"
Filesystem          Pathname
/                   /dev/mapper/centos_cwp-root (uquota, gquota)
/boot               /dev/sda2
/home               /dev/mapper/centos_cwp-home (uquota, gquota)

Code: [Select]
[root@CWP ~]# xfs_quota -x -c "report -ubih" /home
User quota on /home (/dev/mapper/centos_cwp-home)
                        Blocks                            Inodes
User ID      Used   Soft   Hard Warn/Grace     Used   Soft   Hard Warn/Grace
---------- --------------------------------- ---------------------------------
root       675.0M      0      0  00 [------]   1.7k      0      0  00 [------]
xxxx      12.8G      0      0  00 [------]   1.4m      0      0  00 [------]
xxxxx     36.1M      0      0  00 [------]   1.6k      0      0  00 [------]

Code: [Select]
[root@CWP ~]# xfs_quota -x -c "state"
User quota state on / (/dev/mapper/centos_cwp-root)
  Accounting: ON
  Enforcement: ON
  Inode: #5090795 (9 blocks, 8 extents)
Group quota state on / (/dev/mapper/centos_cwp-root)
  Accounting: ON
  Enforcement: ON
  Inode: #5090801 (10 blocks, 10 extents)
Project quota state on / (/dev/mapper/centos_cwp-root)
  Accounting: OFF
  Enforcement: OFF
  Inode: #5090801 (10 blocks, 10 extents)
Blocks grace time: [7 days]
Inodes grace time: [7 days]
Realtime Blocks grace time: [7 days]
User quota state on /home (/dev/mapper/centos_cwp-home)
  Accounting: ON
  Enforcement: ON
  Inode: #67 (2 blocks, 2 extents)
Group quota state on /home (/dev/mapper/centos_cwp-home)
  Accounting: ON
  Enforcement: ON
  Inode: #68 (3 blocks, 3 extents)
Project quota state on /home (/dev/mapper/centos_cwp-home)
  Accounting: OFF
  Enforcement: OFF
  Inode: #68 (3 blocks, 3 extents)
Blocks grace time: [7 days]
Inodes grace time: [7 days]
Realtime Blocks grace time: [7 days]
Title: Re: Abnormal Disk IO and usage
Post by: rcschaff on May 20, 2020, 01:18:07 AM
Try turned project quota on for /home.  Being as we can't see the code, they very well could be using project quota instead of user quota.