Re: Changing mount options without restarting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-11-30 at 22:56 +0000, Rick Stevens wrote:
> On 11/30/18 2:33 PM, 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?
> 
> Uhm, you might try "mount -o remount,rw,<otheroptions> /mountpoint" or
> you may have to unmount it using "umount" (possibly with the "-f" flag)
> and either manually remount or trigger the automount.

That did it (using '-f' as you say). Interestingly it wouldn't unmount
otherwise, even though nothing is using it. Presumably systemd
automount is preventing it. When I tried to list a directory on the
system it didn't respond, but doing an ssh to the box spins up the
disks and lets me log in. So I've no idea what exactly automount is
supposed to be doing.

Anyway, it's all good now, thanks.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux