nfs文件系統掛載失敗解決方法


nfs文件系統掛載失敗解決方法

Table of Contents

1 錯誤提示

bootserver=255.255.255.255, rootserver=192.168.1.88, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 136K
nfs: server 192.168.1.88 not responding, still trying
nfs: server 192.168.1.88 not responding, still trying

2 我的配置

MINI6410 # prin
bootdelay=3
baudrate=115200
ethaddr=08:90:90:90:90:90
filesize=3ce68c
fileaddr=C0008000
gatewayip=192.168.1.1
netmask=255.255.255.0
ipaddr=192.168.1.230
serverip=192.168.1.88
bootcmd=tftp c0008000 uImage ;bootm c0008000
bootargs=root=/dev/nfs nfsroot=192.168.1.88:/home/wildbook/Documents/nfsboot/rootfs_tiny6410 ip=192.168.1.230 console=ttySAC0,115200 init=/linc
stdin=serial
stdout=serial
stderr=serial
  • 通過我各種排查,發現自己都沒設置錯誤,在一個偶然的機會看到一帖tiny210 用 nfs 成功 mount 根文件系統 ,
    上面講是nfs文件系統設置的問題,在后面加上proto=tcp,就可以解決問題
setenv bootargs root=/dev/nfs nfsroot=192.168.1.88:/home/wildbook/Documents/nfsboot/rootfs_tiny6410,proto=tcp ip=192.168.1.230 console=ttySAC0,115200 init=/linuxrc

Author: 野書

Created: 2016-05-27 五 14:11

Emacs 24.5.1 (Org mode 8.2.10)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM