共計 845 個字符,預(yù)計需要花費 3 分鐘才能閱讀完成。
自動寫代碼機器人,免費開通
這篇文章將為大家詳細(xì)講解有關(guān) linux 掛載網(wǎng)絡(luò)存儲 mount 有問題怎么辦,丸趣 TV 小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。
1/
今天碰到一個 nfs 掛載錯誤的問題,錯誤提示如下:
mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img,
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
根據(jù)錯誤提示,查看 /sbin/mount. type 文件,果然發(fā)現(xiàn)沒有 /sbin/mount.nfs 的文件,安裝 nfs-utils
。
yum install nfs-utils
2/# mount 10.50.122.10:/nfs /mnt mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use -o nolock to keep locks local, or start statd. mount.nfs: an incorrect mount option was specified
如果遇到上面的錯誤,執(zhí)行:
# /etc/init.d/rpcbind start
或者網(wǎng)上還提供另一種方法 mount -o nolock -t nfs xxxxxxx 沒有測試。
關(guān)于“l(fā)inux 掛載網(wǎng)絡(luò)存儲 mount 有問題怎么辦”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,使各位可以學(xué)到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。
向 AI 問一下細(xì)節(jié)
丸趣 TV 網(wǎng) – 提供最優(yōu)質(zhì)的資源集合!