[SOLVED] How to update user usage space
Hi,
From directadmin I delete domain but not every files was deleted. So from SSH I deleted it manually. After this operation I have problem with calculate usage space. When I run:
du -sh /home/psoft I was 2.2 GB. But in Directadmin I see 14GB.
echo "action=rewrite&value=quota" >> /usr/local/directadmin/data/task.queue
Dosent update to correct values.
Command "cat /etc/fstab", results:
Command "df -h", results:
Command "mount", results:
Command "/usr/local/directadmin/directadmin c | grep quota_partition", results:
Command "/usr/local/directadmin/directadmin c | grep use_xfs_quota", results:
Command "repquota `/usr/local/directadmin/directadmin c | grep quota_partition= | cut -d= -f2`", results:
Command "ls -lad /home/tmp", results:
Command "ls -la /home/tmp", results:
Thanks for help.
Hi,
From directadmin I delete domain but not every files was deleted. So from SSH I deleted it manually. After this operation I have problem with calculate usage space. When I run:
du -sh /home/psoft I was 2.2 GB. But in Directadmin I see 14GB.
echo "action=rewrite&value=quota" >> /usr/local/directadmin/data/task.queue
Dosent update to correct values.
Command "cat /etc/fstab", results:
Code:
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
Command "df -h", results:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 90G 73G 18G 81% /
none 1.5G 4.0K 1.5G 1% /dev
Command "mount", results:
Code:
/dev/simfs on / type simfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type devtmpfs (rw,relatime,mode=755)
none on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
none on /dev/shm type tmpfs (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
Command "/usr/local/directadmin/directadmin c | grep quota_partition", results:
Code:
quota_partition=/
ext_quota_partitions=
Command "/usr/local/directadmin/directadmin c | grep use_xfs_quota", results:
Code:
use_xfs_quota=0
Command "repquota `/usr/local/directadmin/directadmin c | grep quota_partition= | cut -d= -f2`", results:
Code:
*** Report for user quotas on device /dev/simfs
Block grace time: 00:00; Inode grace time: 00:00
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 6260900 0 0 103820 0 0
daemon -- 8 0 0 3 0 0
mail -- 138544 0 0 1293 0 0
ftp -- 4316 0 0 108 0 0
vcsa -- 8 0 0 1 0 0
apache -- 100 0 0 25 0 0
named -- 692 0 0 14 0 0
rpc -- 4 0 0 2 0 0
diradmin -- 254872 0 0 11667 0 0
mysql -- 5480764 0 0 11391 0 0
majordomo -- 404 0 0 45 0 0
webapps -- 397844 0 0 13571 0 0
dovecot -- 0 0 0 8 0 0
admin -- 160 0 0 42 0 0
psoft -- 14851252 83210240 91531264 112081 0 0
avifly -- 8756524 20725760 22798336 261167 0 0
zarlacz -- 46828 2097152 2306867 2830 0 0
magik -- 489836 10485760 11534336 11916 0 0
sebkaz83 -- 591668 10485760 11534336 9037 0 0
leusz -- 15348912 41451520 45596672 46979 0 0
mrw -- 3475860 10485760 11534336 23466 0 0
szobiszowi -- 11172320 20725760 22798336 24788 0 0
memcached -- 8 0 0 2 0 0
slubnechwi -- 5579604 20725760 22798336 62301 0 0
loftlux -- 295884 10485760 11534336 12597 0 0
adriann -- 10368 10485760 11534336 249 0 0
dawidlub -- 6000 10485760 11534336 112 0 0
promina1 -- 112492 10485760 11534336 10702 0 0
ewaszwed -- 53908 2097152 2306867 2346 0 0
#535 +- 2184288 2097152 2306867 none 17267 0 0
#1001 -- 1128 0 0 125 0 0
#4113 -- 9308 0 0 607 0 0
Command "ls -lad /home/tmp", results:
Code:
drwxrwxrwt 2 root root 4096 May 22 09:28 /home/tmp
Command "ls -la /home/tmp", results:
Code:
total 8
drwxrwxrwt 2 root root 4096 May 22 09:28 .
drwx--x--x 19 root root 4096 May 9 22:18 ..
Thanks for help.
Last edited: