lsarray

Use the lsarray command to list the array MDisks.

Syntax

Read syntax diagramSkip visual syntax diagram lsarray -bytes-unitbkbmbgbtbpbmdisk_idmdisk_name

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.
-bytes
(Optional) Requests output of capacities in bytes (instead of rounded values).
-filtervalue capacity=value
(Optional) Specifies a list of one or more filter capacities (size) values matching the specified values for the unit parameter. Use the unit parameter to interpret the value for size or capacity.
-unit b | kb | mb | gb | tb | pb
(Optional) The units that are used when you specify the -filtervalue capacity, where:
  • b = bytes
  • kb = 1,024 bytes
  • mb = 1,048,576 bytes
  • gb = 1,073,741,824 bytes
  • tb = 1,099,511,627,776 bytes
  • pb = 1,125,899,906,842,624 bytes
mdisk_id
(Optional) The identity of the array MDisk.
mdisk_name
(Optional) The name of the array MDisk.

Description

This command returns a concise list or a detailed view of array MDisks visible to the system. This table provides the attribute values that can be displayed as output view data.
Table 1. Array output
Attribute Values
capacity Indicates the value for the capacity you specify by using the -unit parameter.
status Indicates the array status. The values are:
  • online
  • offline
  • excluded
  • degraded (applies only to internal MDisks)
mode Indicates the mode. The values are:
  • unmanaged
  • managed
  • image
  • array
block_size Indicates the block size. The value is 512 bytes (or blank) in each block of storage.
raid_status Indicates the RAID status. The values are:
offline
The array is offline on all nodes.
degraded
The array has deconfigured or offline members; the array is not fully redundant.
syncing
The array members are all online. The array is synchronizing parity or mirrors to achieve redundancy.
initializing
The array members are all online. The array is initializing; the array is fully redundant.
online
The array members are all online and the array is fully redundant.
expanding
The array members are all online and the array is expanding.
raid_level Indicates the RAID level of the array.
redundancy Indicates the number of member disks that can fail concurrently without causing the array to fail.
rebuild_ahead Indicates the rebuild_ahead specification:
  • off indicates that the array cannot rebuild ahead.
  • minimum indicates that the array can rebuild ahead of a limited number of RAID stripes.
  • medium indicates that the array can rebuild ahead of a moderate number of RAID stripes.
  • maximum indicates that the array can rebuild ahead of many RAID stripes.
rebuild_priority Indicates the rebuild priority:
  • hostmax indicates that the maximum priority is given to the host operations to minimize the impact of the rebuild operation.
  • hostweighted indicates that host I/O operations are given higher priority than rebuild operations.
  • rebuildweighted indicates that rebuild operations are given higher priority than host I/O operations.
  • rebuildmax indicates that maximum priority is given to the rebuild operations (over host I/O operations).
scrub_rate Indicates the speed of the background array sweeper. The value must be a number in the range 0 - 100:
  • 0 turns off the sweeper.
  • 100 consumes the most bandwidth.
scrub_progress Indicates the progress (percentage) of the background array sweeper. The value is reset to 0 after it reaches 100, and another sweep begins.
flashsystem Indicates the type of array for this system. The values are yes and no.
spare_goal (Deprecated) The value of this attribute is always blank.
spare_protection_min (Deprecated) The value of this attribute is always blank.
distributed (Deprecated) Indicates whether the array is distributed. The value of this attribute is always yes.
effective_used_capacity The amount of logical data that is written to the MDisk. If this MDisk is not over_provisioned, then this field is blank.
allocated_capacity The amount of logical capacity that is allocated (by a pool) from this array for volume data and quorum.
fips Indicates if the array is FIPs only mode for drives. The values are yes and no.
This list defines the status fields:
online
The MDisk is online and available.
degraded
(Internal MDisks only) The array has members that are degraded, or the raid_status is degraded.
degraded_ports
There are one or more MDisk port errors.
degraded_paths
One or more paths to the MDisk are lost; the MDisk is not online to every node in the system.
offline
All paths to the MDisk are lost.
excluded
The MDisk is excluded from use by the system; the MDisk port error count exceeded the threshold.