Professional Documents
Culture Documents
Solaris Disk Quota Implementation
Solaris Disk Quota Implementation
Solaris Disk Quota Implementation
A disk quota is a limit set by a system administrator that restricts certain aspects of file system usage on modern operating systems. There are two
basic types of disk quotas. The first, known as a block quota(usage quota) that limits the amount of disk space that can be used and the second,
known as a node quota(file quota) that limits the number of files and directories that can be created.
In addition, administrators usually define a warning level, or soft quota, at which users are informed they are nearing their limit, that is less than the
effective limit, or hard quota. There may also be a small grace interval, which allows users to temporarily violate their quotas by certain amounts if
necessary.
Soft Limits functions as stage-1 or warning stage. If user exceeds soft limit, timer is invoked (default 7-days). For example if user soft limit is 100MB
and if user exceeds beyond timer, soft limit becomes hard limit and Hard Limits functions as a storage ceiling and CANNOT be exceeded. If user meets
While allocating quota system there are two different 2 objects being monitored: 1. BLOCKS (based on how many blocks) 2. INODES (base on how
may inodes)
Quota Commands:
1. modify /etc/vfstab
3 Edit user quotas for ufs file system (here user is john)
user3.
Note: With out enabling quota support any user who is defined in quota policy able to exceed all of the limits both soft and hard
7 Tesing
For testing, use dd command to create file full of zero using john account.
This command will create file of size 1M. But if, tried to create file approx. greater than 10 MB it will give an error warning of over disk limit.