YANO's digital garage

Copyright ©YANO All rights reserved. https://www.bravotouring.com/~yano/

Last-modified: 2024-04-17 (水)


[一語一絵/IT系]

SMB 3.0 / 2017-04-11 (火)

Intel NUC DN2820FYKHへの記憶域プール移設障害はUSBハブで解消したものの、記憶域プールを共有設定してGT110bでmountしようとしたところ

yano@GT110b:~$ sudo mount.cifs  //NUC/Videos /mnt/NUC --verbose -o user=yano,pass='********'
mount.cifs kernel mount options: ip=192.168.199.12,unc=\\NUC\Videos,user=yano,pass=********
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
yano@GT110b:~$
というエラー発生

Windows 8.1とWindows 10の違いなのかな…と思いつつ、「アカウント認証は通っている感じなのに、あとは何があかんの~?」と思いながら、ひと月以上悪戦苦闘していたのだが、

yano@GT110b:~$ sudo mount.cifs  //NUC/Videos /mnt/Intel-NUC --verbose -o user=yano,pass='********',vers=3.0
mount.cifs kernel mount options: ip=192.168.199.12,unc=\\NUC\Videos,vers=3.0,user=yano,pass=********
yano@GT110b:~$
と、versオプションを付与する事でようやく解決した。

自動マウントのケアは/etc/fstab

# //X200/Videos   /mnt/x200  cifs  credentials=/etc/smbpasswd.x200,iocharset=utf8,uid=yano,gid=family          0       0
//NUC/Videos      /mnt/NUC   cifs  credentials=/etc/smbpasswd.x200,vers=3.0,iocharset=utf8,uid=yano,gid=family 0       0
と書けばOKだ。

【参照】
●@IT http://www.atmarkit.co.jp/
Linuxはサンバ(Samba)で踊る――WindowsとLinuxのファイル共有のいま 2015年2月13日
●山市良のえぬなんとかわーるど https://yamanxworld.blogspot.com/
Windows 以外でも SMB2/SMB3 が利用可能になってた 2013年12月20日
●Wikipedia https://ja.wikipedia.org/wiki/
Samba
Server Message Block