For the complete documentation index, see llms.txt. This page is also available as Markdown.

list

List the Volumes attached to a Server

Usage

ionosctl compute server volume list [flags]

Aliases

For server command:

[s svr]

For volume command:

[v vol]

For list command:

[l ls]

Description

Use this command to list the block-storage Volumes currently attached to a Server, showing each Volume's size, type, licence type and state. Use a returned Volume Id with server volume get, server volume detach, or server update --volume-id to set it as the boot volume.

You can filter the results using --filters option. Use the following format to set filters: --filters KEY1=VALUE1,KEY2=VALUE2. Available Filters:

  • filter by property: [name type size availabilityZone image imagePassword imageAlias sshKeys bus licenceType applicationType cpuHotPlug ramHotPlug nicHotPlug nicHotUnplug discVirtioHotPlug discVirtioHotUnplug exposeSerial requireLegacyBios deviceNumber pciSlot backupunitId userData bootServer bootOrder]

  • filter by metadata: [etag createdDate createdBy createdByUserId lastModifiedDate lastModifiedBy lastModifiedByUserId state]

Required values to run command:

  • Data Center Id

  • Server Id

Options

Examples

Last updated