Attach a volume

Attach a Block Storage volume to an existing Linode.

📘

  • The volume and its target Linode need to exist in the same region. You can run the List volumes and List Linodes operations and review the region for each.

  • There's a maximum number of volumes that can be attached to a single Linode configuration. This number varies, based on the Linode's plan, with higher plan types supporting more volumes. The maximum follows a formula of the Linode plan's total_ram / 1024, with a minimum of 8 and a total maximum of 64 volumes. Rescue configurations support a maximum of 8.

linode-cli volumes attach 12345 \
  --linode_id 12346 \
  --config_id 23456

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
volumes:read_write
linodes:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Language
Credentials