|
|
报错[root@centos6 ~]# mount -t nfs 192.168.0.5:/tmp /mnt
* ^- @# A& v& I& smount: wrong fs type, bad option, bad superblock on 192.168.0.5:/tmp,
: n: {. Y8 {3 E/ @+ o; ]+ b% M missing codepage or helper program, or other error$ l3 X) y+ s! ~: I; `) V& n. a
(for several filesystems (e.g. nfs, cifs) you might
% G3 a# _9 M l4 w* B! H need a /sbin/mount.<type> helper program)" Z# I, ~0 [# _- l
In some cases useful info is found in syslog - try$ h" c6 S. V% n/ i$ v- G: s
dmesg | tail or so
0 l# o5 G3 H; X4 h6 ^4 u% H解决办法:
9 P3 @; ^8 h4 Y挂载端需要安装nfs-utils
) k! h- g/ v6 P8 u8 q3 j3 ~yum install -y nfs-utils- p' F. \0 X; n5 G: ]7 ~8 D
再重新挂载,即可成功:
( m* j0 y, Q3 Z$ h6 V& Lmount -t nfs 192.168.0.5:/tmp /mnt
# `: L8 K3 v: _9 N: s8 I8 F
: W2 _9 n& h6 j+ v ~/ Q |
|