orphan vm image

ehabh

Active Member
Dec 20, 2012
17
0
41
I have an image that does not appear to be associated with a vm. Is there a way to make sure that the image is not really associated with anything important other than going into each and every vm and checking if that image belongs to it?
 
I have an image that does not appear to be associated with a vm. Is there a way to make sure that the image is not really associated with anything important other than going into each and every vm and checking if that image belongs to it?
Hi,
what kind of image (on what storage) is it?

You can look with fuse or for lvm-tags and of course you can use grep to search in all VM-configs... this is the most secure way (if you manual edit config-files and add/change vm-images inside there).

Udo
 
Hi,
what kind of image (on what storage) is it?

You can look with fuse or for lvm-tags and of course you can use grep to search in all VM-configs... this is the most secure way (if you manual edit config-files and add/change vm-images inside there).

Udo

LVM image for a kvm vm.

Where is the vh-config for kvm?
 
Thank you yes now I see that this image is not actually used. I double checked and there was no error when I destroyed the VM that previously held this. Should manually delete if from lvm? Since I can not delete it from proxmox?

Hi,
like this:
Code:
grep "\-disk" /etc/pve/nodes/*/qemu-server/*.conf
Udo