卸載NFS,結果出現無法卸載的情況
1 [root@localhost /]# umount /udisk/ 3 umount: /udisk: device is busy 5 umount: /udisk: device is busy
使用umount -f,問題依舊
1 [root@localhost /]# umount -f /udisk 2 umount2: Device or resource busy 3 umount: /udisk: device is busy 4 umount2: Device or resource busy 5 umount: /udisk: device is busy
使用fuser命令,先確認有那些進程需要殺掉
1 [root@localhost /]# fuser -cu /udisk 2 /udisk: 15060c(root)
其次向進程發出SIGKILL信號
1 [root@localhost /]# fuser -ck /udisk 2 /udisk: 15060c