初级会员
- 积分
- 65
- 金钱
- 65
- 注册时间
- 2019-7-12
- 在线时间
- 14 小时
|
错误:=> nfs 80800000 192.168.1.105:/home/ns3/nfs/zImage
Using FEC0 device
File transfer via NFS from server 192.168.1.105; our IP address is 192.168.1.55
Filename '/home/ns3/nfs/zImage'.
Load address: 0x80800000
Loading: *** ERROR: File lookup fail
参照:https://blog.csdn.net/polaris_zgx/article/details/103571725 (此方法看见有网友试过,有效。应该是针对不同的环境吧,可以试试)
然后安装上面连接的方法修改后:
# Number of servers to start up
#RPCNFSDCOUNT=8
PRCNFSDCOUNT="-V 2 8"
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/SecuringNFS
# To disable NFSv4 on the server, specify '--no-nfs-version 4' here
#RPCMOUNTDOPTS="--manage-gids"
RPCMOUNTDOPTS="-V 2 --manage-gids"
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=""
# Options for rpc.svcgssd.
RPCSVCGSSDOPTS="--nfs-version 2,3,4 --debug --syslog"
修改重启nfs 依然 Loading: *** ERROR: File lookup fail
修改 setenv bootargs 'console=ttymxc0,115200 root=/dev/nfs rw nfsroot=192.168.1.105:/home/ns3/nfs/zImage ip=192.168.1.55:192.168.1.105:192.168.1.1:255.255.255.0::eth0n'
=> saveenv 依然没用。
参照 ns3@ubuntu:~$ sudo cat /proc/fs/nfsd/versions
-2 +3 +4 +4.1 +4.2
sudo vim /etc/nfs.conf 想要修改这个文件发现这个文件不存在 (参照http://www.openedv.com/forum.php?mod=viewthread&tid=305543&highlight=nfs)
无法修改/etc/nfs.conf文件 的nfsd 段:vers2=y 该怎么办?
|
|