lbcli get volume

Gets information about a volume by name or UUID.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescriptionVersion
-namestringVolume name. Either UUID or name must be specified, but not both.
--uuidstringVolume UUID. Either UUID or name must be specified, but not both.
--help-hboolHelp for volume.
--project namestringProject name. Project name is required when using the v2.0 API.2.1 and above

This command returns the following fields for the volume. The default output format is yaml. The JSON output format is also supported. The human-readable output only shows some of these fields.

FieldTypeDescription
NameStringVolume name.
UUIDStringVolume UUID.
StateString

The current volume state:

  • Creating
  • Created
  • Updating
  • Rollback
  • Migrating
  • Deleting
  • Deleted
  • Failed
Protection StateString

The current volume protection state:

  • Fully protected
  • Degraded
  • Read only
  • Not available

Note: For any volumes that are in "Creating" or “Failed” state, the protection state is “Not available“.

NSIDIntegerVolume NSID.
SizeIntegerMaximal logical capacity of the volume in bytes.
Replica CountIntegerTotal replicas count.
Compressionboolean
  • False: Compression disabled
  • True: Compression enabled
ACLList of stringsAccess Control List.
Rebuild ProgressString

Rebuild progress in percentage.

If a node that the volume is associated with is also undergoing the clustering rebuild process this field will show progress. Otherwise, it will show None.

Note: This field displays information on the replications nodes state associated with this volume. So, it may show a rebuild even for volumes with no data.

Nodes ListList of stringsNode UUIDs on which the volume is stored (only in json/yaml).
IP ACLList of stringList of allowed IPs (Default: ALLOW_ANY).
Connected HostsList of stringsList of host nqn connected to the volume.
EtagStringAn identifier for a specific version of a resource.
Source Snapshot NameStringThe source snapshot UUID which the volume was cloned from. An empty string means that this volume did not originate from a snapshot.
Source Snapshot UUIDStringThe source snapshot name which the volume was cloned from. An empty string means that this volume did not originate from a snapshot.
QoS Policy UUIDStringThe UUID of the QoS policy that is assigned to the volume.
QoS Policy NameStringThe name of the QoS policy that is assigned to the volume.

Note: For examples and a full list of volume metrics, see lbcli list volumes.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
lbcli get volume