Skip to content

tebib volume

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
ArgumentDescription
VOLUME_ID requiredVolume ID (vol-...).
OptionValueDescription
--vm requiredstrVM ID.
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--output, -otable | json | yamlOutput format.

tebib volume create

Create an empty volume.

tebib volume create [OPTIONS] NAME
ArgumentDescription
NAME requiredVolume name, unique in the project.
OptionValueDescription
--size requiredint rangeSize in GiB.
--vmstrAttach it to this VM.
--delete-on-termination, --keep-on-terminationflagDelete it when the VM it's attached to is deleted.
--descriptionstrDescription.
--tagKEY=VALUE (repeatable)Tag as KEY=VALUE; repeat for more tags.
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--output, -otable | json | yamlOutput format.

tebib volume delete

Delete a volume.

tebib volume delete [OPTIONS] ID
ArgumentDescription
ID requiredVolume ID (vol-...).
OptionValueDescription
--yes, -yflagDon't ask for confirmation.
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--project, -pstrProject 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
ArgumentDescription
VOLUME_ID requiredVolume ID (vol-...).
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--output, -otable | json | yamlOutput format.

tebib volume list

List the project's volumes.

tebib volume list [OPTIONS]
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.

tebib volume resize

Grow a volume (then grow the filesystem in the guest).

tebib volume resize [OPTIONS] VOLUME_ID
ArgumentDescription
VOLUME_ID requiredVolume ID (vol-...).
OptionValueDescription
--size requiredint rangeNew size in GiB (grow only).
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--output, -otable | json | yamlOutput format.

tebib volume show

Show one volume.

tebib volume show [OPTIONS] ID
ArgumentDescription
ID requiredVolume ID (vol-...).
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib volume update

Change a volume's description, tags or delete-on-termination.

tebib volume update [OPTIONS] VOLUME_ID
ArgumentDescription
VOLUME_ID requiredVolume ID (vol-...).
OptionValueDescription
--descriptionstrNew description.
--tagKEY=VALUE (repeatable)Replace ALL tags (KEY=VALUE, repeatable).
--delete-on-termination, --keep-on-terminationflagDelete with its VM?
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.