Author Topic: Disk space in GUI user not work  (Read 11162 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Disk space in GUI user not work
« on: January 12, 2016, 01:46:07 AM »
Hi all,
In GUI user "Disk space" not work. Althought, user used about 100M. But always see like this


When i try "Update quota for all users using this package, also disables inode limits". I recived error message setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota
How to fix it ?  :(

Offline
*****
Re: Disk space in GUI user not work
« Reply #1 on: January 12, 2016, 08:33:45 AM »
Hello.

Check if disk quota are isntalled and works.
You can do that in CWP.Admin: "Server Settings" -> "Disk Quota"
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Disk space in GUI user not work
« Reply #2 on: February 24, 2016, 04:00:05 AM »
Hi Igor S Thank your reply.
After installed disk quota. When I used account user logon . Althought in this account i didn't upload anything. What is problem and how to fix it ?.

Offline
*
Re: Disk space in GUI user not work
« Reply #3 on: February 24, 2016, 12:40:56 PM »
Might be a similar problem like I had:
Serious file owning issues (CWP Users own installation files)

They planned to fix that, but you might be still affected by that problem.

Basically use
repquota  -a -s
to see the quota.

And use
find / --user <username> | less
To see which files the user owns.

If it's a normal CWP user that owns installation files that root should own instead, you need to fix those directories / files with
chown (and maybe chmod too).
Both commands have a option for recursion (-R), but read the manual in case you don't know them already.

Basically I changed the ownership to root:root (so user and group is root) for the files that were not in /home/<username>
and then fixed permissions with chmod as I thought it would be approiate (o-rwx).
« Last Edit: February 24, 2016, 12:43:46 PM by ripieces »

Offline
*
Re: Disk space in GUI user not work
« Reply #4 on: March 10, 2016, 03:35:58 AM »
When i used command "find / --user <username> | less". I saw too many file and folder not belong /home/user. Must change one by one ? . it too hard :(. have any another solution ?