LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2007, 09:05 PM   #1
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Disk quota exceeded


Hey there,

I have a user that's trying to copy/write files into their home directory that is NFS mounted from a filer. However, when they do that they get the error message: "Disk quota exceeded". The problem is that we did not enable disk quotas on any of the filesystems. There is a inode limit on the filer but it's way high. Running 'quota' on the user shows:

Code:
-bash-3.00$ quota
Disk quotas for user henry (uid 509):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
serverA:/vol/home
                14780952  20971520 26214400         1048576* 768000 1048576
Apparently, the user has reached a file quota of 1048576. Is there any way I can increase that on the server? I'm googling like mad and can't seem to find a resolution to this.

-twantrd
 
Old 03-28-2007, 03:49 AM   #2
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
Hi!

are you "root" on serverA? If not, "go ask your server administrator" :P

If yes, continue:

Log in to serverA and type "edquota henry".
You will get your default editor (you may change it by setting EDITOR env. variable) with something like the output from quota you posted.
The columns blocks, files and grace are informational only, the other columns define the quota for this user.
If you enter 0 (zero), no quota will be used.
So your result should look like
Code:
Disk quotas for user henry (uid 509):
     Filesystem     blocks     quota    limit  grace   files         quota   limit   grace
     /dev/XXX       14780952   0        0              1048576*      0       0
maybe there are several lines for each partition with quota enabled. you can find the correct one, im sure. if not, ask your /etc/fstab
the cols mean (in order of appearance):
blocks: used blocks on disk (KB)
quota: soft quota in blocks, user may break this limit a short time (the grace period)
limit: had limit, no way for the user the break this one.
grace: informational, states time left before soft limit is enforced
files and following: same as for blocks, but numbers mean number of files

you can disable quota completely on a partition by removing the quota options from /etc/fstab (and remounting the file system)

for more info, read man edquota, Quota mini-HOWTO en (or in german, for users like me: Quota mini-HOWTO de)
In the HOWTO, the output of edquota is in an old format, don't mind, the remainder is correct for current quota system, too.
 
Old 03-28-2007, 01:34 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Original Poster
Rep: Reputation: 52
I'll give that a shot. Thanks for the quick response!

-twantrd
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail quota-exceeded users Ammad Linux - Software 1 12-09-2006 03:26 PM
quota exceeded problem sawoy Linux - General 0 11-15-2004 02:39 AM
disk over quota blacbastard Linux - General 1 11-20-2003 10:44 AM
disk over quota blacbastard Solaris / OpenSolaris 1 11-19-2003 09:26 AM
Disk Quota argh2005 Red Hat 3 09-01-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration