Out Plane
volume

volume get

Show one disk.

read onlyrepeatable

One disk: its size, its state, and where it is mounted if it is mounted at all.

Two disks sharing a name are reported as ambiguous rather than resolved to one of them.

Usage

outplane volume get <VOLUME>

Arguments

ArgumentTypeDescription
VOLUMEstringVolume name or id. Required.

Output

FieldTypeDescription
idstring
namestring
sizeGbint10 to 50, and fixed once created.
statusstringOne of attached, detached.
appstring | nullThe application it is mounted on.
appIdstring | null
mountPathstring | nullWhere it appears inside the container.
accessModestringAlways ReadWriteOnce: one instance mounts it at a time.
createdAtstring | nullRFC 3339, UTC.

Examples

Show a disk

outplane volume get data

Read where it is mounted, in a script

outplane volume get data --json --fields app,mountPath,sizeGb
{
  "app": "checkout",
  "mountPath": "/data",
  "sizeGb": 10
}

Check whether anything uses it before deleting it

outplane volume get data -o text

What to Know

  • There is no per-volume endpoint that takes a name, so this lists the team's disks and matches. The cost is the same as volume list.
  • Matching is exact, on the id first and then the name. Two disks with the same name are reported as ambiguous rather than resolved to one of them.

Errors

Beyond 0 for success, this command exits with:

ExitKindMeaning
2usageInvalid arguments, unknown flag, or client-side validation failure.
3authNot authenticated, token revoked or expired, or forbidden for this team.
5not_foundThe named resource does not exist, or is not visible to this credential.
8upstreamThe Out Plane API returned a server error.

The code on the error object is one of volume.not_found, volume.ambiguous, usage.missing_argument. Branch on that, or on the exit status. The message is prose and changes.

On this page