volume file compact-data
Apply Adaptive Data Compaction to a Snapshot copy of a file
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The volume file compact-data command applies the Adaptive Data Compaction feature to the snapshot of a file such that partially filled blocks from that file will merge and consume less storage space.
Parameters
-node <nodename>- Node-
This parameter indicates the node name that the AWA instance runs on.
-vserver <vserver name>- Vserver Name-
This specifies the Vserver in which the target file is located.
-file </vol/<volume name>/<file path>>- File Path-
This specifies the complete file path. The snapshot name can be specified as part of the path or by specifying the
-snapshotparameter. [-volume <volume name>]- Volume Name-
This specifies the volume in which the targeted file is located.
[-snapshot <snapshot name>]- Snapshot Copy Name-
This specifies the snapshot name in which the file will be compacted.
Examples
The following command applies the Adaptive Data Compaction feature to the snapshot snap1 of the file /file1 in volume vol1 :
cluster1::> volume file compact-data -vserver vs1 -volume vol1 -file /vol/vol1/file1 -snapshot snap1