Documentation Index
Fetch the complete documentation index at: https://docs.vers.sh/llms.txt
Use this file to discover all available pages before exploring further.
vers resize grows a VM’s root disk. The new size is specified in MiB and must be strictly greater than the current size.
Synopsis
Options
| Option | Description |
|---|---|
--size | New disk size in MiB. Required. Must be greater than the current size. |
--format json | Machine-readable output |
Examples
Grow HEAD to 4 GiB
Grow a specific VM
Script-friendly
How it works
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-vmwhen creating a VM - vers info — inspect current resources including disk size
- vers branch — branches inherit the parent’s disk size