Skip to main content
[Host] list disk space for rent as a volume on machines

Usage

vastai list volume IDs [options]

Arguments

ids
integer
required
id of machines list

Options

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

Description

Allocates a section of disk on machines 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)