Storage Foundation 7.4.1 Administrator's Guide - Linux
- Section I. Introducing Storage Foundation
- Overview of Storage Foundation
- How Dynamic Multi-Pathing works
- How Veritas Volume Manager works
- How Veritas Volume Manager works with the operating system
- How Veritas Volume Manager handles storage management
- Volume layouts in Veritas Volume Manager
- Online relayout
- Volume resynchronization
- Dirty region logging
- Volume snapshots
- FastResync
- How VxVM handles hardware clones or snapshots
- Volume encryption
- How Veritas File System works
- Section II. Provisioning storage
- Provisioning new storage
- Advanced allocation methods for configuring storage
- Customizing allocation behavior
- Using rules to make volume allocation more efficient
- Understanding persistent attributes
- Customizing disk classes for allocation
- Specifying allocation constraints for vxassist operations with the use clause and the require clause
- Creating volumes of a specific layout
- Customizing allocation behavior
- Creating and mounting VxFS file systems
- Creating a VxFS file system
- Mounting a VxFS file system
- tmplog mount option
- ioerror mount option
- largefiles and nolargefiles mount options
- Resizing a file system
- Monitoring free space
- Extent attributes
- Section III. Administering multi-pathing with DMP
- Administering Dynamic Multi-Pathing
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Discovering and configuring newly added disk devices
- Dynamic Reconfiguration of devices
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Managing devices
- Displaying disk information
- Changing the disk device naming scheme
- Adding and removing disks
- Event monitoring
- Administering Dynamic Multi-Pathing
- Section IV. Administering Storage Foundation
- Administering sites and remote mirrors
- About sites and remote mirrors
- Fire drill - testing the configuration
- Changing the site name
- Administering the Remote Mirror configuration
- Failure and recovery scenarios
- Administering sites and remote mirrors
- Section V. Optimizing I/O performance
- Veritas File System I/O
- Veritas Volume Manager I/O
- Managing application I/O workloads using maximum IOPS settings
- Section VI. Using Point-in-time copies
- Understanding point-in-time copy methods
- When to use point-in-time copies
- About Storage Foundation point-in-time copy technologies
- Volume-level snapshots
- Storage Checkpoints
- About FileSnaps
- About snapshot file systems
- Administering volume snapshots
- Traditional third-mirror break-off snapshots
- Full-sized instant snapshots
- Creating instant snapshots
- Adding an instant snap DCO and DCO volume
- Controlling instant snapshot synchronization
- Creating instant snapshots
- Cascaded snapshots
- Adding a version 0 DCO and DCO volume
- Administering Storage Checkpoints
- Storage Checkpoint administration
- Administering FileSnaps
- Administering snapshot file systems
- Understanding point-in-time copy methods
- Section VII. Optimizing storage with Storage Foundation
- Understanding storage optimization solutions in Storage Foundation
- Migrating data from thick storage to thin storage
- Maintaining Thin Storage with Thin Reclamation
- Reclamation of storage on thin reclamation arrays
- Identifying thin and thin reclamation LUNs
- Veritas InfoScale 4k sector device support solution
- Section VIII. Maximizing storage utilization
- Understanding storage tiering with SmartTier
- Creating and administering volume sets
- Multi-volume file systems
- Features implemented using multi-volume file system (MVFS) support
- Adding a volume to and removing a volume from a multi-volume file system
- Volume encapsulation
- Load balancing
- Administering SmartTier
- About SmartTier
- Placement classes
- Administering placement policies
- File placement policy rules
- Multiple criteria in file placement policy rule statements
- Using SmartTier with solid state disks
- Sub-file relocation
- Administering hot-relocation
- How hot-relocation works
- Moving relocated subdisks
- Deduplicating data
- Compressing files
- About compressing files
- Use cases for compressing files
- Section IX. Administering storage
- Managing volumes and disk groups
- Rules for determining the default disk group
- Moving volumes or disks
- Monitoring and controlling tasks
- Performing online relayout
- Adding a mirror to a volume
- Managing disk groups
- Disk group versions
- Displaying disk group information
- Importing a disk group
- Moving disk groups between systems
- Importing a disk group containing hardware cloned disks
- Handling conflicting configuration copies
- Destroying a disk group
- Backing up and restoring disk group configuration data
- Managing plexes and subdisks
- Decommissioning storage
- Rootability
- Encapsulating a disk
- Rootability
- Sample supported root disk layouts for encapsulation
- Encapsulating and mirroring the root disk
- Administering an encapsulated boot disk
- Quotas
- Using Veritas File System quotas
- File Change Log
- Managing volumes and disk groups
- Section X. Reference
- Appendix A. Reverse path name lookup
- Appendix B. Tunable parameters
- Tuning the VxFS file system
- Methods to change Dynamic Multi-Pathing tunable parameters
- Tunable parameters for VxVM
- Methods to change Veritas Volume Manager tunable parameters
- Appendix C. Command reference
Example placement policy when using solid state disks
The following snippet is one possible placement policy for use with solid state disk (SSD)-based tiers.
<?xml version="1.0"?> <!DOCTYPE PLACEMENT_POLICY SYSTEM "/opt/VRTSvxfs/etc/placement_policy.dtd"> <PLACEMENT_POLICY Version="5.0" Name="SSD_policy"> <RULE Flags="data" Name="all_files"> <COMMENT> The first two RELOCATEs will do the evacuation out of SSDs to create room for any relocations into the SSDs by the third RELOCATE. The parameters that can be tuned are basically values for PERIOD and the values of MIN and/or MAX as the per the case. The values for MIN and MAX are treated as multiples of average activity over past 24 hour period. </COMMENT> <SELECT> <PATTERN> * </PATTERN> </SELECT> <CREATE> <COMMENT> create files on ssdtier, failing which create them on other tiers </COMMENT> <ON> <DESTINATION Flags="any"> <CLASS> ssdtier </CLASS> </DESTINATION> </ON> </CREATE> <RELOCATE> <COMMENT> Move the files out of SSD if their last 3 hour write IOTEMP is more than 1.5 times the last 24 hour average write IOTEMP. The PERIOD is purposely shorter than the other RELOCATEs because we want to move it out as soon as write activity starts peaking. This criteria could be used to reduce SSD wear outs. </COMMENT> <FROM> <SOURCE> <CLASS> ssdtier </CLASS> </SOURCE> </FROM> <TO> <DESTINATION> <CLASS> nonssd_tier </CLASS> </DESTINATION> </TO> <WHEN> <IOTEMP Type="nwbytes" Average="*"> <MIN Flags="gt"> 1.5 </MIN> <PERIOD Units="hours"> 3 </PERIOD> </IOTEMP> </WHEN> </RELOCATE> <RELOCATE> <COMMENT> OR move the files out of SSD if their last 6 hour read IOTEMP is less than half the last 24 hour average read IOTEMP. The PERIOD is longer, we may want to observe longer periods having brought the file in. This avoids quickly sending the file out of SSDs once in. </COMMENT> <FROM> <SOURCE> <CLASS> ssdtier </CLASS> </SOURCE> </FROM> <TO> <DESTINATION> <CLASS> nonssd_tier </CLASS> </DESTINATION> </TO> <WHEN> <IOTEMP Type="nrbytes" Average="*"> <MAX Flags="lt"> 0.5 </MAX> <PERIOD Units="hours"> 6 </PERIOD> </IOTEMP> </WHEN> </RELOCATE> <RELOCATE> <COMMENT> OR move the files into SSD if their last 3 hour read IOTEMP is more than or equal to 1.5 times the last 24 hour average read IOTEMP AND their last 6 hour write IOTEMP is less than half of the last 24 hour average write IOTEMP </COMMENT> <TO> <DESTINATION> <CLASS> ssd_tier </CLASS> </DESTINATION> </TO> <WHEN> <IOTEMP Type="nrbytes" Prefer="high" Average="*"> <MIN Flags="gteq"> 1.5 </MIN> <PERIOD Units="hours"> 3 </PERIOD> </IOTEMP> <IOTEMP Type="nwbytes" Average="*"> <MAX Flags="lt"> 0.5 </MAX> <PERIOD Units="hours"> 3 </PERIOD> </IOTEMP> </WHEN> </RELOCATE> </RULE> </PLACEMENT_POLICY>
In this placement policy, new files are created on the SSD tiers if space is available, or elsewhere if space is not available. When enforce is performed, the files that are currently in SSDs whose write activity is increased above a threshold or whose read activity fell below a threshold over a given period are moved out of the SSDs. The first two RELOCATEs capture this intent. However, the files whose read activity intensified above a threshold and whose write activity does not exceed a threshold over the given period are moved into SSDs, while giving preference to files with higher read activity.
The following figure illustrates the behavior of the example placement policy:
The files whose I/O activity falls in the light gray area are good candidates for moving in to SSD storage. These files have less write activity such that they have less impact on wear leveling, and the slower write times to SSDs is less of a factor. These files have intense read activity, which also makes the files ideal for placement on SSDs since read activity does not cause any wear leveling side effects, and reads are faster from SSDs. In contrast, the files whose I/O activity falls in the dark gray area are good candidates to be moved out of SSD storage, since they have more write activity or less read activity. Greater write activity leads to greater wear leveling of the SSDs, and your file system's performance suffers from the slower write times of SSDs. Lesser read activity means that you are not benefitting from the faster read times of SSDs with these files.