Solved

4 GB Quota limit

Posted on 2000-02-18
5
351 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 39
Setting up Two Three NICs with One on a Different Subnet 22 76
Backup & Restore 3 54
Upgrade BIOS / EUFI at Scale 4 28
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

808 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