On Fri, 6 Jan 2017, William D. Hamblen wrote:

> The AFS client does require a network connection (of course) but it does not need the VPN.  So if dropping off the VPN happens because you've lost all network connectivity then the behavior is expected.  If you just
> disconnect from the VPN and then get a new, non-VPN, connection AFS should start working again as soon as the new connection is up.

I'm 99% certain this is the issue which started showing up 2-3 months ago 
after some Windows update.  The AFS client itself hasn't changed.  What 
happens is that after your network is re-established, AFS should 
reconnect, although it always takes a minute or two - much longer than 
stateless connections.  But it stays off - no connectivity to any AFS 
servers.  But it can be fixed without 
rebooting by restarting the service.

Search for 'services' and you'll get the service manager.  You can 
right-click and pin to start or task bar.  This is a list of Windows 
services - scroll down to 'OpenAFS Client Service', right-click -> 
'Restart'.  It should only take about 2 seconds to restart.

This can be scripted with an admin shell and
net stop  TransarcAFSDaemon
net start TransarcAFSDaemon

- I've tried it manually but I've not tried scripting that yet.


> Subject: Re: New RStor/Research Computing Account (Michael S. Woolford)  

> I've been having an issue with connecting to the afs drive. Whenever my computer sleeps, I lose connection to the afs drive, or when I get disconnected from the VPN. The only way I've found to reconnect is to restart my
> computer every time I need to re-connect. While an easy fix, its kind of annoying, especially if I have projects open that I need to save. 


-- 
Richard Brittain,  Research Computing Group,
                    IT Services, 37 Dewey Field Road, HB6219
                    Dartmouth College, Hanover NH 03755
[log in to unmask] 603-646-2085