Manage block storage volumes from the CLI — list, get, create, delete, resize, attach, detach. NVMe SSD volumes attach to one VM at a time and live in a specific region.
Use this file to discover all available pages before exploring further.
Updated May 10, 2026The 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.
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.
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 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).