茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1676261 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_00021.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2015/3/14 13:33:23

冷日 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 即可


yum install cifs-utils

加好後就可以正常 mount 了!
別忘了在 /etc/fstab 加入設定,這樣開機才會自動 mount 喔!

原文出處:Mount NFS | 老洪的 IT 學習系統
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|