I'm trying to remove an LVM logical volume, which I believe is not currently in use.However, when I attempted to remove it, I get an error:# lvremove /dev/vg_service1/lv_home   Logical volume vg_service1/lv_home is used by another device.It's definitely not mounted, as this returns nothing:# mount | grep lv_homeIs there any way to tell what is using this logical volume?
Which device is using this logical volume?
rhel;lvm
It turned out that the logical volume was itself part of a volume group. It didn't show up in /proc/mounts or in the output of lsof. The only way I was able to discover this was through the pvdisplay command, where it appeared as a physical volume:# pvdisplay ...  --- Physical volume ---  PV Name               /dev/vg_service1/lv_home  VG Name               nova-volumes  PV Size               179.91 GiB / not usable 4.00 MiB  ...