> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/solution/instance-resize-migration-failure-due-to-low-disk-space.md).

# Instance Resize/Migration Failure due to low Disk Space

## Problem

The resize or migration of an instance fails with the following error observed in the ostackhost log located at /var/log/pf9/ostackhost.log

{% tabs %}
{% tab title="None" %}

```none
TRACE nova.compute.manager [instance: UUID] Command: scp -r /opt/pf9/data/instances/e716c3f6-5433-45af-bed6-a688ad559268_resize/disk 10.32.23.242:/opt/pf9/data/instances/e716c3f6-5433-45af-bed6-a688ad559268/diskTRACE nova.compute.manager [instance: UUID] Exit code: 1TRACE nova.compute.manager [instance: UUID] Stdout: u''TRACE nova.compute.manager [instance: UUID] Stderr: u'scp: /opt/pf9/data/instances/e716c3f6-5433-45af-bed6-a688ad559268/disk: No space left on device<br>'
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed OpenStack - All versions
* Nova
* NFS

## Cause

The resize or cold migration failure occurs due to low disk space on the mount or due to the *instances* mount missing on the host.

## Resolution

1. Check the details for the *instances* mount on the source and destination compute node.

{% tabs %}
{% tab title="None" %}

```none
$ df -h | grep instances/dev/mapper/centos-instances 558G 556G 2G 99% /opt/pf9/data/instances
```

{% endtab %}
{% endtabs %}

2. If the space on the NFS mount is low, add more disk resources to enable resize/migration option.
3. If the *instances* mount cannot be found after running the command from Step 1, you will need to mount the partition using the following command.

{% tabs %}
{% tab title="None" %}

```none
$ sudo mount /dev/mapper/centos-instances /opt/pf9/data/instance
```

{% endtab %}
{% endtabs %}

**Note**: To persist this change, an entry needs to be added to */etc/fstab* file.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/pmo/solution/instance-resize-migration-failure-due-to-low-disk-space.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
