cifs mount hang

Z

zhscnd

Guest
I use mount -t cifs -o username=administrator,password=1234567890 //192.168.1.9/share /mnt/samba mount a shared directory of Windows. Then, use cp /mnt/samba/xxx.mpg /mnt/samba/yyy.avi copy the file. unplugged the machine(192.168.1.9)'s network cable when transferring the file. Now, the cp command was hang always.
By looking at the cp's call stack, found the cp command hang in 0x00007f8009c42850 in close() from /lib/x86_64-linux-gun/libc.so.6.
Is there any way to solve this problem? My operating system is ubuntu-12.04.3-server-amd64.
thanks very much!
 



Members online


Top