恥知らずのウェブエンジニア -web engineer, shameless

これは一歩を踏み出すことができない者たちのブログ

mountできない><

mountを試みたところ、下記のエラーが、、、

mount: wrong fs type, bad option, bad superblock on hogehogehoge,
       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を見てみるがよくわらない。。。

調べてみると、必要なモジュールがないとのこと。
そこで下記を実行。

yum install rpcbind nfs-utils

再度mount実行。
失敗><
次は下記のエラー

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

単純にrpcbindが起動していないとのこと。

//起動してない・・・
ps aux | grep rpcbind

/etc/rc.d/init.d/rpcbind start

//起動確認
ps aux | grep rpcbind

再度mount実行。
成功!!



感謝致します。

f:id:ogataka50:20130927112236j:plain