System Administration Guide, Volume 1

How to Specify Consistency Checking on Demand

  1. Become superuser.

  2. Mount the file system in the cache specifying the demandconst option of the mount command, as follows:

    # mount -F cachefs -o backfstype=nfs,cachedir=/directory,demandconst 
    server:/file-system /mount-point

  3. To initiate consistency checking on a specific cached file system, use the cfsadmin -s command as follows:

    # cfsadmin -s /mount-point

    For more information about consistency checking, see "Consistency Checking of Cached File Systems With the Back File System".