88 lines
3.5 KiB
HTML
88 lines
3.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>Quota mini-HOWTO</TITLE>
|
|
<LINK HREF="Quota-1.html" REL=next>
|
|
|
|
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Quota-1.html">Next</A>
|
|
Previous
|
|
Contents
|
|
<HR>
|
|
<H1>Quota mini-HOWTO</H1>
|
|
|
|
<H2>Ralf van Dooren <CODE>r.vdooren@snow.nl</CODE></H2>v0.5, 2003-08-09
|
|
<P><HR>
|
|
<EM>Preamble: This document is written by Ralf van Dooren (r.vdooren@snow.nl).
|
|
Original text and setup of this document is copyleft-ed by Albert M.C. Tam, many thanks to him for this initial mini-HOWTO. This document is licensed under the GNU Free Documentation License.
|
|
Permission to use, copy, distribute this document for non-commercial purposes
|
|
is hereby granted, provided that the author's / editor's name and this notice
|
|
appear in all copies and/or supporting documents; that this document is not
|
|
modified. This document is distributed in hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY, either expressed or implied. While every effort has been
|
|
taken to ensure the accuracy of the information documented herein, the author /
|
|
editor / maintainer assumes NO RESPONSIBILITY for errors, or for damages results
|
|
for the use of the information documented herein.</EM>
|
|
<HR>
|
|
<P>This document describes how to enable file system quota on a Linux host,
|
|
assigning quota for users and groups, as well as the usage of miscellaneous
|
|
quota commands. It is intended for users running kernel 2.x (recently tested
|
|
on kernel 2.4.21).
|
|
<P>Feel free to send feedbacks or comments to r.vdooren@snow.nl if you find an
|
|
error, or if any information is missing. I appreciate it.
|
|
<P>
|
|
<P>
|
|
<H2><A NAME="toc1">1.</A> <A HREF="Quota-1.html">What is quota?</A></H2>
|
|
|
|
<UL>
|
|
<LI><A HREF="Quota-1.html#ss1.1">1.1 What is quota for?</A>
|
|
<LI><A HREF="Quota-1.html#ss1.2">1.2 Current Status of Quota on Linux</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc2">2.</A> <A HREF="Quota-2.html">Requirements for quota </A></H2>
|
|
|
|
<UL>
|
|
<LI><A HREF="Quota-2.html#ss2.1">2.1 Kernel</A>
|
|
<LI><A HREF="Quota-2.html#ss2.2">2.2 Quota software</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc3">3.</A> <A HREF="Quota-3.html">Quota setup: installation and configuration</A></H2>
|
|
|
|
<UL>
|
|
<LI><A HREF="Quota-3.html#ss3.1">3.1 Patch the kernel </A>
|
|
<LI><A HREF="Quota-3.html#ss3.2">3.2 Reconfigure your kernel</A>
|
|
<LI><A HREF="Quota-3.html#ss3.3">3.3 Compile and install the quota softwares</A>
|
|
<LI><A HREF="Quota-3.html#ss3.4">3.4 Modify your system init script to check quota and turn quota on at boot</A>
|
|
<LI><A HREF="Quota-3.html#ss3.5">3.5 Modify /etc/fstab</A>
|
|
<LI><A HREF="Quota-3.html#ss3.6">3.6 Activate the quota system</A>
|
|
<LI><A HREF="Quota-3.html#ss3.7">3.7 Add quotacheck to crontab</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc4">4.</A> <A HREF="Quota-4.html">Quota setup: tools</A></H2>
|
|
|
|
<UL>
|
|
<LI><A HREF="Quota-4.html#ss4.1">4.1 Assigning quota for a particular user</A>
|
|
<LI><A HREF="Quota-4.html#ss4.2">4.2 Assigning quota for a particular group</A>
|
|
<LI><A HREF="Quota-4.html#ss4.3">4.3 Assigning quota for a bunch of users with the same value</A>
|
|
<LI><A HREF="Quota-4.html#ss4.4">4.4 Soft Limit</A>
|
|
<LI><A HREF="Quota-4.html#ss4.5">4.5 Hard Limit</A>
|
|
<LI><A HREF="Quota-4.html#ss4.6">4.6 Grace Period</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc5">5.</A> <A HREF="Quota-5.html">Miscellaneous Quota Commands</A></H2>
|
|
|
|
<UL>
|
|
<LI><A HREF="Quota-5.html#ss5.1">5.1 Quotacheck</A>
|
|
<LI><A HREF="Quota-5.html#ss5.2">5.2 Repquota</A>
|
|
<LI><A HREF="Quota-5.html#ss5.3">5.3 Quotaon and Quotaoff</A>
|
|
</UL>
|
|
<HR>
|
|
<A HREF="Quota-1.html">Next</A>
|
|
Previous
|
|
Contents
|
|
</BODY>
|
|
</HTML>
|