To use data reduction on the system, you need to create a data reduction pool, create thin-provisioned or compressed volumes, and map these volumes to hosts that support SCSI unmap commands.
Data reduction can increase storage efficiency and performance and reduce storage costs, especially for flash storage. Data reduction reduces the amount of data that is stored on external storage systems by reclaiming previously used storage resources that are no longer needed by host systems. The system supports data reduction pools, which contain thin-provisioned or compressed volumes as well as specific volumes that track when space is freed from hosts. When space is freed from hosts, the process is called unmapping. Unmap is a set of SCSI commands that hosts use to indicate that allocated capacity is no longer required on a target volume. The freed space can be collected and reused on the system without the reallocation of capacity on the external storage system. When a system uses either compressed or thin-provisioned volumes or a combination of these volume types in data reduction pools, hosts can automatically allocate and unmap storage without intervention. Reclaimed capacity can be used for other volumes, which more efficiently uses existing storage resources. When a data reduction pool is created, the system monitors the pool for reclaimable capacity from host unmap operations. This capacity can be reclaimed by the system and redistributed into the pool. To maximize space within the pool, create volumes that use thin provisioning or compression within the data reduction pool.
mkmdiskgrp -pool pool_name -ext extent_size -datareduction yesWhere pool_name is the name of the pool and extent_size is the extent size of the pool.Data reduction pools are created as parent pools only, not child pools.
mkvolume -name name -pool storage_pool_name -size disk_size -compressed
mkvolume -name name -pool storage_pool_name -size disk_size -thinWhere name is the name of the new volume, storage_pool_name is the name of the data reduction pool, and disk_size is the capacity of the volume.
mkvdiskhostmap -host host_namevdisk_nameWhere host_name is the name of the host and vdisk_name is the name of the volume.