---
title: "Drives and the default drive"
description: "Create drives, choose each workspace's default drive, and move or delete drives."
canonical_url: "https://docs.flashdrive.space/platform/drives-and-defaults"
---
# Drives and the default drive

> Create drives, choose each workspace's default drive, and move or delete drives.

A drive holds files of any type in folders. Each drive belongs to one workspace, and everyone with access to that workspace, and every agent or key you allow, works in the same files.

## Create a drive

Give each drive a short, descriptive name of 1 to 120 characters.

<table>
<thead>
  <tr>
    <th>
      Where
    </th>
    
    <th>
      How
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Console
    </td>
    
    <td>
      Open <strong>
        Drives
      </strong>
      
      , select <strong>
        New drive
      </strong>
      
       and enter a name.
    </td>
  </tr>
  
  <tr>
    <td>
      CLI
    </td>
    
    <td>
      <code>
        flashdrive drive create "Research" --wait
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Python SDK
    </td>
    
    <td>
      <code>
        client.drives.create("Research")
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      MCP
    </td>
    
    <td>
      <code>
        create_drive
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      API
    </td>
    
    <td>
      <code>
        POST /v1/workspaces/{workspace_id}/drives
      </code>
      
       with <code>
        name
      </code>
    </td>
  </tr>
</tbody>
</table>

A new drive takes a moment to prepare. Its `status` is `provisioning` until it is `ready`; `flashdrive drive create --wait` returns once it is ready, and `flashdrive drive get DRIVE` shows the current status. If a drive does not become `ready`, [contact support](mailto:support@evokoa.com) with the drive ID, which appears in the Console URL after `/drives/`.

To rename a drive, use `flashdrive drive rename DRIVE "New name"`, the `rename_drive` MCP tool, or `PATCH /v1/drives/{drive_id}` with `name`.

## How much a drive holds

A drive holds up to 500,000 files, and each file can be up to 10,000,000,000 bytes (10 decimal GB). Run `flashdrive limits`, or call `GET /v1/limits`, for the limits in force, including the drive's storage limit. A change that would go past a drive limit answers `drive_limit_exceeded`; use another drive or remove files, then try again. See [limits](https://docs.flashdrive.space/reference/limits).

## The default drive

Every workspace has a default drive. The **Default** workspace starts with **Default drive**, the team workspace with **Team drive**, and every other workspace with a drive named after it.

The default drive is the one used when a request does not name a drive. To choose another:

<table>
<thead>
  <tr>
    <th>
      Where
    </th>
    
    <th>
      How
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Console
    </td>
    
    <td>
      Select <strong>
        Make default
      </strong>
      
       next to a drive in <strong>
        Drives
      </strong>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      CLI
    </td>
    
    <td>
      <code>
        flashdrive workspace default-drive set DRIVE
      </code>
      
       (and <code>
        flashdrive workspace default-drive get
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      Python SDK
    </td>
    
    <td>
      <code>
        client.drives.set_default(drive_id)
      </code>
      
       (and <code>
        client.drives.get_default()
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      API
    </td>
    
    <td>
      <code>
        PUT /v1/workspaces/{workspace_id}/default-drive
      </code>
    </td>
  </tr>
</tbody>
</table>

Changing the default affects later requests from everyone in the workspace that rely on it. Tell your team before you change it.

## How the SDK and CLI choose a drive

The Python SDK chooses a drive in this order:

1. The `drive_id` on the call.
2. The `drive_id` set on the client.
3. The workspace's default drive.

The SDK uses the same drive throughout an operation, including its retries. The CLI uses the drive you name with `--drive` or chose with `flashdrive drive use`, and otherwise the workspace's default drive. Name the drive explicitly in scripts so a change of default never redirects them.

## Move a drive to another workspace

An admin of both workspaces can move a drive to another workspace in the same organization with `POST /v1/drives/{drive_id}/move` and the target `workspace_id`. Moving changes who has access; it does not copy files. Only a signed-in person can move a drive: API keys and agents cannot.

- Members, API keys and agent connections of the old workspace lose the drive, and the new workspace's gain it.
- Sandbox tokens for the drive stop working.
- A workspace's default drive cannot move until you choose another default.

## Delete a drive

Delete a drive with `flashdrive drive delete DRIVE --yes`, the `delete_drive` MCP tool, or `DELETE /v1/drives/{drive_id}`.

- The default drive cannot be deleted (`default_drive_in_use`). Choose another default first.
- A drive that still holds files or folders can answer `drive_not_empty`; delete its contents first.
- A drive with uploads or processing still running can answer `drive_busy`; try again when they finish.

See [SDK drive management](https://docs.flashdrive.space/sdk/drives-and-defaults) for examples, and [sandboxes](https://docs.flashdrive.space/cli/sandboxes) to give a cloud sandbox one drive.


## Sitemap

See the full [sitemap](https://docs.flashdrive.space/sitemap.md) for all pages.
