|
|
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已! |
|
恭喜您是本站第 1729845
位訪客!
登入 | 註冊
|
|
|
|
發表者 |
討論內容 |
冷日 (冷日) |
發表時間:2015/3/14 13:33 |
- Webmaster

- 註冊日: 2008/2/19
- 來自:
- 發表數: 15773
|
- [分享]NFS 掛載出現 mount: wrong fs type, bad option, bad superblock on
冷日 mount nfs 時碰上『mount: wrong fs type, bad option, bad superblock on』問題。 上網找了一下,發現這裡有解決方案: 使用最小安裝的 CentOS 是不包含 nfs 的 mount util 的! 所以如果下 mount nfs 的指令就會出現 # mount -t nfs 192.168.1.101://storage /mnt/storage mount: wrong fs type, bad option, bad superblock on 192.168.1.101://storage, 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
使用 dmesg | tail 則會看到類似下面的訊息 # dmesg | tail e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Slow work thread pool: Starting up Slow work thread pool: Ready FS-Cache: Loaded NFS: Registering the id_resolver key type FS-Cache: Netfs 'nfs' registered for caching
此時只要安裝 nfs-utils 即可! yum install nfs-utils
如果是 Window 網芳則加入 cifs 即可 加好後就可以正常 mount 了! 別忘了在 /etc/fstab 加入設定,這樣開機才會自動 mount 喔! 原文出處:Mount NFS | 老洪的 IT 學習系統
|
|
|
討論串
|