Skip to content

bhatti volume list

List your persistent volumes.

Synopsis

bhatti volume list

Description

Lists volumes owned by the authenticated user. Each row includes ID, name, size, and current status.

The default output is compact. Use --json to get the full record including current attachments (which sandbox has it mounted, where, and read-only flag).

Examples

bhatti volume list
ID                   NAME                 SIZE       STATUS
vol_a1b2c3d4         workspace            5120MB     ready
vol_e5f6g7h8         data                 20480MB    ready
# Find which sandbox has a volume mounted
bhatti volume list --json | jq '.[] | {name, attachments}'
{
  "name": "workspace",
  "attachments": [
    {"sandbox_id": "abc123", "mount": "/workspace", "read_only": false}
  ]
}

Options

This command takes only global flags. See Global flags for --url, --token, --json, --timing, --data-dir.

See also