What to do with found vm disk?


New Member
Oct 8, 2023

The local-lvm of one of my servers contains a vm-154-disk-0. I have no idea what this was, when it was used, or what might be on it. The VM it was used in no longer exists. How can I "pull" the disk to see what's on it, or verify that its not referenced on some other vm?

You can "grep -R vm-154-disk-0 /etc/pve" to see if its referenced anywhere

To be able to move the disk elsewhere via PVE interface:
- create empty vm 154: qm create 154
- scan in disk to bring it in: qm disk rescan 154
- move disk to another vm: qm disk move 154 [disk] --target-vmid [id] (see "man qm" for [disk] format)
- confirm the disk was moved and renamed, now you can now delete temporary vm: qm destroy 154

Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
You can also mount the LV locally using the "mount" command after verifying that they are not already mounted by an VM.
to add to what the others said, using fdisk -l /dev/mapper/pve-vm--154--disk--0 and wipefs /dev/mapper/pve-vm--154--disk--0 (won't actually wipe anything unless additional options are specified; you can also use the --no-act option if you like) is often a good first step to see what partitions or file system is on the volume.


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!