> Documentation index for agents: /hcp/3.3/en/llms.txt

# Pool space has run out: writes in VMs fail

When a pool runs out of space, writes fail for all virtual machines (VMs) of the pool at once. This condition does not resolve automatically: delete what you do not need or move the disks of some VMs to another pool. Keep pool usage below 80%: above that, ZFS writes more slowly, and close to 100% writes fail.

## What you see

- The guest OSes of the pool VMs report disk write errors, and file systems switch to read-only mode.
- On the pool page, in the **Properties** section, **Free** is close to zero, and **Used** almost equals **Capacity**.
- The pool **Health** is **Normal**.
- Operations with the pool VMs may fail with the `No free disk space` error.

## What to do

1. **Check pool usage on the node.** Run this on the current node of the pool over SSH:

   ```sh
   zpool list <pool name>
   grep 'errno: 28' /var/log/messages | tail -2
   ```

   Normally, `CAP` is below 80%. `CAP` at 95–100% and recent lines with `Can't write, errno: 28` mean that writes fail right now: notify vStack support at the same time as you take the next steps.

2. **Delete the snapshots you do not need** for the VMs of the pool — [Free space in the pool decreases](/hcp/3.3/en/troubleshooting/pool-free-space-decreasing/index.md).

3. **Delete VMs that are definitely not needed** — [Delete a VM](/hcp/3.3/en/vms/delete-vm/index.md). Powered-off VMs (the **Offline** status in **All Virtual Machines**) occupy space with their disks, and suspended VMs also with a volume the size of their memory. Deletion is irreversible: the VM owner decides.

4. **Move the disks of some VMs** to a pool where usage stays well below 80% after the move. Pool usage is shown in the **Pools** table and on the pool page — [View pool state and capacity](/hcp/3.3/en/storage/view-pools/index.md). How to move the disks — [Move VM disks to another pool](/hcp/3.3/en/vms/move-vm-disks-to-pool/index.md). The move starts with a snapshot on the source pool: if writes already fail, first free up space with steps 2–3.

5. **No free pools** — contact vStack support to plan a storage expansion.

## Check the result

- On the pool node, `CAP` is well below 80%, and there are no new lines with `errno: 28`.
- Writes work in the guest OSes. Restore the file systems that switched to read-only mode with the guest OS tools.

## What not to do

- **Do not delete datasets, volumes and snapshots with ZFS commands on the node.** A running VM may be behind a volume, deletion is irreversible, and VMs without data remain in the web interface.

## If this did not help

Write down the pool name, the output of `zpool list <pool name>` and `zfs list -o name,used,avail -d 1 <pool name>`, and the time of the first and the last line with `errno: 28`. Collect the rest from the list in [Collect data for support](/hcp/3.3/en/troubleshooting/collect-for-support/index.md) and contact vStack technical support.
