umount 报错was not found in /proc/mounts

Posted xiaodai12138

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了umount 报错was not found in /proc/mounts相关的知识,希望对你有一定的参考价值。

前段时间在整理服务器时,看到nfs都是通过公网调用的,但是实际这几台服务器都是可以内网互通的,为了更稳定的使用,打算把这些挂载都更改为通过内网ip挂载,什么都设置好之后,操作第一台服务器没有问题,umount 第二台服务器的nfs挂载项报错was not found in /proc/mounts

起初我检查/proc/mounts文件,看到只有在这个文件里的挂载项才能被umount,不在这里面的就会报这个错误,而且上图中的nfs挂载项,umount不掉的挂载容量也是显示错误的。

通过查阅网上资料后,通过mount -l即可卸载这些异常的挂载,然后更改为内网挂载。

 

以上是关于umount 报错was not found in /proc/mounts的主要内容,如果未能解决你的问题,请参考以下文章