mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 19:51:47 +00:00
Update cheatsheets
This commit is contained in:
34
linode-cli-volumes
Normal file
34
linode-cli-volumes
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# linode-cli volumes
|
||||
|
||||
> Manage Linode Volumes.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/block-storage-volumes/>.
|
||||
|
||||
- List current Volumes:
|
||||
|
||||
`linode-cli volumes list`
|
||||
|
||||
- Create a new Volume and attach it to a specific Linode:
|
||||
|
||||
`linode-cli volumes create --label {{volume_label}} --size {{size_in_GB}} --linode-id {{linode_id}}`
|
||||
|
||||
- Attach a Volume to a specific Linode:
|
||||
|
||||
`linode-cli volumes attach {{volume_id}} --linode-id {{linode_id}}`
|
||||
|
||||
- Detach a Volume from a Linode:
|
||||
|
||||
`linode-cli volumes detach {{volume_id}}`
|
||||
|
||||
- Resize a Volume (Note: size can only be increased):
|
||||
|
||||
`linode-cli volumes resize {{volume_id}} --size {{new_size_in_GB}}`
|
||||
|
||||
- Delete a Volume:
|
||||
|
||||
`linode-cli volumes delete {{volume_id}}`
|
||||
Reference in New Issue
Block a user