System Administration Guide: Advanced Administration

How to Check Quota Consistency


Note –

To ensure accurate disk data, the file systems being checked should be quiescent when you run the quotacheck command manually. The quotacheck command is run automatically when a system is rebooted.


  1. Become superuser.

  2. Run a consistency check on UFS file systems.


    # quotacheck [-va] filesystem 
    

    -v

    (Optional) Identifies the disk quotas for each user on a particular file system.  

    -a

    Checks all file systems with an rq entry in the /etc/vfstab file.

    filesystem

    Specifies the file system to check. 

    See quotacheck(1M) for more information.

Example—Checking Quota Consistency

The following example shows how to check quotas for the /export/home file system on the /dev/rdsk/c0t0d0s7 slice. The /export/home file system is the only file system with an rq entry in the /etc/vfstab file.


# quotacheck -va
*** Checking quotas for /dev/rdsk/c0t0d0s7 (/export/home)