Link to home
Start Free TrialLog in
Avatar of CyberHak
CyberHak

asked on

4 GB Quota limit

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?
Avatar of jlevie
jlevie

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.
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).
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CyberHak

ASKER

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.