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
Verifying the VxFS cache area and monitoring the caching
After the SmartIO feature is configured, you can verify that the cache area is present and that caching is occurring.
For a VxFS cache area, the sfcache list command shows the caching mode for the file or directory. If the mode is not explicitly set, the file or directory inherits the caching mode of the mount point. If the mode is explicitly set for a file or directory, that value persists across remounts. The displayed caching mode may differ from the mode that is enabled for the mount point. The writeback mode is not enabled unless the file system is mounted in writeback mode. If a file or directory is set to writeback mode, but the file system is mounted in another mode, the file or directory inherits the caching mode of the mount point.
To verify and monitor the cache area
- Use the following command to display information about the cache areas on the system.
# sfcache list
NAME TYPE SIZE ASSOC-TYPE STATE FSTYPE DEVICE sfcachearea_2 VxFS 7.00g AUTO ONLINE default sdg
- Use the following command to display information about a specific cache area.
# sfcache list sfcachearea_2 Cachearea: sfcachearea_2 Assoc Type: AUTO Type: VxFS Size: 9.96g State: ONLINE Layout: CONCAT FStype: default Number of Columns: 0 /dev/vx/dsk/sfcache_defaultdg/sfcachearea_2: FSUUID SIZE MODE MOUNTPOINT CACHENAME a6178a5604a50200577a0000a... 759.0 MB read /ora_inst1 sfcachearea_2 0d929856a7d60e003d380000f... 512.0 MB writeback /pdb2 sfcachearea_2 90929856b688000081410000b... 50.1 MB read /fast_recovery sfcachearea_2 02188a569d7e0700567d00007... 4 KB nocache - sfcachearea_2 31188a5679a90900987d00007... 4 KB nocache - sfcachearea_2 a55b8a56db160a00fa610000f... 4 KB nocache - sfcachearea_2
- To display information about a specific file system:
# sfcache list /mnt1
/mnt1: READ CACHE WRITEBACK MODE PINNED NAME 39.0 MB 0 KB read yes /mnt1/dir 39.0 MB 0 KB read yes /mnt1
- To see statistics on the cache usage, use the following command:
# sfcache stat /mnt1
TYPE: VxFS : Cache Name: sfcachearea_1 Cache Size: 5 GB Cache Utilization: 4 KB ( 0.00 %) Read Cache Writeback Hit Ratio Data Read Data Written Hit Ratio Data Written rdcachename wbcachename /mnt1: 0.00 % 0 KB 0 KB 0.00 % 0 KB sfcachearea_1 sfcachearea_2
The output displays statistics for the cached data.
- Use the following command to display information about the usage of exported SSDs by other nodes in the cluster. Run the command on the node for which you want to see the existing cache areas.
Note:
Private cache areas of other nodes are not listed.
# sfcache list --all Hostname : sys1 NAME TYPE SIZE ASSOC-TYPE STATE FSTYPE DEVICE sfcachearea_1 VxVM 10.00g AUTO ONLINE - ibm_f90-0_0 sfcachearea_3 VxFS 10.00g AUTO ONLINE reserve ibm_f90-0_0 Hostname : sys2 NAME TYPE SIZE ASSOC-TYPE STATE FSTYPE DEVICE sfcachearea_4 VxFS 20.00g AUTO ONLINE reserve ibm_f90-0_0 sfcachearea_5 VxVM 25.00g AUTO ONLINE - ibm_f90-0_0 Hostname : sys3 NAME TYPE SIZE ASSOC-TYPE STATE FSTYPE DEVICE sfcachearea_2 VxFS 10.00g AUTO ONLINE reserve ibm_f90-0_0