Become superuser.
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 |
To initiate consistency checking on a specific cached file system, use the cfsadmin 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".