Solved

4 GB Quota limit

Posted on 2000-02-18
5
340 Views
Last Modified: 2013-12-16
Linux seems to have a limit on the size you can set a user quota to (4 GB).  This is not acceptable in the environment I'm working in.  Is there a way to increase the max or get around it?
0
Comment
Question by:CyberHak
5 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
If you look in quota.h you'll see that the quotas are stored in an u32. By my recconing that works out to just a bit more than 4Gb. So, unless you're into serious system hacking that's the limit.

If you have to have more than 4GB per user about all you can do is to turn off quotas and adopt an administrative solution. You or someone else beats errant users over the head when they exceed what they should be using. That's the solution I use on my file servers except I don't bother with the users. I go straight to their manager.
0
 
LVL 14

Expert Comment

by:chris_calabrese
Comment Utility
Or you can also give each user their own filesystem/disk.

Actually, the main drawback I can see with Linux for this type of large-disk server is that it doesn't let you reconfigure filesystem sizes on the fly.  In Solaris, HP-UX, AIX, UnixWare, IRIX, etc. you can give each user their own filesystem and change the size of the filesystems on the fly without copying data or even rebooting.  Hopefully this feature will come to Linux later this year when it gets journaling filesystem technology (it's hard to do this with non-journaling filesystems because you have to suspend all writes to the disk during the reconfiguration and if you have a journal you can just keep collecting the updates there until the job's done).
0
 
LVL 2

Expert Comment

by:bernardh
Comment Utility
0
 
LVL 40

Accepted Solution

by:
jlevie earned 75 total points
Comment Utility
If you look in quota.h you'll see that the quotas are stored in an u32. By my recconing that works out to just a bit more than 4Gb. So, unless you're into serious system hacking that's the limit.

If you have to have more than 4GB per user about all you can do is to turn off quotas and adopt an administrative solution. You or someone else beats errant users over the head when they exceed what they should be using. That's the solution I use on my file servers except I don't bother with the users. I go straight to their manager.
0
 

Author Comment

by:CyberHak
Comment Utility
Thanks for the help.  We were looking for a way to increase it past 4 Gigs.  I guess that's just one of the drawbacks of Linux's Ext2 FS.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now