# How To Delete a Volume Stuck in "Reserved" State

## Problem

Users may encounter situations where a block storage volume cannot be deleted because it is stuck in the `reserved` state.

This condition usually occurs when a volume operation (such as attach, detach, or delete) was initiated but did not complete successfully. As a result, the volume remains marked as reserved in the database even though it is not actively attached to any instance.

When a volume is in this state, attempts to delete it will fail until the state is manually reset.

Example output showing a volume stuck in `reserved` state:

The volume service list has multiple volumes in down state:

<pre class="language-bash" data-title="Example"><code class="lang-bash">$ openstack volume show &#x3C;VOLUME_UUID>
+--------------------------------+-------------------------------+
| Field                          | Value                         |
+--------------------------------+-------------------------------+
| id                             | [VOLUME_UUID]                 |
<strong>| status                         | reserved                      |
</strong>| size                           | [VOLUME_SIZE]                 |
| attachments                    | []                            |
| multiattach                    | False                         |
| name                           | [VOLUME_NAME]                 |
| bootable                       | false                         |
| created_at                     | [CREATION_TIMESTAMP           |
+--------------------------------+-------------------------------+
</code></pre>

## Environment

* Private Cloud Director Virtualization - v2025.10 and Higher
* Self-Hosted Private Cloud Director Virtualization - v2025.10 and Higher

## Procedure

These steps can only be run as admin. Source the RC file with the admin credentials.

```bash
$ source <RC_FILE>
```

1. Identify the Volume - Retrieve the volume UUID.

```bash
$ openstack volume list
```

2. Reset the Volume state to Available:

```bash
$ openstack volume set --state available <VOLUME_UUID>
```

3. Delete the Volume:

```bash
$ openstack volume delete <VOLUME_UUID>
```

## Validation

Verify that the volume has been successfully deleted.

```bash
$ openstack volume show <VOLUME_UUID>
```

If the volume is deleted successfully, the command should return a message similar to:

```bash
No volume with a name or ID of <VOLUME_UUID> exists.
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platform9.com/kb/pcd/storage/how-to-delete-stale-volume-entries-from-using-openstack-in-pcd-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
