Re: quota question

Antonio Galea <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <Pine.LNX.4.44.0303171329430.3311-100000@beastieboy.uff.netwise.it>
Steps to follow for enabling quota:

1. create the data files:

touch /var/aquota.user
touch /var/aquota.group

2. add the option 'quota' to /var in /etc/fstab, for instance change

LABEL=/var              /var                    ext3    defaults        1 2

to

LABEL=/var              /var                    ext3    defaults,quota  1 2

3. remount the filesystem and scan it for quota usage:

mount -o remount /var
quotacheck -vug /var

4. enable quota:

quotaon /var

At boot, the system runs quotacheck and quotaon on every partition marked with
the quota option in /etc/fstab/.

To report about quota usage, use 'repquota'; to actually set the limits, use
'setquota'; to turn off quota, 'quotaoff'.

That's all there is to it... RAID makes no difference at all.

Ant9000

-- 
_____________________________________________________________________________
Dr. Antonio Galea       N e t   W i s e                 http://www.netwise.it
Sviluppo tecnico     Tecnologie per il Web    Tel 0461.421016 Fax 0461.426021
-----------------------------------------------------------------------------
Any sufficiently advanced Common Sense will seem like magic...
-----------------------------------------------------------------------------
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.