LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to enable quota on - linux fedora (https://www.linuxquestions.org/questions/linux-server-73/how-to-enable-quota-on-linux-fedora-630066/)

GiotisSL 03-23-2008 02:51 PM

How to enable quota on - linux fedora
 
Hello,

How can i enable the quota on ?

I see that only 0.2M are used and I have up to 10G.

Can anyone help me ?

chrism01 03-25-2008 12:30 AM

Are you sure you want to turn it on? By default (ie quota is off), you'll have unlimited (whole disc) to play with.

GiotisSL 03-26-2008 09:25 AM

Yes,
I have a dedicated server with cPanel/WHM and I see that the accounts do not show the used-free space.

GiotisSL 03-26-2008 09:27 AM

Disk Space Usage
0.02/∞ MB

and i still upload up to 10GB.

simplicissimus 03-29-2008 06:21 AM

quota
 
Edit /etc/fstab like:

Code:

LABEL=/home  /home  ext3  defaults,usrquota,grpquota 1 2
remount the filesystems or reboot

create quota files for each filesystem

Code:

quotacheck -acug
assign quotas

Code:

edquota username
edquota -g groupname

turning quota off for all or for certain filesystems

Code:

quotaoff -avug
quotaoff -vug filesystem

Read the man page and the documentation for everything else.


Hope this helps,
Regards,
SIMP

Fedora User

GiotisSL 03-30-2008 05:17 AM

Yeah thank you.
I try all the steps and I turn the quota off.
But I have the same problem.

cPanel of the domain:

Quote:

Stats
Main Domain example.com
Home Directory /home/example
Last login from *.*.*.*
Disk Space Usage
1109.91/∞ MB
Monthly Bandwidth Transfer
244.04/∞ MB
I login to ssh via root and i type
Quote:

cd /home/example
then I type
Quote:

du -h
...and I see that I upload up to 18G.

Whats the problem ?


All times are GMT -5. The time now is 02:40 AM.