lslocaldisk
Use the lslocaldisk command to display the cloud managed disks (MDisks) visible to the system.
Syntax
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.
- (Optional) Specifies the data units for the -filtervalue
parameter.Note: -unit must be used with -filtervalue.
- (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.
- (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.
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:
|
disk_id | Displays the disk ID from the cloud provider, if any. |
type | Displays the local MDisk type. The values are:
|
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:
|
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. |