Hello everyone, everything good?
I am opening this topic in order to find a solution to my problem.
In my directadmin, the domains' disk space is not being correctly accounted for when I access DirectAdmin and go to "Account Manager" and "Show All Users"
The space informed in this place is much smaller than what the domain actually uses, I did a validation according to this tutorial:
But unfortunately the space is still not being accounted for.
See how the server settings are, according to what is requested to open a ticket:
If anyone has any suggestions on what to do, it would be very helpful.
Thanks in advance folks!
I am opening this topic in order to find a solution to my problem.
In my directadmin, the domains' disk space is not being correctly accounted for when I access DirectAdmin and go to "Account Manager" and "Show All Users"
The space informed in this place is much smaller than what the domain actually uses, I did a validation according to this tutorial:
But unfortunately the space is still not being accounted for.
See how the server settings are, according to what is requested to open a ticket:
cat /etc/fstab /dev/mapper/almalinux-root / xfs defaults,uquota,gquota 0 0 UUID=245204af-a94d-4502-bc36-f6334a36da54 /boot xfs defaults 0 0 /dev/mapper/almalinux-swap none swap defaults 0 0 /dev/mapper/vg_home-lv_home /home xfs defaults,uquota,gquota 0 0 /dev/mapper/vg_home2-lv_home2 /home2 xfs defaults,uquota,gquota 0 0 |
df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 8.7G 0 8.7G 0% /dev tmpfs 8.7G 2.7M 8.7G 1% /dev/shm tmpfs 8.7G 889M 7.9G 10% /run /dev/mapper/almalinux-root 99G 38G 62G 38% / /dev/sda1 496M 350M 146M 71% /boot /dev/mapper/vg_home-lv_home 2.2T 2.0T 221G 91% /home /dev/mapper/vg_home2-lv_home2 500G 152G 349G 31% /home2 tmpfs 1.8G 0 1.8G 0% /run/user/0 tmpfs 1.8G 0 1.8G 0% /run/user/1001 |
cat /proc/mounts sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 devtmpfs /dev devtmpfs rw,nosuid,size=9092832k,nr_inodes=2273208,mode=755 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 none /sys/kernel/tracing tracefs rw,relatime 0 0 configfs /sys/kernel/config configfs rw,relatime 0 0 /dev/mapper/almalinux-root / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=28831 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 mqueue /dev/mqueue mqueue rw,relatime 0 0 /dev/sda1 /boot xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0 /dev/mapper/vg_home-lv_home /home xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,grpquota 0 0 /dev/mapper/vg_home2-lv_home2 /home2 xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,grpquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/lib xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/usr/lib xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/etc/hosts xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/etc/resolv.conf xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/usr/lib64 xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/etc/ssl/certs xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/etc/pki/tls/certs xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/etc/pki/ca-trust/extracted xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/base/mcs/certs xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 /dev/mapper/almalinux-root /opt/sophos-spl/var/sophos-spl-comms/base/remote-diagnose/output xfs ro,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,prjquota 0 0 tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=1822328k,mode=700 0 0 tmpfs /run/user/1001 tmpfs rw,nosuid,nodev,relatime,size=1822328k,mode=700,uid=1001,gid=1001 0 0 |
/usr/local/directadmin/directadmin config | grep quota_partition ext_quota_partitions= quota_partition=/ |
/usr/local/directadmin/directadmin config | grep use_xfs_quota |
repquota `/usr/local/directadmin/directadmin config | grep quota_partition= | cut -d= -f2` Block grace time: 7days; Inode grace time: 7days Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- root -- 12923152 0 0 167439 0 0 mail -- 2741928 0 0 10738 0 0 tss -- 0 0 0 1 0 0 polkitd -- 0 0 0 2 0 0 unbound -- 4 0 0 2 0 0 sssd -- 113004 0 0 22 0 0 chrony -- 4 0 0 3 0 0 administrator -- 88 0 0 6 0 0 zabbix -- 144 0 0 15 0 0 named -- 6508 0 0 11 0 0 webapps -- 6012908 0 0 11925 0 0 apache -- 924552 0 0 30487 0 0 diradmin -- 760304 0 0 119460 0 0 majordomo -- 360 0 0 714 0 0 lsadm -- 1652 0 0 149 0 0 mysql -- 205188 0 0 141 0 0 cb_plugin -- 4624 0 0 32 0 0 admin -- 5724 0 0 1357 0 0 XXXXX -- 3012 61440000 67584000 3 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 1368 20971520 23068672 344 0 0 XXXXX -- 0 20971520 23068672 2 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 0 20971520 23068672 2 0 0 XXXXX -- 4048 41943040 46137344 1015 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 0 20971520 23068672 2 0 0 XXXXX -- 0 0 0 1 0 0 XXXXX -- 12 20480000 22528000 2 0 0 XXXXX -- 5296 20971520 23068672 1325 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 0 41943040 46137344 1 0 0 XXXXX -- 2436 20971520 23068672 611 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 4 20971520 23068672 3 0 0 XXXXX -- 792 20971520 23068672 199 0 0 XXXXX -- 1904 20971520 23068672 478 0 0 XXXXX -- 0 20971520 23068672 1 0 0 XXXXX -- 0 20971520 23068672 2 0 0 |
ls -lad /home/tmp drwxrwxrwt. 2 root root 6 Apr 26 10:53 /home/tmp |
ls -la /home/tmp total 32 drwxrwxrwt. 2 root root 6 Apr 26 10:53 . drwxr-xr-x. 8 root root 16384 Dec 16 06:23 .. |
If anyone has any suggestions on what to do, it would be very helpful.
Thanks in advance folks!