Skip to main content
Updated May 10, 2026 The raff volume command group manages block storage volumes — NVMe SSD volumes you can attach to a VM, detach, resize up, and snapshot. Every subcommand supports --output json for scripting. Aliases: raff volumes, raff vol.

Subcommand index


list

List volumes in the current project. Output columns: ID, NAME, SIZE, TYPE, STATUS, REGION, ATTACHED VM.

get

Show full details for one volume — size, type, status, region, attached VM (if any).

create

Create a volume. Required: --name, --size, --type. Pass --vm-id to attach at create time — the VM must be in the same region. --filesystem is the filesystem laid down on first attach (Linux only); defaults to ext4.

delete

Delete a volume. Pass --force to skip the confirmation prompt — required in scripts. Detach the volume first if it’s still attached.

resize

Grow a volume. The new size must be larger than the current size — volumes cannot shrink. Filesystem expansion inside the guest is not automatic; see Resize a volume for the growpart / resize2fs steps.

attach

Attach a volume to a VM. Volume and VM must be in the same region. Inside the guest, attached volumes appear as /dev/vdb, /dev/vdc, etc. (/dev/vda is the OS disk).

detach

Detach the volume from its current VM. The volume remains in the project and can be reattached later.

Snapshot commands

Capture a point-in-time snapshot of a volume.

raff_volume (Terraform)

Declarative volume management.

API Reference

The HTTP API behind the CLI.
Last modified on May 11, 2026