<?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: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501976#M86874</link>
    <description>Do You run rpc.lockd on the SLES box?&lt;BR /&gt;Is it seen as registered via rpcinfo -p linux_box from hp-ux?</description>
    <pubDate>Sat, 12 Mar 2005 08:05:19 GMT</pubDate>
    <dc:creator>Florian Heigl (new acc)</dc:creator>
    <dc:date>2005-03-12T08:05:19Z</dc:date>
    <item>
      <title>HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501970#M86868</link>
      <description>I have a number of HP-UX 11.0 clients attempting to mount an NFS volume from a SLES 9 server (kernel 2.6.5-7.147, though I've successfully demonstrated the problem with every 2.6 based distribution I've tried.)  The mount succeeds, and files can be accessed, but applications cannot obtain locks on files in any directory unless the directories are given world read permission.&lt;BR /&gt;&lt;BR /&gt;The filesystem is exported as follows:&lt;BR /&gt;&lt;BR /&gt;/export/data/proj_test *(rw,insecure,no_auth_nlm,no_root_squash,sync)&lt;BR /&gt;&lt;BR /&gt;I've read a number of threads on this, including a nearly identical problem on ITRC that suggested adding the no_auth_nlm flag for linux 2.4.x kernels.  As you can see, I've tried this with no effect.  I've also tried loading the capability module, as suggested elsewhere, but this also has no effect.&lt;BR /&gt;&lt;BR /&gt;I've been using the following code to test whether file locking works:&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;FCNTL.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;ERRNO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main ( int argc, char **argv) &lt;BR /&gt;{&lt;BR /&gt; // Open the file specified on the command line.&lt;BR /&gt;&lt;BR /&gt; int fd;&lt;BR /&gt;&lt;BR /&gt; struct flock fl;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; fl.l_type = F_WRLCK;&lt;BR /&gt; fl.l_whence = SEEK_SET; /* SEEK_SET, SEEK_CUR, SEEK_END */&lt;BR /&gt; fl.l_start = 0;        /* Offset from l_whence         */&lt;BR /&gt; fl.l_len = 0;        /* length, 0 = to EOF           */&lt;BR /&gt; fl.l_pid = getpid(); /* our PID                      */&lt;BR /&gt;&lt;BR /&gt; fd = open ( argv[1], O_WRONLY );&lt;BR /&gt;&lt;BR /&gt; // Lock&lt;BR /&gt; if ( fcntl(fd, F_SETLKW, &amp;amp;fl) ) {&lt;BR /&gt;  printf ("Cannot get write lock on %s.\n", argv[1]);&lt;BR /&gt; } else {&lt;BR /&gt;  printf ("Obtained write lock on %s.\n", argv[1]);&lt;BR /&gt; }&lt;BR /&gt;  &lt;BR /&gt; // unlock&lt;BR /&gt; fl.l_type = F_UNLCK;&lt;BR /&gt;&lt;BR /&gt; if ( fcntl(fd, F_SETLK, &amp;amp;fl) ) {&lt;BR /&gt;  printf ("Cannot releae lock on %s.\n", argv[1]);&lt;BR /&gt; } else {&lt;BR /&gt;  printf ("Released lock on %s.\n", argv[1]);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; close (fd);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/ERRNO.H&gt;&lt;/SYS&gt;&lt;/FCNTL.H&gt;&lt;/UNISTD.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Thu, 10 Mar 2005 10:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501970#M86868</guid>
      <dc:creator>Scott F. Crosby</dc:creator>
      <dc:date>2005-03-10T10:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501971#M86869</link>
      <description>Are you current on HP-UX nfs patches (its hard to be current).&lt;BR /&gt;&lt;BR /&gt;I have two HP-UX servers 11i D class that nfs connect to a Fedora Core 3 server with the 2.6.5.1 kernel and do not encounter any issues.&lt;BR /&gt;&lt;BR /&gt;Due to the horrific way that RH implemented samba and cifs, I have to use NFS to access common web content.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Mar 2005 12:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501971#M86869</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-10T12:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501972#M86870</link>
      <description>I have installed the latest quality pack for 11.0 (March 2004) with no effect.  I've also run the patch manager for HP reccommended patches and applied the generated bundle, also with no effect.  Do you know of any applicable NFS patches that wouldn't be included in these two patch locations?</description>
      <pubDate>Thu, 10 Mar 2005 13:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501972#M86870</guid>
      <dc:creator>Scott F. Crosby</dc:creator>
      <dc:date>2005-03-10T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501973#M86871</link>
      <description>On hp-ux side, send -usr2 signal to rpc.mountd. This would put it in debug mode. Try running your application. Check the debug log file now. &lt;BR /&gt;&lt;BR /&gt;Unless we get something, we can not get started on the problem. &lt;BR /&gt;&lt;BR /&gt;For debugging, you may want to use ethreal, hp-ux nettl.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 10 Mar 2005 15:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501973#M86871</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-10T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501974#M86872</link>
      <description>Turning on debugging for rpc.mountd didn't produce any useful output; the log just indicates that debugging was turned on.&lt;BR /&gt;&lt;BR /&gt;rpc.lockd, however, is a different story.  Attached are tcpdumps and rpc.lockd logs for a failed attempt (directory set to 770) and a successful attempt (directory set to 775.)&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Mar 2005 16:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501974#M86872</guid>
      <dc:creator>Scott F. Crosby</dc:creator>
      <dc:date>2005-03-10T16:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501975#M86873</link>
      <description>There are lots of NFS patches not included in the quarterly updates. They have not been widely tested enough to make three star status, or they made three star status after the last quarterly update.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www6.itrc.hp.com/service/patch/search.do" target="_blank"&gt;http://www6.itrc.hp.com/service/patch/search.do&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search by keyword NFS&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Mar 2005 16:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501975#M86873</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-10T16:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501976#M86874</link>
      <description>Do You run rpc.lockd on the SLES box?&lt;BR /&gt;Is it seen as registered via rpcinfo -p linux_box from hp-ux?</description>
      <pubDate>Sat, 12 Mar 2005 08:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501976#M86874</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-03-12T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.0 NFS Client Problem with Linux 2.6 NFS Server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501977#M86875</link>
      <description>Absolutely, though SLES9 uses the kernel lock daemon.  I wouldn't be able to obtain a lock with the directories wide open if it weren't running.</description>
      <pubDate>Mon, 14 Mar 2005 07:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-0-nfs-client-problem-with-linux-2-6-nfs-server/m-p/3501977#M86875</guid>
      <dc:creator>Scott F. Crosby</dc:creator>
      <dc:date>2005-03-14T07:33:21Z</dc:date>
    </item>
  </channel>
</rss>

