Skip to main content
list disk space for rent as a volume on a machine
This is a host command, used for managing machines you are renting out on Vast.ai.

Usage

vastai list volume ID [options]

Arguments

id
integer
required
id of machine to list

Options

-p
number
default:"0.1"
storage price in /GB/month,default:/GB/month, default: %(default).2f/GB/month (alias: --price_disk)
-e
string
contract offer expiration - the available until date (optional, in unix float timestamp or MM/DD/YYYY format), default 3 months (alias: --end_date)
-s
string
default:"15"
size of disk space allocated to offer in GB, default %(default)s GB (alias: --size)

Description

Allocates a section of disk on a machine to be used for volumes.

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)