LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-23-2008, 02:51 PM   #1
GiotisSL
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
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 ?
 
Old 03-25-2008, 12:30 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Are you sure you want to turn it on? By default (ie quota is off), you'll have unlimited (whole disc) to play with.
 
Old 03-26-2008, 09:25 AM   #3
GiotisSL
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Yes,
I have a dedicated server with cPanel/WHM and I see that the accounts do not show the used-free space.
 
Old 03-26-2008, 09:27 AM   #4
GiotisSL
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Disk Space Usage
0.02/∞ MB

and i still upload up to 10GB.
 
Old 03-29-2008, 06:21 AM   #5
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
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

Last edited by simplicissimus; 04-02-2008 at 05:11 AM.
 
Old 03-30-2008, 05:17 AM   #6
GiotisSL
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable quota in a used partition guideweb Linux - Security 1 03-12-2005 12:46 AM
quota fedora core 2 cuongvt Fedora 1 07-08-2004 04:30 PM
How to enable quota in 2 different partition visu Linux - Newbie 0 02-11-2004 06:48 AM
Can I enable quota management in root(/)? paranoia1980 Red Hat 4 09-17-2003 11:19 AM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration