報錯現象;進程
取消使用umount /u01/mount/會出現di
umount2: Device or resource busy文件
umount: /u01/mount: device is busy.vi
(In some cases useful info about processes that useprocess
the device is found by lsof(8) or fuser(1))sse
解決辦法:cas
這時fuser命令就有派上用場了:ab
fuser -km /u01/mount/
/u01/mount: 29850c
fuser 命令顯示訪問某個文件的進程的PID. 。-k 是kill 訪問這個文件的進程。 沒有進程訪問,就能夠成功umount了。