Hi Support,
I'm having trouble with DA incorrectly reporting disk usage.
One of my user (abc) is reporting as having a disk usage of 500MB+ but on DA, it shows him using only 16.9MB.
I've tried doing a quota check and the following is the output I've received:
The thing is, abc is in /home/abc, but it states its filesystem as /dev/sda2 and not /dev/sdb1
All our user directories are in /home.
My df-h:
My partition table is as follows:
Repquota:
PS: I'm not sure if this is related, but I've recently added a new HDD into my server, and mounted /home to the new hdd partition. Originally, my there was no mountpoint /home.
I've tried everything from the knowledgebase and the forums, but I still can't solve this issue.
I hope you guys could assist me.
I'm having trouble with DA incorrectly reporting disk usage.
One of my user (abc) is reporting as having a disk usage of 500MB+ but on DA, it shows him using only 16.9MB.
Code:
[root@soundwave home]# du -sh /home/abc/
526M /home/abc/
I've tried doing a quota check and the following is the output I've received:
Code:
[root@soundwave init.d]# /sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
quotaoff: Cannot find quota file on /vz [/dev/sda4] to turn quotas on/off.
quotaoff: Cannot find quota file on /vz [/dev/sda4] to turn quotas on/off.
quotacheck: Scanning /dev/sda2 [/] done
quotacheck: Checked 41969 directories and 350842 files
quotacheck: Quota for users is enabled on mountpoint /vz so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
quotaon: Cannot find quota file on /vz [/dev/sda4] to turn quotas on/off.
quotaon: Cannot find quota file on /vz [/dev/sda4] to turn quotas on/off.
Code:
[root@soundwave home]# quota -v abc
quota: Cannot get info for user quota file from kernel on /dev/sda4: No such process
quota: Can't initialize quota on /dev/sda4: No such process
Disk quotas for user abc (uid 663):
Filesystem blocks quota limit grace files quota limit grace
[B]/dev/sda2 [/B] 36 1024000 1024000 2 0 0
The thing is, abc is in /home/abc, but it states its filesystem as /dev/sda2 and not /dev/sdb1
All our user directories are in /home.
My df-h:
Code:
[root@soundwave home]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 103G 34G 65G 35% /
/dev/sda1 965M 42M 874M 5% /boot
/dev/sda4 121G 8.5G 106G 8% /vz
tmpfs 1013M 0 1013M 0% /dev/shm
/dev/sdb1 459G 27G 409G 7% /home
My partition table is as follows:
Code:
LABEL=/ / ext3 defaults,usrquota,grpquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/vz /vz ext3 defaults,usrquota,grpquota 1 2
/dev/sdb1 /home ext3 defaults,usrquota,grpquota 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0
Repquota:
Code:
[root@soundwave home]# /usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found.
repquota: Not all specified mountpoints are using quota.
My directadmin.conf puts the quota_partition as /home
I've tried everything from the knowledgebase and the forums, but I still can't solve this issue.
I hope you guys could assist me.