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
- 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
Setting up FEL-based write-back caching for VxFS file systems
To set up FEL-based write-back caching for a VxFS file system, create an FEL cache area and mount the file system in writeback mode.
Setting up FEL-based write-back caching for VxFS file systems
- Create an FEL cache area on an 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 should have the cdsdisk format.
# sfcache create [size] daname[...] [ --fel [dgname=name] [nmirrors=N] [node1:daname node2:daname]] [cachearea_name]
Where:
daname specifies the disk access name of a device on which you want to create a cache area.
cachearea_name specifies a customized name for an FEL cache area. If unspecified, SmartIO automatically generates a name.
size specifies the size for a cache area. By default, the cache area uses all of the available space on the device.
dgname specifies the name of an already created FSS disk group.
nmirrors specifies the number of mirrored volumes to be created on FSS diskgroup.
node1,node2 specifies the cluster node names.
For example:
# sfcache create --fel ssd0_0
In SFCFSHA configuration:
# sfcache create --fel node1:ssd0_0 node2:ssd1_0
Alternatively, specify the name of an FSS disk group and a volume to use for an FEL cache area. In this case, you cannot specify a size. The FEL cache area uses the entire volume.
For example:
# sfcache create [--fel] dg/vol
Where:
dg/vol is the FSS disk group name and volume name. SmartIO uses this name for the FEL cache area.
For example:
# sfcache create --fel ssd_dg/ssd_vol
- Bring the FEL cache online on each node.
sfcache online CacheName.
- Mount the VxFS file system and set the smartiomode option to writeback. If the file system is already mounted, you must remount the file system to set the smartiomode option to writeback.
For local mount:
# mount -t vxfs -o smartiomode=writeback /dev/vx/dsk/testdg/vol1 /mnt1
For remount:
# mount -t vxfs -o remount,smartiomode=writeback /dev/vx/dsk/testdg/vol1 /mnt1
For a cluster file system, the file system must be mounted on all the nodes with the smartiomode and cluster options set.
For CFS mount:
# mount -t vxfs -o cluster,smartiomode=writeback /dev/vx/dsk/testdg/vol1 /mnt1
To enable writeback caching, the smartiomode option must be set to writeback.
- Customize the caching behavior further, if required.