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

求助:在开发板和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 对于知识的学以致用的解释
  • ¥50 三种调度算法报错 有实例
  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败