So let’s say you’re running Proxmox and you have a bunch of containers and VMs, and you’ve been moving them around. Or you’ve been making/deleting a bunch of VMs so you end up reusing guest ID numbers. You might end up with orphaned disks in your LVM-Thin volumes, or elsewhere, that aren’t attached to anything but you can’t delete them because a container with that number already exists.
So what are your power commands?
qm rescan
pct rescan
Both of these will force a rescan of all volumes and attach them to any containers or VMs that exist. Then you can delete them via the GUI. It’ll also help you identify what they are, so that if it’s something you actually want you can recover it instead of force deleting something via CLI you actually wanted to keep.