Skip to main content
vers resize grows a VM’s root disk. The new size is specified in MiB and must be strictly greater than the current size.
Resize is one-way. You can only grow a disk, never shrink it. Plan conservatively.

Synopsis

Options

Examples

Grow HEAD to 4 GiB

Grow a specific VM

Script-friendly

How it works

1

Server-side resize

Vers extends the backing block device to the new size.
2

Filesystem growth

The guest filesystem is resized online — no reboot required.
3

Verify

Inside the VM, df -h / (or lsblk) shows the new capacity.

Common reasons to resize

  • A build or install is about to write more than the default fs_size_vm_mib.
  • You branched a VM that filled its disk and need headroom on the branch.
  • You’re materializing a large dataset (database dump, container image layers) for testing.

Common Patterns

Grow before a big install

Check then grow

Verify inside the VM

See also

  • vers run — set initial --fs-size-vm when creating a VM
  • vers info — inspect current resources including disk size
  • vers branch — branches inherit the parent’s disk size