I have an Ubuntu 12.04 server on a DMZ and a Windows server on an internal network.
Now I need to mount a folder of the Windows server on my Ubuntu server. I use the
mount command and all goes fine... but after some time if I try to open the Ubuntu folder where the mount is, I can't.
The folder is in
/media, so I run
cd /media but when I run the
ls command it sticks and the terminal is frozen. In order to access the folder again I have to
umount it. Then if I try to mount again the
mount command sticks and I have to do Ctrl + C to close it.
At that point the only thing I can do is reboot Ubuntu, and when server is up I find the mounted folder correctly, because it is in fstab.
I have another Ubuntu machine with another share on same Windows server, and has worked fine for months, so I don't understand what the problem can be.
fstab entry is the same on both Ubuntu servers:
//192.168.20.8/shared/Flusso_Homebox /media/Flusso_Homebox smbfs auto,username=xxxx,password=xxxx,file_mode=0777,dir_mode=0777,rw 0 0