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 up multiple cache areas on a system
First, create the cache areas. Then, mount the file system and specify the cache areas that can be used by the file system.
To set up multiple cache areas on a system
- Create the VxFS cache area on the SSD device, using one of the following commands.
Specify one or more devices using the disk access name (daname) of the device. The device should be initialized for VxVM use and have the
cdsdiskformat.# sfcache create [-t VxFS] [size] daname[...] [--auto|--noauto] \ [--default|--reserve] [cachearea_name]
Where:
daname specifies the disk access name of the device on which to create the cache area.
cachearea_name specifies a customized name for the cache area. If unspecified, the SmartIO feature automatically generates a name for the cache area.
size specifies the size for the cache area. By default, the cache area uses all of the available space on the device.
--noauto|--auto specifies the cache area mode. The default is --auto.
--default|--reserve specifies the type of cache area. The default is --default
For example:
# sfcache create ssd1 --reserve cache1
Alternatively, you can specify the name of a disk group and a volume to use for the cache area. In this case, you cannot specify a size; the cache area uses the entire volume.
# sfcache create [-t VxFS] [--noauto|--auto] [--default|--reserve] dg/vol
Where:
--noauto|--auto specifies the cache area mode. The default is --auto.
--default|--reserve specifies the type of cache area. The default is --default
dg/vol specifies the disk group name and volume name that you want to use for the cache area. SmartIO uses this name for the cache area.
For example:
# sfcache create --auto --reserve ssd_dg/ssd_vol
- Mount the VxFS file system and specify the cache areas that can be used by the file system.
In the following example, cache1 is used for read caching and cache2 is used for write-back caching:
# mount -t vxfs -o smartiomode=writeback,smartiocache=cache1:cache2 \ /dev/vx/dsk/testdg/vol1 \ /mnt1
In the following example, cache1 is used for read caching:
# mount -t vxfs -o smartiomode=read,smartiocache=cache1 \ /dev/vx/dsk/testdg/vol1 /mnt1
In the following example, cache1 is used for read caching as well as write-back caching:
# mount -t vxfs -o smartiomode=writeback,smartiocache=cache1 \ /dev/vx/dsk/testdg/vol1 /mnt1
For a cluster file system, the file system must be mounted on both the nodes with the cluster and the smartiomode options set. The smartiomode must be the same on all nodes in the cluster.
Example of CFS mount:
# mount -t vxfs -o cluster,smartiomode=writeback,\ smartiocache=cache1:cache2 /dev/vx/dsk/testdg/vol1 /mnt1
If a default cache exists, and no smartiocache option is specified, VxFS automatically uses the default cache for the specified caching mode.
# mount -t vxfs -o cluster,smartiomode=writeback,\ /dev/vx/dsk/testdg/vol1 /mnt1
- If required, you can further customize the caching behavior.