恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 179|回复: 0

有没有从C大源码编译固件,能成功运行NFS服务的?

[复制链接]
发表于 2020-12-22 19:43 | 显示全部楼层 |阅读模式
一直报错 开始是

Jan  1 00:00:18 rpc.mountd[793]: rpc: failed to open /etc/netconfig
Jan  1 00:00:18 rpc.mountd[793]: Failed to access local netconfig database: Netconfig database not found
Jan  1 00:00:18 rpc.mountd[793]: mountd: could not create listeners
提示没有/etc/netconfig文件 看了下确实没有 但是etc_ro下存在这个文件
参考其他固件 在路由器初始化前脚本里做了ln之后
就不报那个错了
但是还有其他错误
Dec 21 11:05:32 rpc.nfsd[790]: error starting threads: errno 89 (Function not implemented)
Dec 21 11:05:32 rpc.mountd[795]: Kernel does not have pseudo root support.
Dec 21 11:05:32 rpc.mountd[795]: NFS v4 mounts will be disabled unless fsid=0
Dec 21 11:05:32 rpc.mountd[795]: is specfied in /etc/exports file.
Dec 21 11:05:32 NFS server: daemon is started
但这时在其他机器上已经能看到这个nfs了
只不过mount的时候会失败 报错 RPC prog. not avail

手动运行 nfsd.sh restart 会报错
mount: mounting nfsd on /proc/fs/nfsd failed: No such device
mount: mounting rpc_pipefs on /var/lib/nfs/rpc_pipefs failed: No such device
/usr/bin/nfsd.sh: line 98: can't create /proc/fs/nfsd/max_block_size: nonexistent directory
rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem



我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-1-22 11:29

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表