Product docs and API reference are now on Akamai TechDocs.
Search product docs.
Search for “” in product docs.
Search API reference.
Search for “” in API reference.
Search Results
 results matching 
 results
No Results
Filters
Add tags
Add authors
Guides - Block Storage Volumes
Access the entire Linode platform from the command line, easily adding, removing, or modifying services.
Create a Linode account
to try this guide with a $ credit.
This credit will be applied to any valid services used during your first
days.
List your current Volumes:
linode-cli volumes list
Create a new Volume, with the size specified in GB:
linode-cli volumes create --label my-volume --size 100 --region us-east
Specify a
linode_id
to create the Volume and automatically attach it to a specific Linode:linode-cli volumes create --label my-volume --size 100 --linode_id $linode_id
Attach or detach the Volume from a Linode:
linode-cli volumes attach $volume_id --linode_id $linode_id linode-cli volumes detach $volume_id
Resize a Volume (size can only be increased):
linode-cli volumes resize $volume_id --size 200
Delete a Volume:
linode-cli volumes delete $volume_id
This page was originally published on