Re: CIFS mount hangs
On 19/11/13 23:33, assmann@skygate.de wrote:
> Dear list,
>
> since my upgrade to wheezy I have a problem with a cifs mount. It is a
> share of my windows host. The setup worked fine in debian squeeze.
>
> I mount this in a virtualbox guest via /etc/fstab like this:
>
> //myipadress/data /data cifs uid=33,gid=33,auto,user=myuser,password=mypassword 0 0
Working fstab line from Wheezy:-
//vbserver/references /home/scott/References cifs
ro,_netdev,credentials=/root/.cifs,uid=1000,gid=1000 0 0
"ro" shouldn't affect you
"_netdev" stops boot from failing if the network resource is not
available (probably cause of your problem *if* the network resource
exists *and* UID and GID are correct).
check "uid" and "gid" against your user
consider removing the "auto" (possible cause of your problem)
consider replacing a system-wide readable password with one that's
readable by root only (won't cause your problem, prevents others).
>
> Everything seems fine ... until something happens. I have no idea what
> exactly :-(
>
> When I try to access the share via ssh-commandline the shell hangs. No
> CTRL-C can bring it back to life. When I try to restart apache which
> has docroots on the share, the shell hangs.
>
> How do I find out what is going wrong here? I looked in
> /var/log/syslog and /var/log/dmesg and found nothing.
To see what has been mounted:-
$ mount
To try and mount everything in /etc/fstab:-
# mount -a
The output from the last command will be instructive.
You should also take a look at your network settings:-
$ ip a
>
> Any hints would be great!
>
> TIA
>
> Tobias
>
>
>
Kind regards
Reply to: