mount -t nfs 不能使用

去年使用一个新的文件系统的时候,发现mount -t nfs ip:/g/ftp ~/mnt -o tcp,nolock 不能使用

  • 一直以为是因为mount 命令更新了,有些用法我不会用,但是刚才发现我错了。

    它是因为没有安装nfs 服务的原因,特此记录。

  • 解决方法如下:

    在ubuntu 下执行如下命令即可:
    sudo apt-get install nfs-kernel-server
    然后就会出现mount.nfs 的命令,如果没有就无法使用mount -t nfs

原文地址:https://www.cnblogs.com/chenfulin5/p/6513280.html