* Quota Format?
@ 1997-03-05 21:24 A Penncom User
0 siblings, 0 replies; 2+ messages in thread
From: A Penncom User @ 1997-03-05 21:24 UTC (permalink / raw)
Hi! Was wondering if someone could help me with the format for quota
entries on RH4.0. I need to do this for the group users (by running
edquota -g users) on the partition /home. Will I need to put the actual
quota.group in /home? Is there a template somewhere I can use to set up
these? Thanks in advance.
Cliff
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <Pine.LNX.3.95.970305162139.6279A-100000@jane.penn.com>]
* Re: Quota Format?
[not found] <Pine.LNX.3.95.970305162139.6279A-100000@jane.penn.com>
@ 1997-03-06 2:23 ` Kevin Osowski
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Osowski @ 1997-03-06 2:23 UTC (permalink / raw)
I know what you are going through, I just set this up. First of all you
need to make sure your kernel supports quota on your file system. After
that, you need to make sure that the file system you want quotas on is
mounted with the grpquota option. Just put it in the /etc/fstab and it
will automatically mount as usual when you boot. It looks like this
#
/dev/sda2 / ext2 defaults 1 1
/dev/sdb1 /usr ext2 grpquota,defaults 1 1
# swap partitions
/dev/sdb2 swap swap defaults 0 0
Now just "touch" touch a quota.group in the root directory of the
partition you want to enable quotas on. You will now have to turn on
quotas with quotaon -a, which scans through the /etc/fstab file for file
systems with quotas. Usually it is run in /etc/rc.d/rc.sysinit at bootup,
so you will only need to make sure its there so quotas are always on when
the system comes up. You probably need to reboot at this time to be sure
quotas are on.
Now to edit quotas for a specific group just do a edquota -g somegroup.
You will now see some stuff in the file that was not there before. If
you don't, then you have a problem. It will look like this
Quotas for group users:
/dev/sdb1: blocks in use: 849896, limits (soft = 0, hard = 0)
inodes in use: 4975, limits (soft = 0, hard = 0)
Just go over and edit the limits part, and be careful not to mess with the
other stuff. Soft limit is when you just get a warning and things keep
writting, hard limit is when things will no longer write. After you write
the file, you will now have a quota.
Hope this helps :)
kevin
On Wed, 5 Mar 1997, A Penncom User wrote:
> Hi! Was wondering if someone could help me with the format for quota
> entries on RH4.0. I need to do this for the group users (by running
> edquota -g users) on the partition /home. Will I need to put the actual
> quota.group in /home? Is there a template somewhere I can use to set up
> these? Thanks in advance.
>
>
> Cliff
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-03-06 2:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-05 21:24 Quota Format? A Penncom User
[not found] <Pine.LNX.3.95.970305162139.6279A-100000@jane.penn.com>
1997-03-06 2:23 ` Kevin Osowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox