InfoScale™ 9.0 SmartIO for Solid-State Drives Solutions Guide - Linux
- 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- DLV 11 to 13
- About SmartIO FEL-based writeback caching for applications running on VxFS file systems- DLV 14 and later
- 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
- Prerequisites and configuration for using the SmartIO plug-in for Oracle
- Setting default SmartIO caching policies for a database running on a VxFS file system
- Setting SmartIO caching policies for database objects
- Pinning and unpinning database objects
- Enabling and disabling caching for the database
- Listing cache policy details for the database
- Listing cache statistics for the database
- About SmartIO caching for databases on VxVM volumes
- Technology Preview: Distributed SmartIO in Arctera InfoScale storage environments
- Administering SmartIO
- Creating a cache area
- Displaying information about a cache area
- Enabling or disabling caching for a data object
- Adding a device to the cache area
- Pausing caching from a volume to a cache area
- Removing a device from the cache area
- Destroying a cache area
- Setting the attributes of the VxVM cache area
- Setting or changing the caching mode for a VxFS cache area
- Flushing dirty data from a writeback cache area
- Tuning the writeback caching
- 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.