cifsマウントが出来ない場合

社内のTerastation共有ディレクトリをUbuntuからマウントしようとしたら以下の様なエラー表示が。

# mount -t cifs (対象ネットワークディレクトリ) /mnt/hoge -o username=fuga
mount: block device (対象ネットワークディレクトリ) is write-protected, mounting read-only
mount: cannot mount block device (対象ネットワークディレクトリ) read-only

以下を叩いた所、sambaのパッケージが入っていないことが判明。

# mount.cifs
The program 'mount.cifs' is currently not installed. You can install it by typing:
sudo apt-get install smbfs
-bash: mount.cifs: command not found

smbfsパッケージをapt-getで入れなおしてから再実行で解決しました。


以下サイトを参考にしました。ありがとうございました。
本を読む UbuntuからのCIFSマウントでちょっとだけハマる


■ぼやき
まだ週末のニンニクの臭いが手から消えない…