Listing Block Volume Attachments

On Compute Cloud@Customer, you can list all Block Volume volume attachments in a specific compartment, and detailed information for a single volume attachment.

    1. In the Compute Cloud@Customer Console navigation menu, select Compute, then select Instances.

    2. At the top of the page, select the compartment that contains the instance that has the attached block volume.

    3. Select the instance name to display the details.

    4. Under Resources, select Attached Block Volumes.

      Block volumes that are attached to this instance are listed in the table.

    5. To see details for a block volume, select the block volume name.

  • Use these commands to list volume attachments:

    • Use xx to list all volume attachments in a compartment:

      oci compute volume-attachment list --compartment-id <compartment_OCID>  [OPTIONS]
    • Use xx to list the details of a single volume attachment:

      oci compute volume-attachment list --volume-id <volume_OCID>  [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use these APIs:

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.