Quotas

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Quotas as PDF for free.

More details

  • Words: 234
  • Pages: 7
1

1

Quotas

Quota allows Administrator to specify restriction in two ways : Restricting a user or a group by creating files in a specific location. Restricting a user or a group by the disk space in a specific location.

2

2

Advantages of Quotas

The idea behind quotas is that users are forced to stay under their disk consumption limit or with number of files in a particular location. Quota is handled on a per user, per file system basis.

3

3

Types of Quotas

Quotas are of two types : User level quotas

-

usrquota

Group level quotas

-

grpquota

4

4

Steps for applying Quota on new partition

Initially create a new partition. Create a new mount point. Format the new partition with ext2 or ext3.

5

5

Quotas Creation

To Toenable enablethe thenew newpartition partitionwith withusrquota usrquotaand andgrpquota grpquota [root@comp1 ~]#mount -o usrquota, grpquota [root@comp1 ~]#mount -o usrquota, grpquota<part_name> <part_name> <mnt_pt> <mnt_pt>

To Togenerate generatethe thedatabase databasefiles filesinside insidethe thequota quotapartition partition [root@comp1 [root@comp1~]#quotacheck ~]#quotacheck -cugv -cugv

6

6

Quotas Creation

To Toturn turnon onthe thequota quota [root@comp1 ~]#quotaon [root@comp1 ~]#quotaon

To Toapply applythe thequotas quotasfor forthe theusers userson onquota quotaenabled enabledpartition partition [root@comp1 [root@comp1~]#edquota ~]#edquota -u -u <user <username> name>

To Toapply applythe thequotas quotasfor foraa group groupon onquota quota enabled enabledpartition partition [root@comp1 ~]#edquota -g [root@comp1 ~]#edquota -g

7

7

Related Documents

Quotas
October 2019 11
Quotas Mandriva
November 2019 21
Sales Quotas And Territory
November 2019 14
Export Quotas 2008
April 2020 2