Unable to Remove LVM Snapshot - “Logical volume XYZ contains a filesystem in use."
Attempting to remove an LVM snapshot on a linux instance fails with the following error:
# lvremove /dev/VGExaDb/LVDbVar1Snap
Logical volume VGExaDb/LVDbVar1Snap contains a filesystem in use.
This error occurs if there are any open files on the LVM snapshot volume, or if the LVM snapshot is being used by any running processes such as backup processes or application processes. Any open files will need to be closed and any running processes using the LVM snapshot will either need to be completed or killed (if it is safe to do so).
1). First try to un-mount the LVM snapshot from the system (in case it has been mounted):
Tagged:
0