[GLLUG] Disk quotas

Marshal Newrock marshal at simons-rock.edu
Wed Sep 24 14:37:10 EDT 2003


On Wed, 24 Sep 2003, Brad Fears wrote:

> I've been reading up on disk quotas for Linux, and according to the
> HOWTO at http://www.tldp.org/HOWTO/Quota.html, the kernel requires a
> patch to enable the "most recent version of quota".  However, the kernel
> has CONFIG_QUOTA enabled, so I'm assuming there is an older version that
> doesn't require a kernel patch.  If so, anyone know where to find it or
> maybe just a good link to more info?  TIA.

'quotacheck -F vfsold [filesystem]' will create a version 1 quota for an
ext2/3 partition.  Use the '-c' option as well if you need to get rid of a
v2 quota and replace it with a v1 quota.  ("quota" in this case refers
only to the quota.user and quota.group files.)  See 'man quota' for more
info.

If you are using a 2.6 kernel, you can also use quotas on Reiserfs
partitions.  Additionally, v2 quota support is in 2.6.  If you are using
XFS, it has its own quota support (which quota supports).

-- 
Marshal Newrock, unemployed Linux user in Lansing, MI
Caution: Product will be hot after heating



More information about the linux-user mailing list