System Administration Guide: Devices and File Systems

ProcedureHow to Specify Cache Consistency Checking on Demand

Steps
  1. Become superuser on the client system.

  2. Mount the file system in the cache and specify cache consistency checking.


    # mount -F cachefs -o backfstype=nfs,cachedir=/directory,demandconst
    server:/file-system /mount-point
    
  3. Initiate consistency checking on a specific CacheFS file system.


    # cfsadmin -s /mount-point