There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

Version edit

This page refers to version

1.0.0.1.3.720 (PSTCLI: 1.0.0.179)


Description edit

List all volumes, clones and snapshots on PowerStore


When to Use edit

PowerCLI command to list volumes, this one is pretty self explanatory

Syntax edit

cli> volume show -h
volume [ { -id <value> | -name <value> } ] show [ -select <field>,.. ] [ -sort <sort field>[+|-] ] [ -offset <value> ] [ {
-limit <value> | -all } ] [ -output { nvp | csv [ -table ] | table | json [ -raw ] } ]

Where <field> is one of:
  appliance_id, creation_timestamp, description, id, is_replication_destination, location_history, migration_session_id, name,
  node_affinity, node_affinity_l10n, performance_policy_id, protection_data, protection_policy_id, size, state, state_l10n,
  type, type_l10n, wwn, <appliance>, <mapped_volumes>, <migration_session>, <protection_policy>, <volume_groups>

Where <appliance> is one of:
  appliance.id, appliance.name, appliance.service_tag, appliance.express_service_code, appliance.model

Where <mapped_volumes> is one of:
  mapped_volumes.id, mapped_volumes.host_id, mapped_volumes.host_group_id, mapped_volumes.volume_id,
  mapped_volumes.logical_unit_number

Where <migration_session> is one of:
  migration_session.id, migration_session.name, migration_session.resource_type, migration_session.source_appliance_id,
  migration_session.family_id, migration_session.destination_appliance_id, migration_session.state,
  migration_session.created_timestamp, migration_session.last_sync_timestamp, migration_session.current_transfer_rate,
  migration_session.progress_percentage, migration_session.estimated_completion_timestamp,
  migration_session.resource_type_l10n, migration_session.state_l10n

Where <protection_policy> is one of:
  protection_policy.id, protection_policy.name, protection_policy.description, protection_policy.type,
  protection_policy.is_replica, protection_policy.type_l10n

Where <volume_groups> is one of:
  volume_groups.id, volume_groups.name, volume_groups.description, volume_groups.creation_timestamp,
  volume_groups.is_protectable, volume_groups.protection_policy_id, volume_groups.migration_session_id,
  volume_groups.is_write_order_consistent, volume_groups.placement_rule, volume_groups.type,
  volume_groups.is_replication_destination, volume_groups.protection_data, volume_groups.is_importing,
  volume_groups.location_history, volume_groups.type_l10n

Where <sort field> is one of:
  appliance_id, creation_timestamp, description, id, is_replication_destination, location_history, migration_session_id, name,
  node_affinity, node_affinity_l10n, performance_policy_id, protection_data, protection_policy_id, size, state, state_l10n,
  type, type_l10n, wwn

Where:
   [Optional] { -id <value> | -name <value> }
      -id <value>
      Unique identifier of the volume to query.

      -name <value>
      Unique name of the existing object (volume).

   [Optional] -select <field>,..
   Display selected attributes in the output.

   [Optional] -sort <sort field>[+|-]
   Sorts output
   * field+ (or just field) - sort by field in ascending order.
   * field-                 - sort by field in descending order.

   [Optional] -offset <value>
   Start record list starting from specific value.

   [Optional] { -limit <value> | -all }
      -limit <value>
      Limits the number of listed records.

      -all
      Query all records.

   [Optional] -output { nvp | csv [ -table ] | table | json [ -raw ] }
   Change the output format.
   * nvp   - Display output as plain text.
   * csv   - Display output in CSV format.
   * table - Display output in a table.
   * json  - Display output in JSON format.

cli>

Example edit

 
cli> volume show
 #  |                  id                  |         name         |  type   |       wwn       |   size    | protecti~
----+--------------------------------------+----------------------+---------+-----------------+-----------+-----------
  1 | 0008c12f-d24a-4117-bab9-2b7927e43b19 | Karin-Vol-Test4      | Primary | naa.68ccf09800~ | 42949672~ |
  2 | 05706c29-9743-4773-9a9d-320205f950a8 | Linux-Lab-VM-1-Vol-0 | Primary | naa.68ccf09800~ | 10737418~ |
  3 | 081946cf-86bb-4b40-baa1-15411288f325 | Linux-Lab-VM-3-005   | Primary | naa.68ccf09800~ | 10737418~ |
  4 | 0c0a4a8d-8c17-4c5c-b103-ce8062fe58ef | Linux-Lab-VM-4-004   | Primary | naa.68ccf09800~ | 16106127~ |
  5 | 142b7bee-cc3e-4bc8-a58b-20582809bfa3 | Linux-Lab-VM-1-Vol-~ | Primary | naa.68ccf09800~ | 11059540~ |
  6 | 247187ee-55cb-4c73-ae5b-0c13fa734790 | Linux-Lab-VM-4-002   | Primary | naa.68ccf09800~ | 16106127~ |
  7 | 2ab636d6-3b43-43eb-a803-9f7551d9f5a2 | Karin-Vol-Test3      | Primary | naa.68ccf09800~ | 32212254~ |
  8 | 2d2ae6f3-5a94-4dca-9f68-62f54b0ff8ba | gslab3t1-vol5        | Primary | naa.68ccf09800~ | 26843545~ |
  9 | 3e3e0ed9-192e-4f1e-bcb4-5600842fc88d | Linux-Lab-VM-3-004   | Primary | naa.68ccf09800~ | 10737418~ |
 10 | 40187368-1bef-4925-9e46-a7019d24e7ee | Linux-Lab-VM-1-Vol-~ | Primary | naa.68ccf09800~ | 10844792~ |
 11 | 4126b8b7-fca8-46dd-8200-65389873304d | gslab3t1-vol3        | Primary | naa.68ccf09800~ | 26843545~ |
 12 | 41dc8d4c-760a-4604-a943-eaf50b7aa803 | Linux-Lab-VM-2-Vol-~ | Primary | naa.68ccf09800~ | 10844792~ |
 13 | 475b6ff7-a295-4964-af89-56887caf7d03 | Linux-Lab-VM-2-Vol-~ | Primary | naa.68ccf09800~ | 10952166~ |
 14 | 48333b41-1e98-4164-9202-c973be6b2104 | Linux_Lab_VM2-PSTCL~ | Primary | naa.68ccf09800~ | 10737418~ |
 15 | 4b84a97f-b7a2-469a-b9cb-577a00788661 | Linux-Lab-VM-2-Vol-~ | Primary | naa.68ccf09800~ | 11059540~ |
 16 | 5164f1db-7ad2-486d-adc7-cfe52dbc4de7 | Linux-Lab-VM-4-005   | Primary | naa.68ccf09800~ | 16106127~ |
 17 | 56209a94-0eac-4ead-9d54-a32466037317 | Linux-Lab-VM-2-Vol-~ | Primary | naa.68ccf09800~ | 11274289~ |
 18 | 5629e202-1a8a-472f-b828-503272aeae2e | Karin-Vol-Test2      | Primary | naa.68ccf09800~ | 21474836~ |
 19 | 58556aa1-7090-43f8-921a-deec5bf494c1 | Linux-Lab-VM-4-001   | Primary | naa.68ccf09800~ | 16106127~ |
 20 | 62eb5058-f217-46d5-8ac8-5556de788d0e | Linux-Lab-VM-1-Vol-~ | Primary | naa.68ccf09800~ | 10952166~ |
 21 | 670ccdbd-e9a9-4a19-9e48-d608d62a8a7f | Linux-Lab-VM-2-Vol-~ | Primary | naa.68ccf09800~ | 11166914~ |
 22 | 6d625486-c22e-483d-b3ed-4b6530e71d27 | Lab VMs              | Primary | naa.68ccf09800~ | 10995116~ |
 23 | 6f3bd737-3775-462c-9734-0fa89e788f71 | Linux-Lab-VM-1-Vol-~ | Primary | naa.68ccf09800~ | 11166914~ |
 24 | 832587dc-37ff-4834-bd88-83f632e8f5b7 | Linux-Lab-VM-1-Vol-~ | Snapsh~ |                 | 11489037~ |
 25 | 8b20c996-d2db-4a98-aed3-3e4aa1c72bcf | Linux-Lab-VM-3-001   | Primary | naa.68ccf09800~ | 10737418~ |
 26 | 8b83d7d2-bcd3-4712-950c-50adf1b3bbd7 | Linux-Lab-VM-1-Vol-~ | Clone   | naa.68ccf09800~ | 10737418~ |
 27 | 9f3f5f50-4043-4c02-9442-e729564f5c1a | Linux-Lab-VM-1-Vol-9 | Primary | naa.68ccf09800~ | 11703785~ |
 28 | b6f7563f-94e0-414e-91e5-6d4e04f9724b | Karin-Vol-Test1      | Primary | naa.68ccf09800~ | 10737418~ |
 29 | b755109d-46e1-4a33-bb9a-6a84f45872bc | gslab3t1-vol2        | Primary | naa.68ccf09800~ | 26843545~ |
 30 | b7747930-43a9-477e-8810-40cba3cb8713 | Linux-Lab-VM-4-003   | Primary | naa.68ccf09800~ | 16106127~ |
 31 | b7c2538c-7786-4fd1-af23-05c75d76e84e | Karin-Vol-Test-Clone | Clone   | naa.68ccf09800~ | 40960000~ |
 32 | c4391faa-bd26-44a2-b6a5-d0fb78b5528a | TESTVOL_ST           | Primary | naa.68ccf09800~ | 53687091~ |
 33 | c4a27641-160b-48b6-b826-24bd05243463 | Karin-Vol-Test5      | Primary | naa.68ccf09800~ | 53687091~ |
 34 | c5058870-cc4a-46c9-a9b1-c566377f626b | Linux-Lab-VM-1-Vol-8 | Primary | naa.68ccf09800~ | 11596411~ |
 35 | d12a381c-2a79-453d-ab7d-d0c2a57c5ccb | Karin-Vol-Test       | Primary | naa.68ccf09800~ | 40960000~ |
 36 | de20920e-e832-4f69-b891-4566cfd612ab | Linux-Lab-VM-3-003   | Primary | naa.68ccf09800~ | 10737418~ |
 37 | e68c3e36-460e-4bf0-a7ff-3cba49dfb700 | Linux-Lab-VM-1-Vol-7 | Primary | naa.68ccf09800~ | 11489037~ |
 38 | e7dcbb31-0861-4746-a219-d77cbb6cff92 | Linux-Lab-VM-1-Vol-~ | Primary | naa.68ccf09800~ | 11274289~ |
 39 | e8d01496-81b2-4be9-ab62-3b47b8136b2f | Linux-Lab-VM-3-002   | Primary | naa.68ccf09800~ | 10737418~ |
 40 | e98e1a03-6aa5-4858-86f8-d2a90c53de67 | gslab3t1-vol4        | Primary | naa.68ccf09800~ | 26843545~ |
 41 | f106b934-0ec7-4174-b7b7-3ed44ed31447 | gslab3t1-vol1        | Primary | naa.68ccf09800~ | 26843545~ |
 42 | f540f8bb-0810-483f-a175-3c5642c10398 | Linux-Lab-VM-1-Vol-6 | Primary | naa.68ccf09800~ | 11381663~ |
cli>


Reference edit

  • Links to useful pages utilizing rs job showmask
This content is in the CLI Namespace. Used for CLI command reference / indexing.