Control Web Panel

WebPanel => Information => Topic started by: centOs_newbie on May 12, 2016, 04:30:06 AM

Title: Disk usage on CWP web panel showing 0/0?
Post by: centOs_newbie on May 12, 2016, 04:30:06 AM
Hi guys,

I've installed CWP and have couple of users but the users accounts show the disk usage as 0/0 on the CWP GUI although they have used some of the space. We have assigned the quota successfully too.

If anyone could help please? My doubt is the quota is assigned successfully, its just not displaying right.

Regards
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Sandeep on May 12, 2016, 08:28:34 AM
KVM or openvz ?

if openvz contact your Provider
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: centOs_newbie on May 13, 2016, 08:52:54 AM
We are using KVM. any suggestion how to go about? looks like the quota assigned are not reflecting...its showing 0/0 irrespective of the usage. please help
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Sandeep on May 13, 2016, 08:59:02 AM
http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: pixelpadre on June 18, 2016, 11:46:42 AM
http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/

What is your main hard drive?  /dev/???
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: ccheuser on July 04, 2016, 04:13:10 PM
Hi I'm running the latest version on a dedicated box and my users are still showing 0/0 for resources and I did install quota script and quota is installed
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Igor S. on July 20, 2016, 08:31:52 AM
Hi, make sure if disk quota enabled and works.
Try run command like: quota username , where username is a user.
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: ccheuser on July 22, 2016, 05:43:30 PM
When I run the command quota user I get

Disk quotas for user ***** (uid 500): none
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Igor S. on July 28, 2016, 10:00:31 AM
Check if your HDD mounted with quota.
Show us output command:
Code: [Select]
mount
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: ccheuser on July 31, 2016, 03:22:47 PM
Check if your HDD mounted with quota.
Show us output command:
Code: [Select]
mount

here is what I get when I issue that command

rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
devtmpfs on /dev type devtmpfs (rw,relatime,size=2009760k,nr_inodes=502440,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/sda2 on /home type ext4 (rw,relatime,quota,usrquota,grpquota,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/dev/root on /var/named/chroot/etc/named type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/var/named type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/etc/named.conf type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/etc/named.rfc1912.zones type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/etc/rndc.key type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/usr/lib64/bind type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/etc/named.iscdlv.key type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)
/dev/root on /var/named/chroot/etc/named.root.key type ext3 (rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback)


Thanks
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: tshetumd on August 01, 2016, 09:30:46 AM
Even M facing same problem .Please find the mount output:
 mount
/dev/mapper/vg-LogVol01_Root on / type ext4 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/vda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (r
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Igor S. on August 10, 2016, 08:39:40 AM
Hello.

As I see you have disk quota at /home directory:

Quote
/dev/sda2 on /home type ext4 (rw,relatime,quota,usrquota,grpquota,data=ordered)

here is what I get when I issue that command

Thanks

Check the Packages for users. (CWP.Admin => Packages => List Packages; Edit => "Update quota for all users using this package, also disables inode limits !" )
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: ccheuser on August 19, 2016, 03:20:29 PM
Hello.

As I see you have disk quota at /home directory:

Quote
/dev/sda2 on /home type ext4 (rw,relatime,quota,usrquota,grpquota,data=ordered)

here is what I get when I issue that command

Thanks

Check the Packages for users. (CWP.Admin => Packages => List Packages; Edit => "Update quota for all users using this package, also disables inode limits !" )

I did as you instructed and it still shows 0/0
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: Igor S. on August 21, 2016, 08:54:32 AM
Hi, contact the CWP support or your service provider support.
Probably something went wrong or your server does not support the quota.

I did as you instructed and it still shows 0/0

Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: become on June 21, 2017, 12:41:05 PM
Hello.

How this configuration should be for OpenVPS ?
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: become on August 19, 2017, 07:10:25 AM
This should be calculated different
Should be SUM of:
du for user's home/account
du for all user's emails
du for all user's databases files
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: yokowasis on August 20, 2017, 04:20:46 PM
edit : wrong post
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: become on August 21, 2017, 04:28:30 PM
I writed module that calculate real used quota for files, mysql databases and mails for all account
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: yokowasis on August 21, 2017, 05:14:37 PM
I writed module that calculate real used quota for files, mysql databases and mails for all account

mind to share ?
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: become on August 23, 2017, 03:44:02 PM
https://github.com/betterapp/cwp-users-quota
Title: Re: Disk usage on CWP web panel showing 0/0?
Post by: salehfauzan on July 15, 2020, 06:51:39 PM
This work for me (kvm - xfs)
https://www.mysterydata.com/how-to-enable-xfs-disk-quota-in-centos-and-cwp-panel/