Configuring quotas for group
Syntax:
# touch [ file name ]
Consider the following example.
# touch /home/quota.group
The authorization can be modify to read/write for root only as follows.
# chmod 600 /home/quota.group
After this the system has to be rebooted for the changes that have been made to take effect.
Note : A Quota Setup on Sun Solaris: Within Sun Solaris /etc/vfstab virtual file system table gives entries for mounting file system at systems boot time.
To enable user quota support on a file system, the rq has to be added to the seventh field holding the mount options:
Modify /etc/vfstab
# vi /etc/vfstab
device tomount devicetofsck mountpoint fstype fsckpass mountatboot mountoptions
/dev/dsk/c0t3d0s7/dev/rdsk/c0t3d0s7 /export/home ufs2 yes rq
The fields are elaborate below:
device to mount : The name of resource to be mounted.
Device to fsck : The name of the raw device to fsck; to a remote mount, the parameter is not applicable and the entry should be -.
Mountp : The mount point on that the resource is to be mounted.
fstype : The file system category of the resource to be mounted.
fsckpass : the pass number to be used for several fsck's. For a remote mount, the parameter is not applicable and the entry should be 0
automnt : denotes whether the entry should be automounted through /sbin/mountall (yes) or not (no) whenever the client is booted or enters the appropriate run level.
Mntopts : Adds the parameters which are passed to enable the quota by using the rq option.
Configuring quotas for user.