> ## Documentation Index
> Fetch the complete documentation index at: https://blaxel-pm-2441-firewall.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# bl drive

## bl drive

Manage drives and drive mounts on sandboxes

### Synopsis

Manage drives and drive mounts on sandboxes.

```
Drive CRUD:
  bl drive list                       List all drives in the workspace
  bl drive get <name>                 Get details of a specific drive
  bl drive create                     Create a new drive
  bl drive delete <name>              Delete a drive

Sandbox mount operations:
  bl drive mount --sandbox <s> ...    Mount a drive to a running sandbox
  bl drive unmount --sandbox <s> ...  Unmount a drive from a running sandbox
  bl drive mounts --sandbox <s>       List drives mounted in a running sandbox
```

### Examples

```
  # List all drives
  bl drive list

  # Get details of a drive
  bl drive get my-drive

  # Create a new drive
  bl drive create --name my-drive --region us-pdx-1

  # Delete a drive
  bl drive delete my-drive

  # Mount a drive to a sandbox
  bl drive mount --sandbox my-sandbox --drive my-drive --mount-path /mnt/data

  # Unmount a drive from a sandbox
  bl drive unmount --sandbox my-sandbox --mount-path /mnt/data

  # List mounted drives in a sandbox
  bl drive mounts --sandbox my-sandbox
```

### Options

```
  -h, --help   help for drive
```

### Options inherited from parent commands

```
  -o, --output string          Output format. One of: pretty,yaml,json,table
      --skip-version-warning   Skip version warning
  -u, --utc                    Enable UTC timezone
  -v, --verbose                Enable verbose output
  -w, --workspace string       Specify the workspace name
```

### SEE ALSO

* [bl](/cli-reference/commands/bl)	 - Blaxel CLI - manage and deploy AI agents, sandboxes, and resources
* [bl drive create](/cli-reference/commands/bl_drive_create)	 - Create a new drive
* [bl drive delete](/cli-reference/commands/bl_drive_delete)	 - Delete a drive
* [bl drive get](/cli-reference/commands/bl_drive_get)	 - Get details of a specific drive
* [bl drive list](/cli-reference/commands/bl_drive_list)	 - List all drives in the workspace
* [bl drive mount](/cli-reference/commands/bl_drive_mount)	 - Mount a drive to a sandbox
* [bl drive mounts](/cli-reference/commands/bl_drive_mounts)	 - List mounted drives in a sandbox
* [bl drive unmount](/cli-reference/commands/bl_drive_unmount)	 - Unmount a drive from a sandbox
