On March 3, 2017 7:49:27 PM GMT+01:00, Grant Edwards 
<grant.b.edwa...@gmail.com> wrote:
>For the past 10-15, I've been mounting a handfull of directories that
>reside on a Windows server, and it's always worked find.
>
>About a week ago, they started acting oddly.  They all mount fine, and
>work as usual as long as you keep using them.  AFAICT, if they sit
>idle for "a while" (tens of minutes, maybe an hour), they freeze up.
>
>After that, trying to access them hangs, and then eventually reports
>"host is down".  Except the host _isn't_ down.  If I do an
>unmount/mount it works instantly without complaint and the mounted
>directory is fine again -- for a while.
>
>I don't think I've changed anything relevent on my Gentoo box (the
>CIFS client), and it's probably something on the Windows end of
>things.  
>
>But, I was hoping somebody might have seen something similar and knows
>what to do about it.
>
>Here's a typical line in /etc/fstab:
>
>\\winhost\projects  /winhost/projects cifs
>netbiosname=<usrname>,workgroup=<wgname>,username=<usrname>,password=<passwd>,uid=<usrname>,gid=users,noserverino,dir_mode=0777,file_mode=0777,noauto
>0 0
>
><usrname> is the username (same on Gentoo and Windows)
><wgname>  is the Windows workgroup name 
><passwd>  is the Windows server password for <usrname>
>
>Any ideas?

My guess would be some timeout setting on the server killing the login.
Maybe there is a keep-alive option in the mount? Otherwise a cronjob that keeps 
'touch'ing a file on one or all of the shares would avoid this happening.

If the windows admin doesn't like that option, have him undo whatever he 
changed.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to