프로그램 사용/nfs
nfs를 udp가 아닌 tcp로 연결하도록 설정하기
구차니
2009. 5. 12. 20:33
setenv bootargs console=ttyAS0,115200 root=/dev/nfs nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 nfsroot=192.168.10.10:/home/user,tcp ip=192.168.10.100::192.168.10.1:255.255.255.0:hostname::off bigphysarea=2000 systemid=01000000
u-boot에서 리눅스 커널로 bootargs를 넘겨주어 nfs를 연결할 경우, 기본값이면 UDP로 연결되게 된다.
mount로 확인해보면
로 udp가 아닌 tcp로 붙은것을 알 수 있다.
자세한건 확인해 봐야겠지만, nfs ver=2 라서 udp 인지는 모르겠다.
u-boot에서 리눅스 커널로 bootargs를 넘겨주어 nfs를 연결할 경우, 기본값이면 UDP로 연결되게 된다.
mount로 확인해보면
# mount rootfs on / type rootfs (rw) /dev/root on / type nfs (rw,noatime,vers=2,rsize=4096,wsize=4096,hard,nolock,proto=tcp,timeo=600,retrans=2,addr=192.168.10.10) proc on /proc type proc (rw) /dev/sda1 on /root/sda1 type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) |
자세한건 확인해 봐야겠지만, nfs ver=2 라서 udp 인지는 모르겠다.