Use the lsarraysyncprogress command to display how
synchronized a RAID array is.
Syntax
lsarraysyncprogress [ -nohdr ] [ -filtervalueattribute_value ] [ -filtervalue? ] [ -delim delimiter ] [ { mdisk_id | mdisk_name } ]
Parameters
- -nohdr
- (Optional) 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 there is no data to be displayed,
headings are not displayed.
- -filtervalueattribute=value
- (Optional) Specifies a list of one or more filters. Only objects with a value that matches
the filter attribute value are displayed.
Note: Some filters allow the use of a wildcard when
you enter the command. The following rules apply to the use of wildcards:
- The wildcard character is the asterisk (*).
- The command can contain a maximum of one wildcard.
- When you use a wildcard, enclose the filter entry within double quotation marks (""):
lsarraysyncprogress -filtervalue mdisk_id="1*"
- -filtervalue?
- (Optional) Displays the valid filter attributes for the -filtervalue
parameter:
- estimated_completion_time
- mdisk_id
- mdisk_name
- progress
- -delim delimiter
- (Optional) 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.
- mdisk_id
- (Optional) The ID of the MDisk you want to view.
- mdisk_name
- (Optional) The user-defined name of the MDisk you want to view.
Description
This command shows you how
synchronized a RAID array is. It includes internal activity that is working toward a fully
synchronized array. This table provides the potential output.
Table 1. lsarraysyncprogress outputAttribute |
Value |
progress |
The percentage of the array that is synchronized. |
estimated_completion_time |
The expected synchronization completion time
(YYMMDDHHMMSS; blank if completion time unknown). |
A concise invocation
example
lsarraysyncprogress –delim :
The resulting
output:
mdisk_id:mdisk_name:progress:estimated_completion_time
0:mdisk0:50:070301120000
1:mdisk1:51:070301130000
2:mdisk2:32:070301153500
A concise view (qualified with mdisk id for mdisk2) invocation
example
lsarraysyncprogress –delim : mdisk2
The resulting
output:
mdisk_id:mdisk_name:progress:estimated_completion_time
2:mdisk2:32:070301153500
A concise view (qualified with mdisk id for in sync mdisk10) invocation
example
lsarraysyncprogress –delim : mdisk_10
The resulting
output:
mdisk_id:mdisk_name:progress:estimated_completion_time
0:mdisk10:100: