After deleting vm, the storage pool size does not change or space is not reclaimed instantly.

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Virtualization 3.x

Issue

  • After deleting vm or its disk, the storage pool size dose not increase instantly. But when noticed it gets increased after some time.
    • Why does it takes time?
    • How to determine the time taken?

Resolution

  • Normally when the vm or disk of the vm is deleted the space should be reclaimed immediately.

  • But if wipe-after-delete option is used on the disk then it takes time to reclaim that space.

    • Progress of deletion of vm can be observed from the manager bottom pane --> Tasks tab. Once the task is finished, the space should be reclaimed in few moments.
  • Time taken by wipe-after-delete task depends on the size of volume and available disk write speed.

Root Cause

  • When Wipe-After-Delete option is selected on disk, there will be a task running in background to clean up that space. It will wipe the entire disk contents, it will '0' out the contents instead of just removing file references from the file system.
    Note: Wipe-after-delete enhances security for deletion of sensitive material when the disk is deleted.

Diagnostic Steps

  • To check whether the disk is having wipe-after-delete option follow the below steps:
Go to RHEV-Manager Admin portal --> Virtual Machines tab --> Select the vm --> Disks  tab --> select the disk --> edit and check for "wipe-after-delete" is selected or not.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.