问题:
需要用到iso镜像文件里的文件,在系统里挂载了iSO文件
mount -o loop /pxe/iso/CentOS-7-x86_64-Minimal-1810.iso /pxe/centos7.6
卸载文件时出现如下错误:
[root@localhost ~]# umount /pxe/centos7.6
umount: /pxe/centos7.6: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
解决方案:
因为系统启动了NFS共享,/pxe/centos7.6为共享目录,必须停止共享它们(最好通过停止NFS服务来完成 )。NFS服务器在lsof或fuser中没有检查到。
systemctl stop nfs