System Administration Guide: Devices and File Systems

ProcedureHow to Mount a CacheFS File System (/etc/vfstab)

  1. Become superuser on the client system.

  2. Using an editor, specify the file systems to be mounted in the /etc/vfstab file.

    See the example that follows.

    For more information on the /etc/vfstab file, see Field Descriptions for the /etc/vfstab File.

  3. Mount the CacheFS file system.

    # mount /mount-point

    Or, reboot the system.

Example 19–3 Mounting a CacheFS File System (/etc/vfstab)

The following example shows the /etc/vfstab entry for the /data/abc directory from the remote system starbug that is mounted in the cached directory, /opt/cache.

#device           device             mount      FS     fsck  mount   mount
#to mount         to fsck            point      type   pass  at boot options
starbug:/data/abc /local/abc         /opt/cache cachefs 7    yes     local-access,bg,