IP能够ping通的情况下,NFS服务器已经开启(开启方法参考https://blog.youkuaiyun.com/loveshipting/article/details/106181710)
=> nfs
Using FEC1 device
File transfer via NFS from server 192.168.1.250; our IP address is 192.168.1.33
Filename '/home/linux/nfs/zImage'.
Load address: 0x80800000
Loading: *
ARP Retry count exceeded; starting again
=> nfs
Using FEC1 device
File transfer via NFS from server 192.168.1.250; our IP address is 192.168.1.33
Filename '/home/linux/nfs/zImage'.
Load address: 0x80800000
Loading: *** ERROR: Cannot mount
解决方法:
bootfile环境变量设置错误,应该指向正确需要下载的文件:
=> setenv bootfile '/home/nanty/linux/nfs/zImage'
=> nfs
Using FEC1 device
File transfer via NFS from server 192.168.1.250; our IP address is 192.168.1.33
Filename '/home/nanty/linux/nfs/zImage'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################
done
Bytes transferred = 6777096 (676908 hex)
=>
本文详细记录了在IP能够ping通的情况下,遇到NFS服务器文件传输失败的问题,并提供了具体的解决步骤。通过调整bootfile环境变量,成功指向正确的下载文件路径,解决了Cannot mount的错误。
2893

被折叠的 条评论
为什么被折叠?



