Procedure to safely unmount NFS storage in RHUI.
Issue
Attempts to unmount the NFS storage (/var/lib/rhui/remote_share) on RHUA or CDS nodes fail with a "device is busy" error, as shown below:
# umount -f /var/lib/rhui/remote_share
umount.nfs4: /var/lib/rhui/remote_share: device is busy
# fuser -muv /var/lib/rhui/remote_share
USER PID ACCESS COMMAND
/var/lib/rhui/remote_share:
root kernel mount (root)/var/lib/rhui/remote_share
pulp 1251 ..c.. (pulp)pulpcore-worker
pulp 1253 ..c.. (pulp)pulpcore-worker
pulp 1255 ..c.. (pulp)pulpcore-worker
pulp 1261 ..c.. (pulp)pulpcore-worker
pulp 1262 ..c.. (pulp)pulpcore-worker
pulp 1263 ..c.. (pulp)pulpcore-worker
pulp 1264 ..c.. (pulp)pulpcore-worker
pulp 1267 ..c.. (pulp)pulpcore-worker
pulp 2859 ..c.. (pulp)gunicorn
pulp 3330 ..c.. (pulp)gunicorn
Environment
Red Hat Update Infrastructure 4
Red Hat Update Infrastructure 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.