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