lsvdiskanalysis
Use the lsvdiskanalysis command to display information for thin provisioning and compression estimation analysis report for a single volume or multiple volumes.
Syntax
Parameters
- -nohdr
- By default, headings are displayed for each column of data in a
concise style view, and for each item of data in a detailed style view. The
-nohdr parameter suppresses the display of these
headings.Note: If no data is displayed, headings are not displayed.
- -delim delimiter
- By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum width of each item of
data. In a detailed view, each item of data has its own row, and if the headers are
displayed, the data is separated from the header by a space. The
-delim parameter overrides this behavior. Valid input for the
-delim parameter is a 1-byte character. If you enter
-delim :
on the command line, the colon character (:
) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - -filtervalue attribute=value
- Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
- -filtervalue?
- Displays the valid filter attributes for the
-filtervalue
attribute=value parameter:
- id
- name
- state
- vdisk_id | vdisk_name
- Specifies the volume (by ID or name) to display compression estimation status for.
Description
This command displays information for thin provisioning and compression estimation analysis report for a single volume or multiple volumes.
This table provides the attribute values that can be
displayed as output view data.
Attribute | Description |
---|---|
id | Indicates the ID (by number) of the object. |
state | Indicates one of the following values:
|
started_time | Indicates the date and time that the analysis started, which helps determine how long an estimate takes. The value must be an alphanumeric data string or be empty if analysis never started. |
analysis_time | Indicates the date and time that the analysis ends to help
determine how current the results are. If you cancel analysis, the value for the
time is invalid (0 , and it is not displayed). While active, time
is invalid as well and does not reflect expected completion time. The value must
be an alphanumeric data string or be empty if analysis never occurred. |
capacity | Indicates the provisioned capacity (host size) of the volume. |
thin_size | Indicates the estimated size of the data without zero portions (thin-provisioned size). |
thin_savings | Indicates how much data is expected to be saved if it is a thin-provisioned volume. |
thin_savings_ratio | Indicates the percent of data that is saved by thin-provisioned. The number must be a percentage. |
compressed_size | Indicates the estimated size of any nonzero data after compression completes. |
compression_savings | Indicates how much data to expect to save if the volume is a compressed volume. |
compression_savings_ratio | Indicates the amount of data that is saved by compression. The number must be a percentage. |
total_savings | Indicates how much data to expect to save by converting a volume to a compressed volume. |
total_savings_ratio | Indicates the amount of data that is saved by compression based on the overall volume capacity, which includes the thin nature of compressed volumes. The number must be a percentage. |
margin_of_error | Indicates the accuracy estimation. The number is a percentage. |
A concise invocation example
lsvdiskanalysis
The detailed resulting output
id name state analysis_time capacity thin_size thin_savings thin_savings_ratio compressed_size compression_savings compression_savings_ratio total_savings total_savings_ratio margin_of_error
0 ben0 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
1 ben1 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
2 ben2 active 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
3 ben3 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
4 ben4 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
5 ben5 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
6 ben6 estimated 150608135456 1.00GB 62.18MB 961.82MB 93.92 12.23MB 49.95MB 80.33 1011.77MB 98.80 4.97
7 ben7 scheduled 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
8 ben8 idle 1.00GB 0.00MB 0.00MB 0 0.00MB 0.00MB 0 0.00MB 0 0
A detailed invocation example for a single volume
lsvdiskanalysis
The detailed resulting output
id 6
name ben6
state estimated
started_time 150608135446
analysis_time 150608135456
capacity 1.00GB
thin_size 62.18MB
thin_savings 961.82MB
thin_savings_ratio 93.92
compressed_size 12.23MB
compression_savings 49.95MB
compression_savings_ratio 80.33
total_savings 1011.77MB
total_savings_ratio 98.80
margin_of_error 4.97
A detailed invocation example for a volume that has not been analyzed
lsvdiskanalysis
The detailed resulting output
id 1
name ben1
state idle
started_time
analysis_time
capacity 1.00GB
thin_size 0.00MB
thin_savings 0.00MB
thin_savings_ratio 0
compressed_size 0.00MB
compression_savings 0.00MB
compression_savings_ratio 0
total_savings 0.00MB
total_savings_ratio 0
margin_of_error 0