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