System Administration Guide

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(1M) 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(1M) command with the -s option as follows:


    # cfsadmin -s  /mount-point
    

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