samba 掛載nfs 文件出錯
掛載命令是這樣的:
sudo mount -t nfs 192.168.0.10:/home/tszhao /mnt/comp_serv/ -o rw
目的是掛載公司伺服器上的nfs文件夾
這個命令之前在FC8上工作正常,但在ubuntu 9.10上就有問題,問題提示:
mount: wrong fs type, bad option, bad superblock on 192.168.0.10:/home/tszhao,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
各位幫忙看看這個是什麼問題
《解決方案》
wrong fs type
系統不支持這種類型的分區,和SMB無關。
《解決方案》
NFS 跟 Samba 是二回事..
由錯誤訊息來看. 似內核並不支持nfs.
《解決方案》
wrong fs type, bad option, bad superblock on 192.168.0.10:/home/tszhao,
:mrgreen:
《解決方案》
裝上這些包吧。
# find ./ -name nfs*
./Server/nfs-utils-1.0.9-42.el5.x86_64.rpm
./Server/nfs-utils-lib-1.0.8-7.6.el5.x86_64.rpm
./Server/nfs-utils-lib-devel-1.0.8-7.6.el5.i386.rpm
./Server/nfs-utils-lib-devel-1.0.8-7.6.el5.x86_64.rpm
./Server/nfs-utils-lib-1.0.8-7.6.el5.i386.rpm
./Server/nfs4-acl-tools-0.3.3-1.el5.x86_64.rpm