Generated from the CLI's own command tree. Run tebib volume --help for the same text in your terminal.
Block storage volumes (Ceph RBD).
Commands
tebib volume attach
Attach a volume to a VM (running VMs get it hot-plugged).
tebib volume attach [OPTIONS] VOLUME_ID
| Argument | Description |
|---|
VOLUME_ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--vm required | str | VM ID. |
--project, -p | str | Project ID (default: from the profile). |
--wait | flag | Wait until the resource is ready (or gone, for deletes). |
--timeout | float range | Seconds to wait with --wait. Default: 600. |
--output, -o | table | json | yaml | Output format. |
tebib volume create
Create an empty volume.
tebib volume create [OPTIONS] NAME
| Argument | Description |
|---|
NAME required | Volume name, unique in the project. |
| Option | Value | Description |
|---|
--size required | int range | Size in GiB. |
--vm | str | Attach it to this VM. |
--delete-on-termination, --keep-on-termination | flag | Delete it when the VM it's attached to is deleted. |
--description | str | Description. |
--tag | KEY=VALUE (repeatable) | Tag as KEY=VALUE; repeat for more tags. |
--project, -p | str | Project ID (default: from the profile). |
--wait | flag | Wait until the resource is ready (or gone, for deletes). |
--timeout | float range | Seconds to wait with --wait. Default: 600. |
--output, -o | table | json | yaml | Output format. |
tebib volume delete
Delete a volume.
tebib volume delete [OPTIONS] ID
| Argument | Description |
|---|
ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--yes, -y | flag | Don't ask for confirmation. |
--wait | flag | Wait until the resource is ready (or gone, for deletes). |
--timeout | float range | Seconds to wait with --wait. Default: 600. |
--project, -p | str | Project ID (default: from the profile). |
tebib volume detach
Detach a volume from its VM (unmount it in the guest first).
tebib volume detach [OPTIONS] VOLUME_ID
| Argument | Description |
|---|
VOLUME_ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--project, -p | str | Project ID (default: from the profile). |
--wait | flag | Wait until the resource is ready (or gone, for deletes). |
--timeout | float range | Seconds to wait with --wait. Default: 600. |
--output, -o | table | json | yaml | Output format. |
tebib volume list
List the project's volumes.
tebib volume list [OPTIONS]
| Option | Value | Description |
|---|
--project, -p | str | Project ID (default: from the profile). |
--limit | int range | Show at most this many items. |
--output, -o | table | json | yaml | Output format. |
tebib volume resize
Grow a volume (then grow the filesystem in the guest).
tebib volume resize [OPTIONS] VOLUME_ID
| Argument | Description |
|---|
VOLUME_ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--size required | int range | New size in GiB (grow only). |
--project, -p | str | Project ID (default: from the profile). |
--wait | flag | Wait until the resource is ready (or gone, for deletes). |
--timeout | float range | Seconds to wait with --wait. Default: 600. |
--output, -o | table | json | yaml | Output format. |
tebib volume show
Show one volume.
tebib volume show [OPTIONS] ID
| Argument | Description |
|---|
ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--project, -p | str | Project ID (default: from the profile). |
--output, -o | table | json | yaml | Output format. |
tebib volume update
Change a volume's description, tags or delete-on-termination.
tebib volume update [OPTIONS] VOLUME_ID
| Argument | Description |
|---|
VOLUME_ID required | Volume ID (vol-...). |
| Option | Value | Description |
|---|
--description | str | New description. |
--tag | KEY=VALUE (repeatable) | Replace ALL tags (KEY=VALUE, repeatable). |
--delete-on-termination, --keep-on-termination | flag | Delete with its VM? |
--project, -p | str | Project ID (default: from the profile). |
--output, -o | table | json | yaml | Output format. |