How To Reset Volume States

Problem

Private Cloud Director block storage volumes can be in the following states: "reserved", “error”, “creating”, “deleting”, “in-use”, “attaching”, “detaching”, “error_deleting” or “maintenance”.

Sometimes the volumes might be in a state that does not reflect their present condition. For example, a failed live migration might set the volume state to "error". However, it is possible to access and edit the data inside the volume. In such a case, it becomes necessary to reset the volume state to reflect its actual condition.

This option updates the volume's state in the database without verifying its actual condition. Use with caution.

Environment

  • Private Cloud Director Virtualization - v2025.4 and Higher
  • Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher
  • Self-Hosted Private Cloud Director Kubernetes - v2025.4 and Higher

Procedure

  1. These steps can only be run as admin. Source the RC file with the admin credentials.
Command
Copy
  1. Get the UUID of the volume whose status that needs to be changed.
Command
Copy
  1. Change the status using the following command.
Command
Copy

Validation

Verify if the volume state has changed.

Command
Copy

Additional Information

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard