autofs will handle both issues just fine.
1. autofs disconnects a mount if there hasn't been any activity for a
certain amount of time (default 5 minutes).
2. see above

A distributed filesystem might create even more problems, as you'll have
to re-sync with the other nodes on reconnect, which -- in the worst case
-- might mean syncing almost everything.

Regards,
/peter

Am 18.05.2016 um 17:24 schrieb bri...@aracnet.com:
> The obvious issues:
> 
> 1 after sleeping the NFS connection is lost and takes a very long time to 
> re-establish.  I was under the impression that systemd or 
> -whatever-handles-sleeping- would unmount/remount the filesystem to avoid 
> this , but apparently that's not the case.  Potentially  I can fix this with 
> some sort of sleep-wake script hackery.
> 
> 2 disconnecting the laptop from the network will obviously cause problems.
> 
> The standard suggestion is to use autofs,but I'm unclear as to whether that 
> will handle case 2.  I'm actually not clear on whether or not it will handle 
> case 1, and in fact have found some discussions that it does NOT.
> 
> The other possibility is to use a distributed filesystem on the laptop.  I 
> actually like that idea the best, but I'm unsure what is available on Debian.
> 
> I looking for some suggestions/recommendations.
> 
> Thank you.
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to