<?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 timeout in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023451#M544973</link>
    <description>The attached file has the output requested.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Jan 2007 12:38:36 GMT</pubDate>
    <dc:creator>Michael Allmer</dc:creator>
    <dc:date>2007-01-18T12:38:36Z</dc:date>
    <item>
      <title>NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023444#M544966</link>
      <description>We are NFS mounting a share from a VMS systems to a HPUX.  The issue is when we try and do a listing on a sub directory we get an PRC timeout.  We can attempt again, gettting a timeout yet again, the thrid time we get the listing.&lt;BR /&gt;The subdir has over 6000 files.  other directories that have few do not behave this way.&lt;BR /&gt;Looking for Ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 18 Jan 2007 09:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023444#M544966</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T09:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023445#M544967</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;You might try raising the timeout value with the "mount -o timeo=" command.  The default is specified in the kernel.  Try doubling it and see if this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Jan 2007 09:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023445#M544967</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-01-18T09:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023446#M544968</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;What OS is the HP-UX client running?  &lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;&lt;BR /&gt;What transport protocol is the mount using?  What NFS version is the mount using?&lt;BR /&gt;&lt;BR /&gt;# nfsstat -m&lt;BR /&gt;&lt;BR /&gt;Please post the output from those two commands so I can at least see how the NFS mount is configured and what OS you're running.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2007 11:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023446#M544968</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-01-18T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023447#M544969</link>
      <description>HP-UX greta B.11.00 A 9000/800&lt;BR /&gt;&lt;BR /&gt;/camdsk from lijms1:/camdsk  (Addr 170.126.128.4)&lt;BR /&gt; Flags:   vers=3,proto=udp,auth=unix,soft,intr,link,devs,rsize=8192,wsize=8192,r&lt;BR /&gt;etrans=5&lt;BR /&gt; Lookups: srtt=  7 ( 17ms), dev=  4 ( 20ms), cur=  2 ( 40ms)&lt;BR /&gt; Reads:   srtt=  8 ( 20ms), dev=  4 ( 20ms), cur=  3 ( 60ms)&lt;BR /&gt; All:     srtt=  7 ( 17ms), dev=  4 ( 20ms), cur=  2 ( 40ms)</description>
      <pubDate>Thu, 18 Jan 2007 11:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023447#M544969</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T11:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023448#M544970</link>
      <description>Ok, so you're running 11.0 and using UDP.  It is possible the problem is your network is so busy that it's dropping too many packets for the READDIRPLUS to finish successfully in the large directory.&lt;BR /&gt;&lt;BR /&gt;There are a few options but the first one I'd suggest is using TCP for the mount.  If your network is congested and you're dropping packets, TCP should work better in that environment.&lt;BR /&gt;&lt;BR /&gt;11.0 does support TCP but you need to be at a certain NFS patch level and then you have to enable TCP support.  Can you tell me what is the latest NFS patch installed on your system:&lt;BR /&gt;&lt;BR /&gt;# swlist -l product | grep -iE 'onc|nfs'&lt;BR /&gt;&lt;BR /&gt;and the contents of your /etc/rc.config.d/nfsconf file:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/rc.config.d/nfsconf&lt;BR /&gt;&lt;BR /&gt;so I can see which patches are installed and if TCP support is enabled on the system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 18 Jan 2007 11:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023448#M544970</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-01-18T11:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023449#M544971</link>
      <description>Would this be a client issue or a server issue?  I mount other NFS shares from an HP-UX server that does not act this way.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2007 11:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023449#M544971</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023450#M544972</link>
      <description>That's what I'm trying to determine.  &lt;BR /&gt;&lt;BR /&gt;If your client is mounting filesystems using UDP it's either because it hasn't been configured to use TCP or because your server doesn't support TCP.  If you want a way of quickly checking if your NFS server supports TCP try this:&lt;BR /&gt;&lt;BR /&gt;# rpcinfo -p &lt;NFSSERVER&gt;&lt;BR /&gt;&lt;BR /&gt;Looking at the output of the rpcinfo command we should be able to see if the VMS server is registering a TCP version of NFS.&lt;BR /&gt;&lt;BR /&gt;Once we know whether both client and server support TCP, the goal will be to get this filesystem mounted with TCP and see if that resolves your timeouts.  If TCP doesn't resolve it then we'll start looking elsewhere, but TCP is the first thing to check.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/NFSSERVER&gt;</description>
      <pubDate>Thu, 18 Jan 2007 12:06:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023450#M544972</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-01-18T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023451#M544973</link>
      <description>The attached file has the output requested.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2007 12:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023451#M544973</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023452#M544974</link>
      <description>Ok, it looks like your server does support TCP, you have the latest 11.0 NFS patch installed but TCP is not enabled on the client.  &lt;BR /&gt;&lt;BR /&gt;You need to use the following commands to enable NFS/TCP support:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/nfs.client stop&lt;BR /&gt;# /usr/sbin/setoncenv NFS_TCP 1&lt;BR /&gt;# /sbin/init.d/nfs.client start&lt;BR /&gt;&lt;BR /&gt;This should stop the NFS client services, enable TCP support and then re-start the NFS client stuff.  After these commands you should be able to mount the filesystem from this VMS server via TCP.  &lt;BR /&gt;&lt;BR /&gt;If the VMS filesystem is still mounted you'll need to unmount it and re-mount it to change from UDP to TCP.  To confirm which protocol is in use after you remount the filesystem you can issue the command:&lt;BR /&gt;&lt;BR /&gt;# nfsstat -m&lt;BR /&gt;&lt;BR /&gt;and you should see TCP as the protocol.  Once you've confirmed the filesystem is mounted with TCP try the directory listing again and see if it behaves any better.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 18 Jan 2007 12:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023452#M544974</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-01-18T12:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023453#M544975</link>
      <description>I will make the changes tonight, and let you know how it goes.&lt;BR /&gt;&lt;BR /&gt;Thank you for the information.&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Thu, 18 Jan 2007 14:19:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023453#M544975</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023454#M544976</link>
      <description>I made the changes suggested by Dave.&lt;BR /&gt;&lt;BR /&gt;All mounts are connected via tcp&lt;BR /&gt;&lt;BR /&gt;The first listing of the subdirectories resulted in a fast rpc timeout return.&lt;BR /&gt;&lt;BR /&gt;Ran the ll again, I got the rpc timeout a third an fourth time.&lt;BR /&gt;&lt;BR /&gt;cd to nfs share then ran ll and got list.&lt;BR /&gt;&lt;BR /&gt;cd to large directory containing 6000+ files and ran ll.&lt;BR /&gt;&lt;BR /&gt;It finally returned results.&lt;BR /&gt;&lt;BR /&gt;entry in /etc/fstab is;&lt;BR /&gt;lijms1:/camdsk /camdsk nfs rw,suid,soft,retry=2,retrans=8,timeo=30 0 0&lt;BR /&gt;&lt;BR /&gt;Do you think hard mounting this will resolve this, or is there some other underlining problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2007 23:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023454#M544976</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-18T23:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023455#M544977</link>
      <description>Since I will not be able to monitor this for the rest of the week, I will close this thread.&lt;BR /&gt;&lt;BR /&gt;Since this nfs mount is only needed for a script, I have setup the following to overcome this for now.&lt;BR /&gt;&lt;BR /&gt;I hard mounted the share.&lt;BR /&gt;&lt;BR /&gt;I then created to shell scripts; one to mount the other to umount the share.&lt;BR /&gt;&lt;BR /&gt;I have scheduled these on cron around the other script.&lt;BR /&gt;&lt;BR /&gt;While I still get the follwoing after geting a list of files, it does come back.&lt;BR /&gt;&lt;BR /&gt;NFS server lijms1 not responding still trying &lt;BR /&gt;NFS server lijms1 not responding still trying &lt;BR /&gt;NFS server lijms1 ok&lt;BR /&gt;&lt;BR /&gt;Thank you for all the assistance.</description>
      <pubDate>Fri, 19 Jan 2007 00:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023455#M544977</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-19T00:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023456#M544978</link>
      <description>Will look for answers agian sometime.</description>
      <pubDate>Fri, 19 Jan 2007 00:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023456#M544978</guid>
      <dc:creator>Michael Allmer</dc:creator>
      <dc:date>2007-01-19T00:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: NFS timeout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023457#M544979</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;Now that you're using TCP, I think this is your new problem:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; entry in /etc/fstab is;&lt;BR /&gt;&amp;gt; lijms1:/camdsk /camdsk nfs &lt;BR /&gt;&amp;gt; rw,suid,soft,retry=2,retrans=8,timeo=30&lt;BR /&gt;&lt;BR /&gt;With TCP mounts you definitely want to get rid of all the mount options and just use the defaults.  The retry, retrans, and timeo options will wreak havoc with TCP mounts.  &lt;BR /&gt;&lt;BR /&gt;My recommendation is to remove all the mount options from the /etc/fstab entry and just use the defaults.  On 11.0 systems, the only mount options I typically change are the "rsize" and "wsize" options, since those default to 8K on 11.0 and 32K on every release after 11.0.  I wouldn't have suggested 32K reads and writes with UDP in your environment (you're having enough problems with 8K reads and writes) but now that you've switched to TCP if you get rid of the other mount options you can try experimenting with larger rsize/wsize mount options as well.  You may find the combination of TCP, 32K reads/writes and default for all other mount options actually increases your performance significantly.&lt;BR /&gt;&lt;BR /&gt;I suggest you do a quick test to see if removing all the mount options will work.  Try this:&lt;BR /&gt;&lt;BR /&gt;# mkdir /nfstest&lt;BR /&gt;# mount lijms1:/camdsk /nfstest&lt;BR /&gt;&lt;BR /&gt;Then try issuing the commands in the /nfstest directory.  If it works as desired then you can try this:&lt;BR /&gt;&lt;BR /&gt;# umount /nfstest&lt;BR /&gt;# mount -o rsize=32768,wsize=32768 lijms1:/camdsk /nfstest&lt;BR /&gt;&lt;BR /&gt;See if the new rsize/wsize gives even better performance.  It may have no effect on the performance of reading the directory but it may improve things for reading and writing actual files.&lt;BR /&gt;&lt;BR /&gt;Once you decide on a "good" set of mount options you can modify your /etc/fstab entry for the real mount point accordingly.  Then just unmount/remount with the new options and you're done.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jan 2007 02:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-timeout/m-p/5023457#M544979</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2007-01-19T02:16:53Z</dc:date>
    </item>
  </channel>
</rss>

