Remove Proxmox VM Disk

Support Wissensdatenbank

Du bist hier:
Print

Proxmox displays the following error message in WebGui:

lvremove ‘pve/vm-12345-disk-0’ error: Logical volume pve/vm-12345-disk-0 in use. (500)

The hard disk cannot be removed from Proxmox.

 

  1. Make sure that the DISK is really not used by the machine.
  2. lvremove -f /dev/pve/vm-12345-disk-0 (-f stands for Force)

 

If it didn’t work, we kill the processes accessing it:

  1. fuser -kuc pve/vm-12345-disk-0
    /dev/dm-11: 9632(root)
  2. kill -9 9632
  3. lvremove -f /dev/pve/vm-177-disk-0
  4. qm rescan

With qm rescan, we scan all available virtual hard disks again for security reasons

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post