InfoScale™ 9.0 SmartIO for Solid-State Drives Solutions Guide - Linux

Last Published:
Product(s): InfoScale & Storage Foundation (9.0)
Platform: Linux
  1. Introducing SFHA Solutions SmartIO
    1.  
      About SmartIO for solid-state drives
    2.  
      About SmartIO in an SFHA environment
    3.  
      About SmartIO in an Active/Active cluster environment
    4.  
      About SmartIO in the Solaris virtualized environments
    5.  
      About SmartIO in the Linux virtualized environment
    6.  
      About the SmartIO caching profiler tool
  2. Using the SmartIO feature: use cases
    1. About SmartIO read caching for applications running on VxVM volumes
      1.  
        Required configuration for SmartIO read caching for VxVM volumes
      2.  
        Automatic caching for VxVM volumes
      3.  
        Setting up SmartIO read caching for VxVM volumes
      4.  
        Verifying the VxVM cache area and monitoring the caching
    2. About SmartIO read caching for applications running on VxFS file systems
      1.  
        Required configuration for SmartIO read caching for a VxFS file system
      2.  
        Automatic caching for VxFS file systems
      3.  
        Setting up SmartIO read caching for VxFS file systems
      4.  
        Verifying the VxFS cache area and monitoring the caching
      5.  
        Customizing the caching behavior
    3. About SmartIO caching on SSD devices exported by FSS
      1.  
        Status of cache areas when nodes leave or join the cluster
      2.  
        Setting up cache areas using SSDs exported by FSS
    4. About SmartIO write-back caching for applications running on VxFS file systems- DLV 11 to 13
      1.  
        Required configuration for SmartIO write-back caching for a VxFS file system
      2.  
        Setting up SmartIO write-back caching for VxFS file systems
      3.  
        Verifying the VxFS cache area and monitoring the caching (writeback mode)
    5. About SmartIO FEL-based writeback caching for applications running on VxFS file systems- DLV 14 and later
      1.  
        Required configuration for FEL-based write-back caching for a VxFS file system
      2.  
        Setting up FEL-based write-back caching for VxFS file systems
      3.  
        Verifying the VxFS cache area and monitoring FEL-based write-back caching
    6. About multiple SmartIO cache areas for read and write-back caching on VxFS file systems
      1.  
        About the smartiocache option
      2.  
        Converting VxFS cache areas from one type to another
      3.  
        Setting up multiple cache areas on a system
      4.  
        Verifying the VxFS cache areas
    7. About SmartIO caching for Oracle databases on VxFS file systems
      1.  
        Prerequisites and configuration for using the SmartIO plug-in for Oracle
      2.  
        Setting default SmartIO caching policies for a database running on a VxFS file system
      3.  
        Setting SmartIO caching policies for database objects
      4.  
        Pinning and unpinning database objects
      5.  
        Enabling and disabling caching for the database
      6.  
        Listing cache policy details for the database
      7.  
        Listing cache statistics for the database
    8. About SmartIO caching for databases on VxVM volumes
      1.  
        Applying a SmartIO database caching template for a VxVM volume
    9.  
      Technology Preview: Distributed SmartIO in Veritas InfoScale storage environments
  3. Administering SmartIO
    1.  
      Creating a cache area
    2.  
      Displaying information about a cache area
    3. Enabling or disabling caching for a data object
      1.  
        Enabling or disabling caching for a file system
      2.  
        Enabling or disabling caching for a data volume
    4.  
      Adding a device to the cache area
    5.  
      Pausing caching from a volume to a cache area
    6.  
      Removing a device from the cache area
    7.  
      Destroying a cache area
    8.  
      Setting the attributes of the VxVM cache area
    9.  
      Setting or changing the caching mode for a VxFS cache area
    10.  
      Flushing dirty data from a writeback cache area
    11.  
      Tuning the writeback caching
    12. Viewing the SmartIO cache statistics
      1.  
        Viewing the detailed caching stats for a VxVM cache area
      2.  
        Viewing the detailed caching stats for a VxFS cache area
  4. Troubleshooting and error handling
    1. Support for a persistent or 'warm' VxVM cache
      1.  
        Primary volume failure with a stale cache could cause possible data corruption
      2.  
        Migrating a cache during HA failover is not supported
    2.  
      Cache area is lost after a disk failure (3158482)
    3.  
      Cache is not online after a reboot
    4.  
      Recovering the write-back cache after a node failure
  5. Appendix A. Command reference
    1.  
      SmartIO command reference

Verifying the VxFS cache area and monitoring FEL-based write-back caching

After the SmartIO feature is configured, you can verify that the FEL cache area is present and that caching is occurring.

For an FEL 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

  1. List the FEL cache areas on a system.

    # sfcache list

    For example, a single-node FEL cache area displays output as follows:

    NAME  TYPE  SIZE  ASSOC-TYPE  STATE  FSTYPE  DEVICE
    	feldg/fel_vol   VxFS  59.96g   NONE    ONLIN     fel   sde
    
  2. Verify details about a specific cache area.

    # sfcache list feldg/fel_vol

    For example, the FEL cache area displays output as follows:

    Cachearea: feldg/fel_vol
    Assoc Type: NONE
    Type: VxFS
    Size: 59.96g
    State: ONLINE
    Layout: CONCAT
    FStype: fel
    Number of Columns: 0
    
    
    FEL: feldg/fel_vol UUID: 50e8ef5a60e50a00227d000056276c6c
    Chunk-size 		Total-chunks 		Free-chunks  Available     Avail%
       4194304        15351       15346    			59.9 GB      99.97%
    FS-id UUID                                    Chunks Use%
        1 d3e8ef5a8e3002001b0600007d92750e          1    0.00651%
        2 d4e8ef5af2320400210600003e1be94e          1    0.00651%
    
  3. Verify details about a specific file system.

    # sfcache list /mnt1

    For example, the FEL cache area displays output as follows:

    /mnt1:
    READ CACHE    WRITEBACK    MODE         PINNED      NAME
      0 KB         97.5 MB    writeback      no     	 /mnt1/dir
      0 KB          0 KB      writeback      no     	 /mnt1/file_2
      0	KB     	   97.5 MB    writeback      no     	 /mnt1
    
  4. Check the statistics on cache usage:

    # sfcache stat sfcachearea_1

    See Viewing the SmartIO cache statistics .

  5. Check the FEL cache usage for a particular file system.

    # sfcache stat /mnt1