How can I know which process maintain a Logical Volume open if I don't have it mounted?
Issue
You want to delete a logical volume but, when running the command "lvremove", you get the following output:
# lvremove /dev/datosvg/mngfileslv
Can't remove open logical volume "mngfileslv"
#
The LV is unmounted and when you check the LV you can see that it is marked as "open"
# lvs /dev/datosvg/mngfileslv
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
mngfileslv datosvg -wi-ao 100.50G
#
Environment
Red Hat Enterprise Linux 5 & 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.