long time ago I mounted 3 lvm with same size on a virtual machine. now I want to umount one of them but I can't remember which lvm is mounded on which directory. How can find mount point of lvm in virtual machine?
As Mircea Vutcovici said with
virsh dumpxml <VM_name> you can see lvm name and its target in virtual machine. you sould look for disk section. Before knowing this solution I deleted wrong lvm. I hope others don't repeat my mistake.
In below you can see disk section in dumpxml for one of my vms:
<disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/vg/db_foo'/> <backingStore/> <target dev='vda' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk>