Use the lsarraymember command to list the member drives of one or more array MDisks.
lsarraymember -filtervalue "mdisk_name=md*"
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
This command lists the member drives of one or more array MDisks. It describes positions within an array unoccupied by a drive. The positions determine how mirroring the RAIDs takes place. For example, determining whether x is mirrored to y for RAID-10, where parity starts from RAID-5.
Attribute | Value |
---|---|
member_id | Specifies the identity of the array member. It represents drive order in RAID array |
drive_id | Specifies the identity of the drive for member ID, or the source drive if an exchange is in progress. It is blank if there is no drive that is configured. |
new_drive_id | Specifies the ID of the drive that is exchanged with this member ID. It is blank if there is no ID. |
spare_protection | Specifies the number of non-degrading spares for the member. This includes spare drives with different attributes from the array member goals that perform equally or better than the array member goals. For distributed array members this field is blank. |
balanced | For nondistributed arrays, this value
describes if the array is balanced to its spare goals:
For distributed arrays, this value indicates
whether a superior drive class is being used for the array:
|
slow_write_count | Indicates the number of times this member becomes unsynchronized because of high response time on write I/O operations. |
slow_write_time_last | Creates a timestamp of when the component last became unsynchronized. The time format is YYMMDDhhmmss in clustered system time. No time is indicated if the value for slow_write_count is 0. |
lsarraymember -delim :
The resulting output:
lsarraymember -delim : mdisk_id:mdisk_name:member_id:drive_id:new_drive_id:spare_protection :balanced:slow_write_count:slow_write_time_last 2:mdisk1:0:55::1:exact:4:130103202158 2:mdisk1:1:56::1:exact:1:130103203930 2:mdisk2:0:0::2:exact:0: 2:mdisk2:1:2:5:3:exact:2:130103204044 2:mdisk2:2:::::: 2:mdisk2:3:8::0:no::
lsarraymember -delim : mdisk_2
The resulting output:
tmdisk_id:mdisk_name:member_id:drive_id:new_drive_id:spare_protection :balanced:slow_write_count:slow_write_time_last 2:mdisk2:0:0::2:exact:4:130103202158 2:mdisk2:1:2:5:3:exact:1:130103203930 2:mdisk2:2:::::0: 2:mdisk2:3:8::0:no:2:130103204044
lsarraymember -delim :
The resulting output:
mdisk_id:mdisk_name:member_id:drive_id:new_drive_id:spare_protection :balanced:slow_write_count:slow_write_time_last 2:mdisk1:0:55:::1:exact:4:130103202158 2:mdisk1:1:56:::1:exact:1:130103203930 2:mdisk2:0:0:::2:exact:0: 2:mdisk2:1:2:5::3:exact:2:130103204044 2:mdisk2:2::::::: 2:mdisk2:3:8:::0:no::
lsarraymember -delim : mdisk_3
The resulting output:
mdisk_id:mdisk_name:member_id:drive_id:new_drive_id:spare_protection :balanced:slow_write_count:slow_write_time_last 3:mdisk3:0:55::55:1:exact:4:130103202158 3:mdisk3:1:56::57:1:exact:1:130103203930 3:mdisk3:2:::58:1:exact:0:
lsarraymember -delim : mdisk_3
The resulting output:
mdisk_id:mdisk_name:member_id:drive_id:new_drive_id:spare_protection :balanced:slow_write_count:slow_write_time_last 3:mdisk3:0:55::55:1:exact:4:130103202158 3:mdisk3:1:57::56:1:exact:1:130103203930 3:mdisk3:2:58:::1:exact:0: