flfihpv259 2016-03-26 05:16 采纳率: 100%
浏览 2722
已采纳

求助:在开发板和LINUX间用NFS挂载文件看不到?

在FL2440开发板和ubuntu12.10间搭建NFS,用mount命令挂载后,在开发板上文档管理器中查看不到挂载文件,在minicom中用ls 也看不到,但在PC LINUX终端中创建了个hello测试文件,在minicom下执行是能成功(同样ls也看不到该文件),反过来在minicom中用touch命令创建个文件,在PC LINUX上却能看到这个文件,那说明NFS是肯定是挂载成功了的吧?为何却在开发板上却看不到挂载目录中的文件呢?

  • 写回答

3条回答 默认 最新

  • flfihpv259 2016-03-28 08:01
    关注

    自行goolge解决了,http://ubuntuforums.org/showthread.php?t=2198333
    “ SOLVED! There is some incompatibility between the very old NFS client version and the new server version. Specifying 'nfsvers=2' on the client (in the mount options) solves the problem. ”
    客户端和PC端版本不兼容问题,
    man 5 nfs 查看了下nfsvers=n 的说明如下:
    nfsvers=n The NFS protocol version number used to
    contact the server's NFS service. If the
    server does not support the requested ver‐
    sion, the mount request fails. If this
    option is not specified, the client negoti‐
    ates a suitable version with the server,
    trying version 4 first, version 3 second,
    and version 2 last.
    试到nfsvers=3 OK。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 lammps Gpu加速出错
  • ¥15 关于PLUS模型中kapaa值的问题
  • ¥15 关于博途V17进行仿真时无法建立连接问题
  • ¥15 请问下这个红框里面是什么文档或者记事本编辑器
  • ¥15 机器学习教材中的例题询问
  • ¥15 求.net core 几款免费的pdf编辑器
  • ¥15 为什么安装HCL 和virtualbox之后没有找到VirtualBoxHost-OnlyNetWork?
  • ¥15 C# P/Invoke的效率问题
  • ¥20 thinkphp适配人大金仓问题
  • ¥20 Oracle替换.dbf文件后无法连接,如何解决?(相关搜索:数据库|死循环)