筆者的一台測試機上mount了一個NFS的export,后來這台NFS Server被重裝了,這台測試機上mount的export就沒法umount掉了。
查了資料,說“fuser –cu”命令可以查看還在使用這個mount的進程ID。結果這個命令還是不行。
最后還是通過命令“umount –l /mnt/f6002n2” 解決了問題。
關於這個-l選項,說明如下:
-l, --lazy
Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or
later.)
參考資料
===========
強制Umount NFS終極手法(轉載)