Operating System - HP-UX
1753814 Members
7409 Online
108805 Solutions
New Discussion юеВ

Re: Duplicate NFS mountpoits in /etc/mnttab

 
Antti
Advisor

Duplicate NFS mountpoits in /etc/mnttab

Hello,

I'm having a weird problem with NFS mounts. I have Sun/Debian server which is exporting two folders to multiple (HP C8000/HP-UX 11.11) clients over NFS. Suprisingly one of those clients (hostname "client") seems to mount those folders twice and that's causing major delay in accessing those folders.

Mount command gives me this output:
***
/ on /dev/vg00/lvol3 log,dev=40000003 on Fri Apr 4 08:24:45 2008
/stand on /dev/vg00/lvol1 defaults,dev=40000001 on Fri Apr 4 08:24:46 2008
/var on /dev/vg00/lvol9 delaylog,nodatainlog,dev=40000009 on Fri Apr 4 08:24:48 2008
/usr on /dev/vg00/lvol8 delaylog,nodatainlog,dev=40000008 on Fri Apr 4 08:24:48 2008
/tmp on /dev/vg00/lvol7 delaylog,nodatainlog,dev=40000007 on Fri Apr 4 08:24:48 2008
/opt on /dev/vg00/lvol6 delaylog,nodatainlog,dev=40000006 on Fri Apr 4 08:24:48 2008
/data on /dev/vg00/lvol4 delaylog,nodatainlog,dev=40000004 on Fri Apr 4 08:24:48 2008
/net on -hosts ignore,indirect,nosuid,soft,rsize=32768,wsize=32768,nobrowse,dev=60000000 on Fri Apr 4 08:25:22 2008
/net/client on / defaults,dev=60000001 on Fri Apr 4 08:26:25 2008
/net/server/home on -hosts ignore,direct,nosuid,soft,rsize=32768,wsize=32768,nobrowse,dev=60000002 on Fri Apr 4 08:31:59 2008
/net/server/data1 on -hosts ignore,direct,nosuid,soft,rsize=32768,wsize=32768,nobrowse,dev=60000003 on Fri Apr 4 08:31:59 2008
/net/server/home on server:/home nosuid,soft,nodevs,rsize=32768,wsize=32768,NFSv3,dev=60000004 on Fri Apr 4 08:34:14 2008
***
As you can see there are two mounts on mountpoit /net/server/home.

My /etc/auto_master on this problematic workstation is set up like this:
***
/net -hosts -nosuid,soft,rsize=32768,wsize=32768,nobrowse
***

So does anyone have any ideas on this?
7 REPLIES 7
Dave Olker
HPE Pro

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Antti,

Since this is an 11.11 system and you're obviously using an automounter, my first question is: are you using the Enhanced AutoFS product on this system? If not, that's you're first step:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ENHAUTO

If you install the latest version of this product and still have the problem let me know. Trust me, if you contact HP Support with this problem that's going to be the first suggestion they make.

In fact, I'd *highly* recommend you install this Enhanced AutoFS on *any* 11.11 system in your environment using an automounter.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Antti
Advisor

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Dave,

Yes I have Enchanced AutoFS installed. It is bit a old version, though but it's the same version as in the other workstations.

-antti
Dave Olker
HPE Pro

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Antti,

How recent are your NFS/ONC patches on this system? I know there were problems with duplicate mnttab entries in the past that we resolved with patches.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Antti
Advisor

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Dave,

The version was 0402 but today I updated it to 0701. Unfortunately it didn't help. The problem exists still.
Dave Olker
HPE Pro

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Antti,

I wasn't talking about the Enhanced AutoFS package version, I meant the version of the regular ONC patches. The piece I'm most interested in is libnsl. If you could tell me what this says:

# what /usr/lib/libnsl.1 | grep PHNE_3

I'm curious what version of libnsl you're running. If you're all patched up on libnsl and you're still seeing this problem then you'll likely need to open a call with HP Support and get them working on the root cause.

Is this something you see frequently? If so, do you have a way to reproduce the problem at will? I can try reproducing your problem on my systems if it's something you can document in a step-by-step fashion (as opposed to "it just happens sometimes").

Regards,

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Antti
Advisor

Re: Duplicate NFS mountpoits in /etc/mnttab

Hi Dave,

Sorry for my misreading :) The output I got from your command:
***
stubs.c $Date: 2005/02/17 11:19:52 $Revision: r11.11/2 PATCH_11.11 (PHNE_32477)
publickey.c $Date: 2005/12/06 11:07:15 $Revision: r11.11/1 PATCH_11.11 (PHNE_33971)
netdir.c $Date: 2004/04/07 11:08:27 $Revision: r11.11/1 PATCH_11.11 (PHNE_30378)
netselect.c $Date: 2004/04/07 11:08:52 $Revision: r11.11/1 PATCH_11.11 (PHNE_30378)
nis_xdr.c $Date: 2004/03/12 14:01:12 $Revision: r11.11/1 PATCH_11.11 (PHNE_30378)
netdir_inet.c $Date: 2004/11/15 12:53:41 $Revision: r11.11/3 PATCH_11.11 (PHNE_31097)
auth_time.c $Date: 2006/02/17 09:41:12 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
clnt_bcast.c $Date: 2006/02/17 09:43:19 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
clnt_dg.c $Date: 2006/02/17 09:45:36 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
clnt_generic.c $Date: 2006/07/26 15:23:59 $Revision: r11.11/2 PATCH_11.11 (PHNE_34938)
clnt_perror.c $Date: 2006/02/17 09:52:12 $Revision: r11.11/2 PATCH_11.11 (PHNE_34293)
clnt_raw.c $Date: 2006/02/17 09:48:25 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
clnt_vc.c $Date: 2006/07/26 15:24:11 $Revision: r11.11/3 PATCH_11.11 (PHNE_34938)
getdname.c $Date: 2006/02/17 09:53:45 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
mt_misc.c $Date: 2006/02/17 09:55:54 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
netname.c $Date: 2005/12/06 11:16:58 $Revision: r11.11/1 PATCH_11.11 (PHNE_33971)
rpc_generic.c $Date: 2006/02/17 09:57:04 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
rpc_prot.c $Date: 2006/07/26 15:24:54 $Revision: r11.11/1 PATCH_11.11 (PHNE_34938)
rpc_td.c $Date: 2006/02/17 09:58:16 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
rpcb_clnt.c $Date: 2006/02/17 09:59:48 $Revision: r11.11/2 PATCH_11.11 (PHNE_34293)
rpcdname.c $Date: 2006/02/17 10:01:02 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
svc.c $Date: 2006/02/17 10:02:44 $Revision: r11.11/4 PATCH_11.11 (PHNE_34293)
svc_dg.c $Date: 2006/02/17 10:03:49 $Revision: r11.11/3 PATCH_11.11 (PHNE_34293)
svc_generic.c $Date: 2006/07/26 15:24:23 $Revision: r11.11/5 PATCH_11.11 (PHNE_34938)
svc_simple.c $Date: 2006/02/17 10:06:20 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
svc_vc.c $Date: 2006/02/17 10:08:39 $Revision: r11.11/9 PATCH_11.11 (PHNE_34293)
svcauth_des.c $Date: 2006/02/17 10:10:34 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
svcdesname.c $Date: 2006/02/17 10:11:44 $Revision: r11.11/1 PATCH_11.11 (PHNE_34293)
ti_opts.c $Date: 2006/07/26 15:24:33 $Revision: r11.11/3 PATCH_11.11 (PHNE_34938)
yp_bind.c $Date: 2005/03/15 16:50:01 $Revision: r11.11/2 PATCH_11.11 (PHNE_32811)
***

Unfotunately I haven't found a good way to reproduce the problem. Especially the actual symptom (slow access on NFS mounts) I've seen happening only a few times. Our customer reports that it happens frequently, though.
Dave Olker
HPE Pro

Re: Duplicate NFS mountpoits in /etc/mnttab

If you're running the latest Enhanced AutoFS and NFS patches and still seeing duplicate mnttab entries then it's time to open a call with HP Support.

Regards,

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo