[SOLVED] Cancelled Disk Move - Orphaned Disk

trmg

Member
Aug 24, 2021
15
2
8
Hello,

I started a disk move from a ZFS storage pool to a local thin LVM storage pool. I thought there was enough disk space, but I was mistaken. So, before the local LVM storage became full, I cancelled the move. The task seemed to cancel fine, so I went ahead and did the move again to a different storage pool (NFS share on a box with plenty of space). This move appears to have been successful.

However, on the local thin LVM storage pool, the disk still seems to be there. If I try to delete it via the web UI, it won't let me because the VM still exists. It instructs me to delete the disk from the VM's hardware pane, but the orphaned disk isn't listed there.

What would be the best way to safely delete the orphaned disk?

Thanks!
 
Nevermind! Found the answer to my question.

qm rescan --vmid 104

Then I can delete the unused disk from the VM's hardware pane.
 
  • Like
Reactions: jazini110

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!