卸載NFS,結果出現無法卸載的情況
umount /mnt/
umount: /mnt: device is busy
使用umount -f,問題依舊
umount -f /mnt/
umount2: Device or resource busy
umount: /mnt: device is busy
umount2: Device or resource busy
umount: /mnt: device is busy
使用fuser命令,先確認有那些進程需要殺掉
fuser -cu /mnt
/mnt: 15060c(root)
其次向進程發出SIGKILL信號
fuser -ck /mnt
/mnt: 15060c
fuser -c /mnt
[1]+ Killed dd if=1g of=/dev/null bs=1M (wd: /mnt)
(wd now: /)