File Sharing
File Sharing
SMB/CIFS
-
Linux 客户端上挂载 Windows SMB 共享。
mount -t cifs -o username=smb,password=Welcome@123,vers=3.0 //192.168.3.180/ad-share /tmp/mnt
-
拷贝 CIFS 共享目录里的文件时,提示文件句柄过期。
cp: cannot open'test/test,txt,bak' for reading: stale file handle
将挂载选项
vers=3.0调整为vers=1.0后,正常访问。
FTP
NFS
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.