How to find information on vm disks located in local-lvm

iwannabfishn

New Member
Aug 13, 2024
21
1
3
I recently lost all the conf files on my host servers. I was able to find out the information on the running VMs using the "ps -aux | grep kvm" command, but this isn't listing anything that wasn't running at the time. I am using Veeam to backup my virtual machines and the veeam worker vms aren't running. I believe the were stored in the local-lvm storage, but how to I find out information on the vm disks in this location. I need output similar to the command above. I was able to use that information to rebuild my missing conf files. I need to do that for the VMs that weren't running at the time. Any help would be appreciated. Thanks!
 
I'd start with lvs -a. You can't really tell much more than the size and ID from that though.
 
Thanks for the reply. It was the conf for some veeam worker vms that I was looking for. I ended up just deleting them and recreating them. Faster than troubleshooting. Turns out the disks were not on local storage. The were on NFS storage, but I didn't see an information for them in "ps -aux |grep kvm". Maybe because they weren't running? I am not sure if this command shows all the KVM virtual machines or just the running ones.