On Mon, 2018-12-03 at 17:38 +0000, Rick Stevens wrote:
On 12/1/18 1:49 AM, Patrick O'Callaghan wrote:
> On Sat, 2018-12-01 at 08:03 +0800, Ed Greshko wrote:
> > On 12/1/18 6:33 AM, Patrick O'Callaghan wrote:
> > > I'm getting "filesystem not responding" messages from an
NFS-mounted
> > > NAS which I suspect is just slow (it spins down its disks when not in
> > > use). I'm using automount and that appears to be related as it never
> > > used to happen with normal mounting. I've changed the 'timeo'
parameter
> > > in the /etc/fstab line and run 'mount -a' but the mount parameters
for
> > > the filesystem have not changed. I've also restarted anything that
> > > seems relevant from systemd:
> > >
> > > systemctl restart storage-Backups.mount
> > > and
> > > systemctl restart proc-fs-nfsd.mount
> > > and
> > > systemctl restart proc-sys-fs-binfmt_misc.automount
> > >
> > > to no effect.
> > >
> > > How can I get this to work without rebooting?
> > >
> >
> > I know you have it working....
> >
> > But I did verify that unmounting and remounting with a changed parameter has no
effect.
>
> Except that it did have an effect. I used 'umount -f ...' and then
> 'mount -a' and it worked.
"mount -a" will only mount things that aren't already mounted. It
worked after the "umount -f" because that forced the unmount first, then
the "mount -a" would remount.
Yes, I realise that.
poc