mount.cfs では、-o guest 引数を渡す際にパスワードが必要です。

mount.cfs では、-o guest 引数を渡す際にパスワードが必要です。

Centosシステムがあり、NASからファイルをマウントしたいのですが、ゲストユーザーを渡すにはパスワードが必要です。

mount.cifs //192.168.96.2/b/files/ /mnt/files -o guests,nocase

この仮想マシンの近くの他のマシン(centos)では、マウントが成功します。

/etc/fstabも追加しました。

//192.168.96.2/files /mnt/files cifs nocase,username=guests,password= 0 0

開始ログを確認してください。

localhost mount: mount error(112): Host is down

localhost mount: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

localhost systemd: mnt-files.mount mount process exited, code=exited status=32

localhost systemd: Failed to mount /mnt/files.

問題は何ですか?

ベストアンサー1

最後に、-o vers=1.0 オプションを使用してインストールする必要があることがわかりました。

おすすめ記事