Use the lsmdisk command to display a concise list or a detailed view of managed disks (MDisks) visible to the clustered system (system). It can also list detailed information about a single MDisk.
lsmdisk -filtervalue "name=md*"
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
Attribute | Values |
---|---|
status |
|
mode | unmanaged, managed, image, array |
quorum_index | 0, 1, 2, or blank if the MDisk is not being used as a quorum disk |
block_size | 512, 524 bytes in each block of storage |
ctrl_type | 4, 6, where 6 is a flash drive attached inside a node and 4 is any other device |
tier | The tier this MDisk has been assigned to by
auto-detection (for internal arrays) or by the user:
Note: You can change this value using the chmdisk command.
|
easy_tier_load | This value controls Easy Tier
settings, and is either blank (for arrays) or one of the following
values (for MDisks):
|
raid_status |
|
raid_level | The RAID level of the array (RAID0, RAID1, RAID5, RAID6, RAID10). |
redundancy | The number of how many member disks can fail before the array fails. |
strip_size | The strip size of the array (in KB). |
spare_goal | The number of spares that the array members should be protected by. |
spare_protection_min | The minimum number of spares that an array member is protected by. |
balanced | Describes if the array is balanced to its spare
goals:
|
site_id | Indicates the site value for the MDisk. This numeric value is 1, 2, 3 or blank. |
site_name | Indicates the site name for the MDisk. This is an alphanumeric value or is blank. |
fabric_type | Indicates a Fibre Channel (FC), SAS, or another
type of MDisk.
|
encrypt | Indicates whether the external MDisk is self-encrypting.
The values are:
|
distributed | Indicates whether the array is distributed. The values are yes or no. |
drive_class_id | Indicates the drive class that makes up this array. If -allowsuperior was used during array creation, the lowest used drive class ID is displayed. This value is blank for traditional arrays. |
drive_count | Indicates the total width of the array, including rebuild areas. The value is a number from 4 to 128. The minimum value for RAID-6 and RAID-10 arrays is 6. |
stripe_width | Indicates the width of a single unit of redundancy
within a distributed set of drives. The values are:
|
rebuild_areas_total | Indicates the total number of rebuild areas set at array creation time. These rebuild areas provide performance but no capacity. The value is 1 - 4 for distributed array RAID-5 and RAID-6, and the value is 2 - 4 for distributed array RAID-10 (the value is blank for traditional arrays). |
rebuild_areas_available | Indicates the number of remaining build areas within the set of arrays. The value is 1 - 4 for distributed array RAID-5 and RAID-6, and the value is 2 - 4 for distributed array RAID-10 (the value is blank for traditional arrays). |
rebuild_areas_goal | Indicates the rebuild areas threshold (minimum limit) at which point the array logs an error. The value is 1 - 4 for distributed array RAID-5 and RAID-6, and the value is 2 - 4 for distributed array RAID-10 (the value is blank for traditional arrays). |
To see which MDisks are available, issue the detectmdisk command to manually rescan the Fibre Channel network for any new MDisks. Issue the lsmdiskcandidate command to show the unmanaged MDisks. These MDisks have not been assigned to a storage pool.
lsmdisk -delim :
The concise resulting output:
id:name:status:mode:mdisk_grp_id:mdisk_grp_name:capacity:ctrl_LUN_#:controller_name:UID:tier:encrypt:site_id:site_name 0:mdisk0:online:unmanaged:::68.4GB:0000000000000000:controller0:20000004cf2422aa000000000000000000000000000000000000000000000000:ssd:yes:1:quahog1 1:mdisk1:online:unmanaged:::68.4GB:0000000000000000:controller1:20000004cf1fd19d000000000000000000000000000000000000000000000000:nearline:yes:2:quahog2 2:mdisk2:online:unmanaged:::68.4GB:0000000000000000:controller2:20000004cf242531000000000000000000000000000000000000000000000000:enterprise:yes:3:quahog3
lsmdisk mdisk1
The detailed resulting output:
id:1 name:mdisk1 status:online mode:array mdisk_grp_id:0 mdisk_grp_name:mdgp0 capacity:136.0GB quorum_index: block_size:512 controller_name:controller1 ctrl_type:4 ctrl_WWNN:200400A0B80F0702 controller_id:1 path_count:2 max_path_count:2 ctrl_LUN_#:0000000000000002 UID:600a0b80000f07020000005c45ff8a7c00000000000000000000000000000000 preferred_WWPN:200400A0B80F0703 active_WWPN:200400A0B80F0703 fast_write_state:empty raid_status: raid_level: redundancy: strip_size: spare_goal: spare_protection_min: balanced: tier:ssd slow_write_priority:latency fabric_type:fceasy_tier_load:lowencryt:nodistributed no drive_class_id drive_count 8 stripe_width 4 total_rebuild_areas available_rebuild_areas rebuild_areas_goal