<?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 Locking: HP-UX/Linux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554365#M585607</link>
    <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would think that the sofware is calling&lt;BR /&gt;lockf  and not flock.&lt;BR /&gt;Even if there was a "lo_lock"  option for the&lt;BR /&gt;hp-ux mount command  I am sure that would&lt;BR /&gt;not be a solution to your problem.  &lt;BR /&gt;When a program  uses  file-locking you must&lt;BR /&gt;assume that it is needed.  So disabling&lt;BR /&gt;file-locking while the software thinks it is&lt;BR /&gt;using it is no solution.&lt;BR /&gt;I advise you to write a small c-program&lt;BR /&gt;to test the  file-locking mechanisme  between&lt;BR /&gt;Linux and HP-UX.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Jun 2002 10:44:53 GMT</pubDate>
    <dc:creator>Olav Baadsvik</dc:creator>
    <dc:date>2002-06-19T10:44:53Z</dc:date>
    <item>
      <title>NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554361#M585603</link>
      <description>I'm having some trouble getting NFS Locking to work between HP-UX and Linux.&lt;BR /&gt;&lt;BR /&gt;I have a Linux file server, running kernel version 2.4, and a HP-UX client (11.00), using AutoFS (NFS PV3).&lt;BR /&gt;&lt;BR /&gt;When my software (IC446, Cadence) on the HP-UX machine tries to execute a flock command, it receives the error ENOLCK.  (Meaning that the System lock table is full... too many files have file locks on them etc. [See errno(2) for ENOLCK (HP man pages)].) &lt;BR /&gt;&lt;BR /&gt;Things work with HP-UX client/server, but when I bring the Linux server in, that's when the problems start.&lt;BR /&gt;&lt;BR /&gt;It there an equivilent mount option "no_lock" that exists under Linux for HP-UX?  The "no_lock" option, to my understanding, forces the client to not use locking, which in turn, causes flock to return no error, without the file really being locked.&lt;BR /&gt;&lt;BR /&gt;Could anyone shed any light on this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance... --anc</description>
      <pubDate>Wed, 18 Jul 2001 15:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554361#M585603</guid>
      <dc:creator>Aaron Caine</dc:creator>
      <dc:date>2001-07-18T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554362#M585604</link>
      <description>Maybe you can increase the number of lock : "nflocks" of the HP kernel parameter to solve this problem ?</description>
      <pubDate>Thu, 19 Jul 2001 05:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554362#M585604</guid>
      <dc:creator>Frank Li</dc:creator>
      <dc:date>2001-07-19T05:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554363#M585605</link>
      <description>Is it possible you need to use NFS PV_2_ and use automount instead of AutoFS?</description>
      <pubDate>Fri, 20 Jul 2001 11:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554363#M585605</guid>
      <dc:creator>Paul R. Dittrich</dc:creator>
      <dc:date>2001-07-20T11:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554364#M585606</link>
      <description>I have the same problems (on HP-UX from 10.20 to 11.11!), either with or without AutoFS. NFS-V2 is no option for me, 'cause it made big trouble starting with not seeing any nfsshares anymore and such. Anybody has hints, tips or patches??&lt;BR /&gt;&lt;BR /&gt;Ciao&lt;BR /&gt;Klaus</description>
      <pubDate>Wed, 19 Jun 2002 10:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554364#M585606</guid>
      <dc:creator>PT_2</dc:creator>
      <dc:date>2002-06-19T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554365#M585607</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would think that the sofware is calling&lt;BR /&gt;lockf  and not flock.&lt;BR /&gt;Even if there was a "lo_lock"  option for the&lt;BR /&gt;hp-ux mount command  I am sure that would&lt;BR /&gt;not be a solution to your problem.  &lt;BR /&gt;When a program  uses  file-locking you must&lt;BR /&gt;assume that it is needed.  So disabling&lt;BR /&gt;file-locking while the software thinks it is&lt;BR /&gt;using it is no solution.&lt;BR /&gt;I advise you to write a small c-program&lt;BR /&gt;to test the  file-locking mechanisme  between&lt;BR /&gt;Linux and HP-UX.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 10:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554365#M585607</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-06-19T10:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: NFS Locking: HP-UX/Linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554366#M585608</link>
      <description>Folks,&lt;BR /&gt;&lt;BR /&gt;The original posting for this was in July, 2001.  &lt;BR /&gt;&lt;BR /&gt;However I have thought about a couple of things.  Assuming all the usual attempts have been made to clear up NFS file locking issues, for example as noted in &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb27a5220af9bd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb27a5220af9bd5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;then I would suggest trying to use the undocumented -C parameter on the HP-UX rpc.lockd, to see if that clears up the issue.  The -C flag is required to correct an HP-UX behavior in certain lock NLM_CANCEL case.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Thu, 20 Jun 2002 13:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfs-locking-hp-ux-linux/m-p/2554366#M585608</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2002-06-20T13:59:39Z</dc:date>
    </item>
  </channel>
</rss>

