Hi Fariborz,

Fetch the UUIDs of unused volumes with state 'Ready' (either using
*listVolumes* API or DB cmd: "*SELECT * FROM cloud.volumes where
instance_id is NULL and state = 'Ready'*")  and delete these volumes with
UUIDs using deleteVolume API.

Before that, make sure the global config "*storage.cleanup.enabled*" is
enabled. Also, set the global config "*storage.cleanup.delay*" to smaller
interval before deleting volumes so that all the destroyed volumes are
expunged immediately and then revert back to original after few expunge
cycles.

- Suresh

On Mon, Apr 1, 2019 at 12:51 AM Fariborz Navidan <[email protected]>
wrote:

> Hello,
>
> It looks lie that there are unused volumes files with large size let in
> primary storage. Is there any way to safely delete them and free up space?
>
> Thanks
>

Reply via email to