让自己陷入一个棘手的情况。 在/ mnt / 1上安装aufs
aufs on /mnt/1 type aufs (rw,relatime,si=daab1cec23213eea)
我不能卸下这个东西:
sudo umount -f /mnt/1 umount2: Stale NFS file handle umount: /mnt/1: Stale NFS file handle umount2: Stale NFS file handle umount2: Stale NFS file handle
我如何卸载挂载点? (无需重新启动系统)
(注意:aufs位于openafs系统之上,而不是NFS。)
来自man 8 umount
:
-f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.) -l Lazy unmount. Detach the filesystem from the filesystem hierar- chy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
如果sudo umount -f /mnt/1
不起作用,可以尝试sudo umount -l /mnt/1
。