Listing and printing details of iSCSI volumes

To list volumes, use the vstorage-target vol-list command. For example:

# vstorage-target vol-list
[
  "3277153b-5296-49c5-9b66-4c200ddb343d",
  "a12110d5-cbbc-498a-acdd-a8567286f927",
  "d5cc3c13-cfb4-4890-a20d-fb80e2a56278"
]

Use vstorage-target vol-stat -all to print details of all volumes. To print details of a specific volume, run vstorage-target vol-stat -id <vol_ID>.