System Administration Guide

How to Configure File Systems for Quotas

  1. Become superuser.

  2. Edit the /etc/vfstab file by using the editor of your choice. Add rq to the mount options field for each UFS file system that will have quotas.

  3. Exit the file, saving the changes.

  4. Change directory to the top of the file system that will have quotas.

  5. Create a file named quotas.


    # touch quotas
    
  6. Change permissions to read/write for root only.


    # chmod 600 quotas
    

Examples--Configuring File Systems for Quotas

The following example from /etc/vfstab shows that the /export/home directory from the system pluto is mounted as an NFS file system on the local system with quotas enabled.


#device          device   mount       FS    fsck   mount   mount
#to mount         to fsck  point       type  pass   at boot options
#
pluto:/export/home -       /export/home nfs    -     yes    rq

The following example line from /etc/vfstab shows that the local (UFS)/work directory is mounted with quotas enabled.


#device          device            mount  FS   fsck mount   mount
#to mount         to fsck           point  type pass at boot options
#
 
/dev/dsk/c0t4d0s0 /dev/rdsk/c0t4d0s0 /work ufs  3    yes     rq