lslocaldisk

Use the lslocaldisk command to display the cloud managed disks (MDisks) visible to the system.

Syntax

Read syntax diagramSkip visual syntax diagram lslocaldisk -unitbkbmbgbtbpb-bytesmdisk_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.
-unit b | kb | mb | gb | tb | pb
(Optional) Specifies the data units for the -filtervalue parameter.
Note: -unit must be used with -filtervalue.
-bytes
(Optional) Specifies that you want the report to display all capacities as bytes. Capacity values that are displayed in units other than bytes might be rounded. When you filter on capacity, use a unit of bytes, -unit b, for exact filtering.
mdisk_id | mdisk_name
(Optional) Specifies the name or ID of an MDisk. When you use this parameter, the detailed view of the specific MDisk is returned and any value that is specified by the -filtervalue parameter is ignored. If you do not specify the mdisk_id | mdisk_name parameter, the concise view displays all objects that match the filtering requirements that are specified by the -filtervalue parameter.

Description

This command returns a concise list or a detailed view of MDisks visible to the system. This table provides the potential output.
Table 1. lslocaldisk output
Attribute Values
mdisk_id Displays the local MDisk ID.
mdisk_name Displays the local MDisk name.
status Displays the local MDisk status (online, offline, or degraded).
mode Displays the local MDisk mode (ummanaged, managed, or image).
mdisk_grp_id Displays the ID of the MDisk group that the local disk belongs to.
mdisk_grp_name Displays the name of the MDisk group that the local disk belongs to.
capacity Displays the capacity of the disk.
encrypt Displays the encryption status of the disk. The value is either yes or no.
fabric_type Displays the type of local MDisk fabric type. This value is the same as lsmdisk fabric_type. The values are:
  • Fibre Channel (fc)
  • sas
  • cloud
  • iscsi
disk_id Displays the disk ID from the cloud provider, if any.
type Displays the local MDisk type. The values are:
  • gp2
  • io1
  • st1
  • sc1
  • standard
  • standardSSD
  • premium
node_id Displays the node ID that the local MDisk is attached.
node_name Displays the node name that the local MDisk is attached.
state Displays the state of the local MDisk. The values are:
  • available
  • in-use
  • attaching
  • attached
  • detaching
  • detached
  • creating
  • deleting
  • deleted
  • error
iops Displays the number of I/O operations per second (IOPS) that the local MDisk supports. For Provisioned IOPS SSD volumes, this value represents the number of IOPS that are provisioned for the volume. For General Purpose SSD volumes, this value represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information, see Amazon EBS Volume Types.
zone Displays the local MDisk zone. For more information on zones, see AWS zones.