I am seeing some erratic behavior w.r.t. the NFS service on the gluster servers (RHS 3.0). The nfs service fails to start occasionally and randomly with Could not register with portmap 100021 4 38468 Program NLM4 registration failed This appears to be related to http://www.gluster.org/pipermail/gluster-users/2014-October/019215.html , although I'm not sure what the resolution is. The gluster servers use autofs to mount user home directories and other sundry directories. I could verify that stopping autofs and then starting the gluster volume seems to solve the problem. Starting autofs after gluster seems to work fine too. What's the right way to handle this ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150518/605896ef/attachment.html>
Jason Brooks
2015-May-18 21:35 UTC
[Gluster-users] Can a gluster server be an NFS client ?
----- Original Message -----> From: "Prasun Gera" <prasun.gera at gmail.com> > To: gluster-users at gluster.org > Sent: Monday, May 18, 2015 1:47:32 PM > Subject: [Gluster-users] Can a gluster server be an NFS client ? > > I am seeing some erratic behavior w.r.t. the NFS service on the gluster > servers (RHS 3.0). The nfs service fails to start occasionally and randomly > with > > Could not register with portmap 100021 4 38468 > Program NLM4 registration failed >I've encountered this before -- I had to disable file locking, adding Lock=False to /etc/nfsmount.conf> This appears to be related to > http://www.gluster.org/pipermail/gluster-users/2014-October/019215.html , > although I'm not sure what the resolution is. > > The gluster servers use autofs to mount user home directories and other > sundry directories. I could verify that stopping autofs and then starting > the gluster volume seems to solve the problem. Starting autofs after > gluster seems to work fine too. What's the right way to handle this ? > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Check if another NFS service isn't already running. Basically, ps -ef | grep nfs at the time of failure should tell you something. From: Prasun Gera <prasun.gera at gmail.com> To: "gluster-users at gluster.org" <gluster-users at gluster.org> Date: 05/19/2015 02:17 AM Subject: [Gluster-users] Can a gluster server be an NFS client ? Sent by: gluster-users-bounces at gluster.org I am seeing some erratic behavior w.r.t. the NFS service on the gluster servers (RHS 3.0). The nfs service fails to start occasionally and randomly with Could not register with portmap 100021 4 38468 Program NLM4 registration failed This appears to be related to http://www.gluster.org/pipermail/gluster-users/2014-October/019215.html , although I'm not sure what the resolution is. The gluster servers use autofs to mount user home directories and other sundry directories. I could verify that stopping autofs and then starting the gluster volume seems to solve the problem. Starting autofs after gluster seems to work fine too. What's the right way to handle this ? _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://www.gluster.org/mailman/listinfo/gluster-users =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150519/2c3f5933/attachment.html>