---
title: Persistent volumes
slug: volumes
createdAt: 2026-11-23T00:00:00.000Z
---

## What it is

A volume is a disk for your data that outlives a session. A compute container normally starts empty and loses everything when it stops. Attach a volume, and whatever you put in it (models, datasets, checkpoints, a virtual environment) is there again in your next session, on any node.

- **Kept in OctaSpace storage, not on the node.** You can stop a session on one node and attach the same volume on another one, in another country.
- **Encrypted.** Every volume has its own key, and the data is encrypted before it leaves the node. Storage holds only encrypted blocks.
- **Paid by size, not by use.** A volume costs the same whether it is attached or not, and whether it is full or empty.
- **One volume, one session.** A volume is attached to one running session at a time.
- **Where:** [console.octa.space](https://console.octa.space) → **Marketplace → Volumes**. You attach a volume on the **Configure** page when you start a compute container.

## How much it costs

A volume costs **$0.10 per GB a month** (a month is 30 days). You pay for the size you chose, from the moment you create the volume until it is deleted.

**Example.** A 50 GB volume: 50 × $0.10 = $5.00 a month, about $0.17 a day. It costs the same with 1 GB of files in it or 49 GB, and the same in a month when you never start a session.

- **You are charged every hour** from your account balance. The charge shows in **Billing → Overview** and in the **Charged** column of the volume list.
- **The volume is separate from the session.** A session with a volume costs what the node costs plus the volume, which is charged anyway.
- **Reading and writing are free.** There is no charge for traffic or operations, but there is a speed limit for very heavy writing (see [Limits](#limits)).
- **To stop paying, delete the volume.** Stopping your sessions does not stop the charge.

### When the balance runs out

1. When your balance covers less than 3 days of your volumes, you get a low-balance notification.
2. If the balance then reaches zero, **all your volumes are deleted**, but never sooner than 24 hours after that notification. This gives you time to top up.
3. You get a notification that lists the deleted volumes.

Running sessions take from the same balance, so it can run out much sooner than the volumes alone would take it. Deleted data cannot be restored. If a volume matters to you, keep the balance topped up.

## Creating a volume

1. Open **Marketplace → Volumes** and click **New volume**.
2. Give it a name, for example `models`. Names are unique within your account.
3. Choose the size, from 1 to 1024 GB. **The size cannot be changed later**, so take some room to grow.
4. Click **Create volume**.

Your balance must be above zero to create a volume. The new volume is empty and has no filesystem yet: it is formatted (ext4) the first time you attach it. That is why the space you can use is a little less than the size you bought.

## Using a volume in a session

1. Choose a node in **Marketplace → Compute** and click **Configure**.
2. In the **Volume** block, pick your volume. Volumes already in use by another session are shown greyed out.
3. Set the **Mount point**: the folder where the volume appears in the container. The default is `/data`.
4. Start the session. Attaching takes a few seconds; you see "Attach volume" in the session's progress.

Inside the container, everything you save under the mount point goes to the volume. Everything else is the container's own disk and is lost when the session ends, as usual.

**Mount point rules.** An absolute path of letters, digits, `.`, `_` and `-`, such as `/data` or `/workspace/models`. It cannot be a system folder or a folder inside one: `/proc`, `/sys`, `/dev`, `/etc`, `/bin`, `/sbin`, `/lib`, `/lib64`, `/usr`, `/boot`, `/run`, `/opt/octa`.

### When the session ends

Click **Terminate** as usual. Before the volume is released, the node finishes uploading what was still waiting to be saved. With a lot of fresh writes this takes a while, so the volume may show as **In use** for a few minutes after the session is gone. Then it is **Available** again for the next session.

If the volume cannot be attached (it is in use, deleted, or the node failed to mount it), the session does not start, and its system log says why. You are not charged for the session.

## Your data and its safety

- **Saved every few seconds.** What you write goes to a cache on the node and is uploaded to storage in the background, every 5 seconds.
- **A sudden failure loses only the last seconds.** If the node loses power or its connection, the volume keeps its state as of the last upload, like a disk after a power cut. The filesystem recovers on its own the next time you attach it. Files written in the last few seconds before the failure may be missing.
- **Stop the session properly** (Terminate) after important writes: then everything is uploaded before the volume is released.
- **Encrypted at rest.** Each volume has its own key, kept by OctaSpace, not by the node. Storage sees only encrypted blocks.
- **While attached, the volume is open on the node,** the same as the rest of your container. The node's owner has no access to your account or other volumes, and loses access to this one as soon as the session ends.
- **Deleting is final.** The volume's key is destroyed first, so whatever is left in storage can no longer be read by anyone.

## Limits

| Limit                  | Value                                                                       |
| ---------------------- | --------------------------------------------------------------------------- |
| Volumes per account    | 10, counting ones being deleted                                             |
| Size                   | 10 to 1024 GB, fixed when you create the volume                             |
| Sessions per volume    | 1 at a time                                                                 |
| Volumes per session    | 1                                                                           |
| Filesystem             | ext4, made by the platform on the first attach                              |
| Write speed over a day | At full speed up to the volume's own size, then about one volume size a day |
| Read speed over a day  | At full speed up to 4 times the volume's size, then about 10 times a day    |

**Where volumes do not work:**

- **Virtual machine apps.** A VM does not see the container's files, so a session with a volume is refused.
- **Mining.** The mining form has no volume.
- **Project and organization sessions.** A volume belongs to your own account and attaches only to your own sessions.
- **Several machines at once.** If you start on several nodes in one go, the volume goes to the first one only. The Configure page names that node.

### About the speed limits

Writes are counted in 4 MB blocks: each time a block changes and is uploaded, it counts. Copying your dataset onto a fresh volume, or rewriting all of it once, runs at full speed. After that, writing slows down to a rate of about one full volume a day (for a 100 GB volume, about 4 GB an hour) and speeds up again as the budget refills. Nothing fails: writes just wait.

Workloads that rewrite the same files over and over (frequent checkpoints, databases, logs written all the time) use the budget faster. Keep those on the container's own disk and copy only the results you want to keep to the volume.

## Managing volumes

The **Volumes** page shows every volume with its size, status, price and what it has cost so far. The cards above the list sum it up: how many volumes you have against the limit, the space they hold, what they cost per month and in total.

| Status    | Meaning                                                |
| --------- | ------------------------------------------------------ |
| Available | Not attached. Can be attached to a session or deleted  |
| In use    | Attached to a running session. Cannot be deleted       |
| Deleting  | Being erased. Disappears from the list when it is done |

- **Used** is how full the filesystem is, as the node measured it the last time the volume was attached. A volume that was never attached shows "Not measured yet". The bar turns amber at 80% and red at 95%.
- **Deleting a volume:** the **Delete** button on an available volume. A volume in use cannot be deleted: stop its session first. Charging stops when you delete it.

## Questions and troubleshooting

| Question                                                    | Answer                                                                                                                                                                   |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Am I charged while no session uses the volume?              | Yes. A volume is charged for all the time it exists. To stop paying, delete it.                                                                                          |
| Can I make a volume bigger?                                 | No, the size is fixed. Create a bigger volume and copy the data over in a session (two volumes cannot be attached at once, so copy through the container's own disk).    |
| My volume is greyed out on the Configure page               | It is in use by a running session. Stop that session; after it ends, the volume may stay in use for a few minutes while the last writes are uploaded.                    |
| The session did not start: the volume could not be attached | Open the session's system log: it says why. Most often the volume is still in use by another session, or the node failed to mount it. Try again, or choose another node. |
| I restarted or redeployed a session and the volume is gone  | Restart and Redeploy start the session without a volume for now. Start a new session from Configure and pick the volume there.                                           |
| Writing to the volume became very slow                      | You wrote more than the volume's size in a short time and hit the write limit. It refills over the day. Keep frequently rewritten files on the container's disk.         |
| The first read of a file is slow                            | The data comes from OctaSpace storage over the network, not from the node's disk. Once read, it is cached on the node for the rest of the session.                       |
| Files I saved are missing after a session crashed           | Only the last few seconds before a node failure can be lost. Terminate the session after important writes to be sure everything is uploaded.                             |
| Why does the volume have less space than I paid for?        | ext4 keeps its own tables on the disk. The difference is small.                                                                                                          |
| Can I attach a volume to a VM, or to a project's session?   | No. Volumes work in container sessions on your own account only.                                                                                                         |
| Can the node's owner read my volume?                        | In storage it is encrypted, and the key is never left on the node. While attached to a session it is open on that node, like the rest of your container's files.         |
| My balance ran out. Is my data gone?                        | Not right away: volumes are deleted only at a zero balance and no sooner than 24 hours after the low-balance notification. Top up before that and nothing is deleted.    |

