When i try to move a folder, i get following error
[root@server78 ~]# mv /usr/share/cagefs-skeleton /usr/share/cagefs-skeleton.bak mv: cannot move ‘/usr/share/cagefs-skeleton’ to ‘/usr/share/cagefs-skeleton.bak’: Device or resource busy [root@server78 ~]#
First see if this folder is mounted with command
cat /proc/mounts | grep cagefs-skeleton
If it is mounted, you need to unmount it first before renaming.
To see which program access the folder, use lsof command
lsof +D /usr/share/cagefs-skeleton