出错信息:
bash-2.05b# mount 192.168.13.27:/home/zb/ /mnt/nfs/
Using fallback suid method
nfs warning: mount version older than kernel
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
解决办法:
mount命令后增加选项 -o nolock,执行:
bash-2.05b# mount -o nolock 192.168.13.27:/home/zb/ /mnt/nfs/
挂载正常:
bash-2.05b# mount
Using fallback suid method
/dev/root on / type jffs2 (rw,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
none on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbdevfs (rw)
/dev/ide/host0/bus0/target1/lun0/part1 on /mnt/stor type vfat (rw,nodiratime,fm)
bash-2.05b# mount -o nolock 192.168.13.27:/home/zb/ /mnt/nfs/
Using fallback suid method
nfs warning: mount version older than kernel
bash-2.05b# mount
Using fallback suid method
/dev/root on / type jffs2 (rw,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
none on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbdevfs (rw)
/dev/ide/host0/bus0/target1/lun0/part1 on /mnt/stor type vfat (rw,nodiratime,fm)
192.168.13.27:/home/zb/ on /mnt/nfs type nfs (rw,v3,rsize=32768,wsize=32768,har)
bash-2.05b#
3581

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



