l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:13

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Quotas on RH7.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Quotas on RH7.2

Sorry, forgot to mention that.  I did edit my fstab.  Added usrquota and
grpquota to my /home.

----- Original Message -----
From: "ME" <dugan@passwall.com>
To: <vox-tech@lists.lugod.org>
Sent: Tuesday, November 27, 2001 6:06 PM
Subject: Re: [vox-tech] Quotas on RH7.2

> There is a quota how-to out there that walks you through this step byt
> step. However, one thing you did not mention (may have been left off on
> accident):
> Did you modify your /etc/fstab ?
> Locate the mountpoint/device that you are trying to enable quotas for in
> /etc/fstab.
> Locate your quota files to the root of the mount point for the related
> device that desires the quotas to be enabled.
> (For example, if /home is mapped to /dev/hda5 or the other way around,
> then look to that entry. if /home is not a separate partition/device, then
> locate the device that it is a member of (eg, if /home is not a separate
> device/mountpoint, your need to quota home would require use of locating
> and modifying the entry for "/" in the fstab.
> Once you have located the device/mount-point then add the following to the
> options/args:
> usrquota,grpquota
> here os an example for one I have used with just userquotas enabled:
> /dev/sda8  /home               ext2     defaults,rw,usrquota 0 2
> Once you have effected that change, you can try to enable quotas then you
> could try to restart your system and see if that works, or try this:
> # mount /home -o remount,rw
> There are things that are stated in the howto on risks with users using
> your system when quotas have not been checked and enabled.
> You may want to examine adding a script in you /etc/init.d that deal with
> enabliong quotas and checking your files for each user on each reboot
> before users are allowed to log in. this will significantly increase the
> time your machine takes to boot, but is one way to be more certain the
> information in your quotas db is accurate. (there are others.)
> For mine, it was simple as making my own script that included the
> following for startup:
> For a check when nobody is logged in:
> /sbin/quotacheck
> When I start up the quotas
> /sbin/quotaon
> When I turn off quotas
> /sbin/quotaoff
> For all that RPC stuff...
> /usr/sbin/rpc.rquotad
> I dont use RH, so they may have their own scripts installed when you add
> quota support.
> -ME
> On Tue, 27 Nov 2001, Justin Howell wrote:
> > Hey list,
> > I'm trying to turn on quotas and gosh darn it isn't working. I went
ahead and followed the steps I found online for recompiling the kernel to
make sure quotas were enabled, so as far as I can tell quotas are enabled in
the kernel, and I put the aquota.user and aquota.group files in the root of
the filesystem I want to quota (/home). I just touched them and chmod'ed
them to 600. So when I reboot the machine or run quotaon, it gives me the
following error:
> >
> >
> > quotaon: using /home/aquota.group on /dev/hda5: Invalid argument
> > quotaon: using /home/aquota.user on /dev/hda5: Invalid argument
> >
> > Now, the arguments I gave quotaon where just -avug, the usual ones.
Anyone run into a problem like this? I'm stumped.
> >
> > Possibily pertinent info:
> > Redhat 7.2
> > linux-2.4.7-10 kernel (custom - quotas enabled - not really custom now
is it)
> > quota-3.01pre9-3
> > ext3 filesystem (shouldn't matter, should it?)
> >
> > Thanks for any help.
> >
> >
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!