当前位置: 技术问答>linux和unix
本地板子mount 到服务器出错...大家帮我看看什么原因
来源: 互联网 发布时间:2016-01-29
本文导语: # ls bin etc lost+found proc tmp vinetic boot home nfs root usr dev lib nv sbin var #...
# ls
bin etc lost+found proc tmp vinetic
boot home nfs root usr
dev lib nv sbin var
# mount -t nfs 192.168.1.218:/rootfs.5120_test /nfs
nfs warning: mount version older than kernel
RPC: sendmsg returned error 22
nfs: RPC call returned error 22
nfs_get_root: getattr error = 22
nfs_read_super: get root inode failed
note: rpciod[248] exited with preempt_count 1
mount: Mounting 192.168.1.218:/rootfs.5120_test on /nfs failed: Invalid argument
#
#
bin etc lost+found proc tmp vinetic
boot home nfs root usr
dev lib nv sbin var
# mount -t nfs 192.168.1.218:/rootfs.5120_test /nfs
nfs warning: mount version older than kernel
RPC: sendmsg returned error 22
nfs: RPC call returned error 22
nfs_get_root: getattr error = 22
nfs_read_super: get root inode failed
note: rpciod[248] exited with preempt_count 1
mount: Mounting 192.168.1.218:/rootfs.5120_test on /nfs failed: Invalid argument
#
#
|
有可能权限问题,把防火墙关掉,修改/etc/exports为可读可写,看看行不行。
|
nfs warning: mount version older than kernel
内核比mount程序新,新内核中改了跟mount有关的数据结构,而当前的mount程序不支持。
解决方法:
更新nfs-utils
http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.0.6-8/
内核比mount程序新,新内核中改了跟mount有关的数据结构,而当前的mount程序不支持。
解决方法:
更新nfs-utils
http://www.citi.umich.edu/projects/nfsv4/linux/nfs-utils-patches/1.0.6-8/