Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a bunch of RHEL6 & 5 machines auto mounting shares from a couple of CentOS 6.9 servers. Everything works fine with them.
Upgraded my first client to RHEL 7.4 and there are terrible lags with the automounts. Whenever I first cd into an automount, there's a lag of about 30 - 40 seconds before it finally mounts and the shell comes back. Thereafter, moving around within the mount is fine.
With these mounts active, 'df -h' or 'mount' commands lag about 10 seconds the first time they are issued too, then respond instantly thereafter.
It's like RHEL 7 has some new kind of negotiation going on that I can't pin down.
Anyone have any ideas? in case it helps, here's the output of the mount command when the automounts are active:
Code:
$ mount
<snip>
server1:/path_to/folder on /path_to/local_mountpoint type nfs4 (rw,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.232,local_lock=none,addr=192.168.1.205)
server2:/path_to/folder on /path_to/outher_mountpoint type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.232,local_lock=none,addr=192.168.1.187)
Sorry I didn't mention it, but this is on an internal network and the machines are defined in /etc/hosts .
From the RHEL 7 Documentation:
Quote:
Originally Posted by RHEL Docs
The NFS protocol version used in Red Hat Enterprise Linux 7 is identified by the mount options nfsvers or vers. By default, mount will use NFSv4 with mount -t nfs. If the server does not support NFSv4, the client will automatically step down to a version supported by the server. If the nfsvers/vers option is used to pass a particular version not supported by the server, the mount will fail. The file system type nfs4 is also available for legacy reasons; this is equivalent to running mount -t nfs -o nfsvers=4 host:/remote/export /local/directory.
(bold for emphasis added). If you're upgrading, this 'stepping-down' may be the cause. Since RHEl7 uses NFS4 by default, and your other systems don't/aren't...could be it. Have you opened a support case with Red Hat yet??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.