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
Setting or changing the caching mode for a VxFS cache area
For a VxFS cache area, the caching mode determines what kind of caching is performed for the specified mount point. The mode can be nocache, read, or writeback. The default mode is read.
A VxVM cache area only supports read mode.
You cannot change the type (VxVM or VxFS) of a cache area. You must destroy the cache area and create a new cache area of the required type.
You can set the caching mode of a VxFS mount point with the -o smartiomode option. The caching mode that is set with the mount command represents the highest level of caching that can be enabled for objects on the mount point. If you specify nocache mode, the SmartIO caching is disabled for the mount point. You cannot enable SmartIO caching for any data objects in that mount point. You must remount the file system to enable caching.
Similarly, if you specify read mode during the mount, you cannot enable SmartIO writeback caching for any data objects in that mount point.
To set the caching mode of a VxFS mount point
- To set the caching mode when you mount the VxFS file system, use the following command:
# mount -t vxfs -o smartiomode=[mode] /dev/vx/dsk/testdg/vol1 /mnt1
Where:
mode is one of the following:
writeback
read
nocache
To change the caching mode of a VxFS mount point
- To change the caching mode of a file or directory, use the following command. You cannot change the caching mode to a higher level of caching than the mode set on the mount_point. For example, you cannot enable read caching if you specified the mode as nocache when you mounted the file system.
# sfcache set [-r] mode=[nocache|read|writeback] {file|dir}Use the -r option to make the change recursive.