I have 2 cifs remote share in /etc/fstab on xubuntu machine
//192.168.1.2/THOMAS /media/THOMAS cifs credentials=/root/.smbcredentials,_netdev,iocharset=utf8,vers=2.0,nofail,cache=none,uid=1000,forceuid,gid=100,forcegid 0 0//192.168.1.2/JACQUES /media/JACQUES cifs credentials=/root/.smbcredentials,_netdev,iocharset=utf8,vers=2.0,cache=none,nofail,uid=1000,forceuid,gid=100,forcegid 0 0
the mount cmd give me
//192.168.1.2/JACQUES on /media/JACQUES type cifs (rw,relatime,vers=2.0,cache=none,username=toto,domain=WORKGROUP,uid=1000,forceuid,gid=100,forcegid,addr=192.168.1.2,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1,_netdev)//192.168.1.2/THOMAS on /media/THOMAS type cifs (rw,relatime,vers=2.0,cache=none,username=toto,domain=WORKGROUP,uid=1000,forceuid,gid=100,forcegid,addr=192.168.1.2,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1,_netdev)
on 192.168.1.2 (debian machine) the smb version is
sudo smbstatus --versionVersion 4.13.13-Debian
on local machine the smb version is
sudo smbstatus --versionVersion 4.18.6-Ubuntu
For example, when i copy a file from JACQUES to a local disk, i have no problem.
But when i try to copy a file from JACQUES to THOMAS, it hangs. nothing in top, nothing in iotop, i see the file is created in the destination folder but stay to 0 byte. And when i try to cancelled the copy, nothing happened.
I tried with ver=3.0, i tried with cache=strict and before some days i haven't the problem.
could somebody help me ? thank you.
PS: sorry for my poor english ;-)