InfoScale™ 9.0 SmartIO for Solid-State Drives Solutions Guide - Solaris
- Introducing SFHA Solutions SmartIO
- Using the SmartIO feature: use cases
- About SmartIO read caching for applications running on VxVM volumes
- About SmartIO read caching for applications running on VxFS file systems
- About SmartIO caching on SSD devices exported by FSS
- About SmartIO write-back caching for applications running on VxFS file systems
- About multiple SmartIO cache areas for read and write-back caching on VxFS file systems
- About SmartIO caching for Oracle databases on VxFS file systems
- About SmartIO caching for databases on VxVM volumes
- Administering SmartIO
- Enabling or disabling caching for a data object
- Viewing the SmartIO cache statistics
- Troubleshooting and error handling
- Appendix A. Command reference
Enabling or disabling caching for a file system
The SmartIO feature enables you to disable or enable caching for a specific file system. For a cluster file system, you must run the commands on each node in the cluster.
Enabling or disabling caching for a file system is not persistent when the cache area is brought offline and online, or when you shrink a cache area. In this case, the caching for the file system depends on the caching mode set on the mount point or set with the sfcache set mode command. To make the caching status persistent, use the sfcache set mode command.
See Setting or changing the caching mode for a VxFS cache area.
To enable caching for a file system
- To enable caching for a file system, use the following command.
# sfcache enable mount_point
Where:
mount_point is the mount point for the file system.
To disable caching for a file system
- To disable caching for a file system, use the following command. Use the -o purge option to clear the existing cache data from the cache. By default, the data is not purged.
# sfcache disable [-o purge] mount_point
Where:
mount_point is the mount point for the file system.
To purge the caching data for a file system
- To purge the caching data for a file system, use the following command. Use the purge option to clear the existing cache data from the cache.
# sfcache purge {mount_point|fsuuid}
Where:
mount_point is the mount point for the file system.
fsuuid specifies the UUID of the file system. Specify the fsuuid to purge the caching data for a file system that is not mounted.