Re: CIFS mount hangs
Hi,
I tried your tricks, removing auto, adding _netdev but the problem
still exists. I seems to happen when I am not working on the share for
a certain amount of time. The share seems to be lost then....this did
not happen under wheezy. So I am thinking about, what kind of code to
blame? mount.cifs? Maybe try some kind of APT-Pinning to find out?
(Never tried this till before).
Any ideas to debug and understand are welcome.
TIA!
> 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
Mit freundlichen Grüßen
Tobias Assmann
_______________________________________________________
SkyGate internetworking GmbH
Pfuelstrasse 5, Aufgang VI
D - 10997 Berlin
Handelsreg. Berlin Charlottenburg, HRB 87258
Geschaeftsfuehrer: Stephan Jensen
T: +49- (0)30 - 611038-0
F: +49- (0)30 - 61280465
W: http://www.skygate.de
_______________________________________________________
Reply to: