Solved

4 GB Quota limit

Posted on 2000-02-18
5
355 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
ID: 2538278
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
ID: 2538437
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
ID: 2547193
0
 
LVL 40

Accepted Solution

by:
jlevie earned 75 total points
ID: 2585259
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
ID: 2595036
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

765 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