<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NFS with autoumount failing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359669#M566148</link>
    <description>Hi&lt;BR /&gt;How do I set it up to use udp.&lt;BR /&gt;Also I had my NFSD=8 and the server started up about 12 daemons on nfsd. The half an hour I also have to wait for only 6 of them to die. How long am I going to have to wait for 32 to die?&lt;BR /&gt;This server is also extremely busy.&lt;BR /&gt;ave. @ 10-20% idle, load ave. 10-30, users on the server about 1300. Server has 6 740MHz cpu's 6 gig memory.</description>
    <pubDate>Wed, 18 Aug 2004 04:37:06 GMT</pubDate>
    <dc:creator>Shaamil</dc:creator>
    <dc:date>2004-08-18T04:37:06Z</dc:date>
    <item>
      <title>NFS with autoumount failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359667#M566146</link>
      <description>Hi All &lt;BR /&gt;I seem to have a problem with my nfsmounts using the automounter.&lt;BR /&gt;&lt;BR /&gt;My nfs server is an N-Class running hp-ux11.00.&lt;BR /&gt;My nfs client is a K200 server with hpux10.20.&lt;BR /&gt;&lt;BR /&gt;When I stop my /sbin/init.d/nfs.server script on the N-Class, my daemons take about half an hour to die(nfsd). &lt;BR /&gt;The problem I am experiencing is that everyday my nfs filesystems just hangs up, more than a few times, and I have to restart the nfsd daemons on the N-Class. This is a problem as we have a lot of programs which relys on the nfs-filesystem being there, which the automount should take care of.&lt;BR /&gt;&lt;BR /&gt;I got my nfs client(automounter) configured to mount everything, which is exported on the nfs server. &lt;BR /&gt;Could someone please shed some light on this.&lt;BR /&gt;I have about 42 nfs filesystems, which gets mounted on request.&lt;BR /&gt;I have configured both server and client with:&lt;BR /&gt;NFSD=6&lt;BR /&gt;BIOD=6&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Shaamil&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2004 04:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359667#M566146</guid>
      <dc:creator>Shaamil</dc:creator>
      <dc:date>2004-08-18T04:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: NFS with autoumount failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359668#M566147</link>
      <description>Hi,&lt;BR /&gt;since you are exporting so many fs, you should arise those values.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The hangs may be related to this: not enough process to satisfy the request, that are kept in queue.&lt;BR /&gt;&lt;BR /&gt;Try, on both client and server, with&lt;BR /&gt;&lt;BR /&gt;NFSD=32&lt;BR /&gt;BIOD=32&lt;BR /&gt;&lt;BR /&gt;Unfortunatly i didn't recall the limit for 10.20, but you may use upper values if they are admintted.&lt;BR /&gt;&lt;BR /&gt;In a second chance, try with the mount parameters, maybe think of using the udp protocol, which is faster, or high wsize/rsize.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo</description>
      <pubDate>Wed, 18 Aug 2004 04:29:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359668#M566147</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2004-08-18T04:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: NFS with autoumount failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359669#M566148</link>
      <description>Hi&lt;BR /&gt;How do I set it up to use udp.&lt;BR /&gt;Also I had my NFSD=8 and the server started up about 12 daemons on nfsd. The half an hour I also have to wait for only 6 of them to die. How long am I going to have to wait for 32 to die?&lt;BR /&gt;This server is also extremely busy.&lt;BR /&gt;ave. @ 10-20% idle, load ave. 10-30, users on the server about 1300. Server has 6 740MHz cpu's 6 gig memory.</description>
      <pubDate>Wed, 18 Aug 2004 04:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359669#M566148</guid>
      <dc:creator>Shaamil</dc:creator>
      <dc:date>2004-08-18T04:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: NFS with autoumount failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359670#M566149</link>
      <description>TO use udp,&lt;BR /&gt;&lt;BR /&gt;use a sintax like the following in /etc/auto.direct&lt;BR /&gt;&lt;BR /&gt;/usr/sap/trans -proto=udp -bg etr3pk01:/export/usr/sap/trans&lt;BR /&gt;/sapmnt/PRD -proto=udp -bg etr3pk01:/export/sapmnt/PRD&lt;BR /&gt;&lt;BR /&gt;Bute rememebr the differences between udp and tcp. udp is unreliable. You must decide if it is suitable for your application.&lt;BR /&gt;&lt;BR /&gt;And fot the wait time: i think that those demons are finifhing the request. Are you sure that all files are closed, before shutting down the nfs.clients ? Otherwise they will keep the fs mounted.&lt;BR /&gt;&lt;BR /&gt; HTH,&lt;BR /&gt;  Massimo</description>
      <pubDate>Wed, 18 Aug 2004 05:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359670#M566149</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2004-08-18T05:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: NFS with autoumount failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359671#M566150</link>
      <description>&lt;P&gt;Hello Shaamil,&lt;BR /&gt;&lt;BR /&gt;I've written a techncial paper and a book on how to tune HP-UX systems for NFS performance. The techncial paper is located at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf" target="_blank" rel="noopener"&gt;http://www.docs.hp.com/hpux/onlinedocs/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The book is called "Optimizing NFS Performance: Tuning and Troubleshooting NFS on HP-UX Systems" and it's available from Prentice Hall.&lt;BR /&gt;&lt;BR /&gt;The book covers much more than the techncial paper, but either one will probably give you lots of clues, and ways to troubleshoot why your NFS server is not responding throughout the day.&lt;BR /&gt;&lt;BR /&gt;Now, a couple of things.&lt;BR /&gt;&lt;BR /&gt;Since your NFS client is running 10.20, it will always be using UDP for NFS mounts, as 10.20 is not capable of using TCP. If you want the ability to use TCP, which may be a good idea if you're having connectivity problems, you'll have to move to at least HP-UX 11.0 and then apply NFS patches, since 11.0 didn't ship with support for NFS/TCP. 11i does support NFS/TCP out of the box.&lt;BR /&gt;&lt;BR /&gt;I would strongly recommend you patch both your NFS client and server with recent ONC/NFS patches, as this will make sure your NFS server kernel, client kernel, and Automounters are not suffering from a known problem.&lt;BR /&gt;&lt;BR /&gt;On the 10.20 client, are you running AutoFS or the legacy automounter? You can either check the name of the running automounter daemon or look in your /etc/rc.config.d/nfsconf file to see which one you're using. If both "AUTOMOUNT" and "AUTOFS" are set to 1 then you're using AutoFS. Otherwise you're using the legacy automounter. If you're using the legacy automounter, you may want to try using AutoFS, as it has additional capabilities over the legacy automounter, like the ability to use NFS version 3.&lt;BR /&gt;&lt;BR /&gt;Even if you use AutoFS on 10.20, you're going to be using the ONC 1.2 version of AutoFS, which is a very old version with lots of known problems. HP recently released a product called "Enhanced AutoFS", which is really just the AutoFS product based on the ONC 2.3 code from Sun. This version of AutoFS is *FAR* more stable than the ONC 1.2 version and offers many additional features over the 1.2 version. However, you'd have to be on 11i v1 (11.11) to get it. 11i v2 (11.23) ships with the ONC 2.3 AutoFS by default.&lt;BR /&gt;&lt;BR /&gt;Regarding the biod and nfsd limits on 11.0, there should be no problem starting more than 6 or 8 daemons. I typically recommend starting at least 64 nfsd daemons on servers that are servicing UDP mounts, which your server definitely is as your client is 10.20 and cannot use TCP. To increase this value change the "NUM_NFSD" parameter in /etc/rc.config.d/nfsconf file and then issue the commands:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/nfs.server stop&lt;BR /&gt;# /sbin/init.d/nfs.server start&lt;BR /&gt;&lt;BR /&gt;to get the new daemons to run. Also, the fact that you requested 8 nfsds daemons and got 12 tells me that your server is either a 6-CPU system or a 12-CPU system. In either case, I definitely recommend starting at least 64 daemons. If your server has 6 CPUs then you'll get 66 daemons if you ask for 64. If your server has 12 CPUs then you'll get 72 daemons. This is completely expected behavior, as the server assigns nfsd daemons to per-cpu pools and will always start a number of daemons that is equally divisible by the number of CPUs, so if the number of nfsds you ask for is not evenly divisible by the number of CPUs in your system the kernel will round-up to the next evenly divisible number of nfsds.&lt;BR /&gt;&lt;BR /&gt;In any case, those are some things to check, but I recommend getting my book or techncial paper and using them as a reference to determine why your NFS server stops responding to requests.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 10:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-with-autoumount-failing/m-p/3359671#M566150</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2021-06-18T10:39:52Z</dc:date>
    </item>
  </channel>
</rss>

