[PCA 2.x / OVM] Unable to Delete a Repository due to "umount device is busy"
(Doc ID 2131367.1)
Last updated on JUNE 01, 2024
Applies to:
Private Cloud Appliance - Version 2.1.1 and laterOracle VM - Version 3.0.1 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
Deleting a repository fails on 1 server in the server pool
We see errors like the following:
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command
[storage_plugin_unmount] failed for storage server [0004fb0000090000785853c1b1db9aa6] failed with
[com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command:
dispatch to server: ovcacn13r1 failed. OVMAPI_4004E Server Failed Command: dispatch
https://?uname?:?pwd?@192.168.140.11:8899/api/3 storage_plugin_unmount oracle.ocfs2.OCFS2.OCFS2Plugin
/OVS/Repositories/0004fb0000030000a77720a05d32bff1 true, Status: OSCPlugin.OperationFailedEx:
'Unable to unmount filesystem "/OVS/Repositories/0004fb0000030000a77720a05d32bff1":
umount: /OVS/Repositories/0004fb0000030000a77720a05d32bff1: device is busy
However, lsof lists no open files on the mountpoint
losetup -a does list loop devices using the repository:
/dev/loop13: [fc0b]:1871163 (/OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisk*)
/dev/loop14: [fc0b]:1871162 (/OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisk*)
/dev/loop16: [fc0b]:1871161 (/OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisk*)
/dev/loop17: [fc0b]:1871157 (/OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisk*)
/dev/loop18: [fc0b]:1871159 (/OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisk*)
Checking which images are in use:
$ for file in `find /OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisks` ; do USED=`losetup -j $file`; if [ "$USED" != "" ^C; then echo $USED; echo $file; echo ---- ; fi ;done
find: /OVS/Repositories/0004fb0000030000a77720a05d32bff1/VirtualDisks: No such file or directory
-> there are no images in use, the directory doesn't even exist
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |