<?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: TCP/IP Services NFS server reports wrong file length of &amp;quot;variable length&amp;quot; files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370498#M57701</link>
    <description>&lt;BR /&gt;&amp;gt;&amp;gt; TCPIP$CFS_MODUS_OPERANDI Defines various operating modes. Use only under the advice of your HP support representative. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And you did.&lt;BR /&gt;M. T. Hollinger aka Myth is the man!&lt;BR /&gt;He trumps a support represenatative.&lt;BR /&gt;He owns the OpenVMS TCP/IP code stack!&lt;BR /&gt;&lt;BR /&gt;The 512 represents 1 bit in this flag&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Mar 2009 12:23:55 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2009-03-04T12:23:55Z</dc:date>
    <item>
      <title>TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370492#M57695</link>
      <description>Im using:&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 - ECO 2&lt;BR /&gt;  on an HP rx2660  (1.67GHz/9.0MB) running OpenVMS V8.3-1H1&lt;BR /&gt;OpenVMS operates as a NFS Server for a linux (kernel 2.6) PPC system:&lt;BR /&gt;(algol:/SBHOME/ZBA31_TEST2 on /nas type nfs (rw,vers=3,rsize=32768,wsize=32768,hard,intr,proto=tcp,timeo=70,retrans=3,sec=sys,addr=a))&lt;BR /&gt;I have the following problem:&lt;BR /&gt;1.) create a new file h.h on OpenVMS (the default record format is "variable &lt;BR /&gt;length"):&lt;BR /&gt;$ create h.h&lt;BR /&gt;Test&lt;BR /&gt;Test1&lt;BR /&gt;Test2^Z&lt;BR /&gt;2.) cat h.h on unix site is o.k.&lt;BR /&gt;3.) copy this file to a new filename:&lt;BR /&gt;$ copy h.h h1.h&lt;BR /&gt;4.) cat h1.h lists additional characters after the end of the file&lt;BR /&gt;5.) cat h1.h again works fine&lt;BR /&gt;&lt;BR /&gt;I get the same problem, if I use fopen in C.&lt;BR /&gt;I analysed the problem using tcptrace. The result was, that the NFS server sends a wrong file length in the first request and the correct value in the second request. Modification time is different between the first and second call as well.&lt;BR /&gt;Has anybody a hint for me ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 11:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370492#M57695</guid>
      <dc:creator>Michael Gehre</dc:creator>
      <dc:date>2009-03-03T11:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370493#M57696</link>
      <description>You've found what looks to be an NFS bug in ECO 2. &lt;BR /&gt;&lt;BR /&gt;Do try ECO 3, though I don't see anything relevant there.  (If you contact support, they're going to ask you to try replicating this on ECO 3.)&lt;BR /&gt;&lt;BR /&gt;As an alternative, use Stream LF when working with Unix or Mac OS X or Linux or Windows, and not VFC.&lt;BR /&gt;&lt;BR /&gt;NFS tries to use some magic known as an ADF here to do the file format conversion, and there's a discussion of file-level portability and such at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://64.223.189.234/node/302" target="_blank"&gt;http://64.223.189.234/node/302&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you've gone as far as tcptrace and found the bad data originating from the server, then you've found what appears to be a bug in the HP NFS server code, and that should be reported to HP.  &lt;BR /&gt;&lt;BR /&gt;If as I suspect you're reporting this in ITRC because you don't have a support contract, package up the full reproducer and the trace and hope somebody at HP is interested in looking at this and resolving the bug.  The support folks are probably busy with support customers, so I'd not count on a fix getting incorporated, either.   &lt;BR /&gt;&lt;BR /&gt;And pending a fix, consider alternatives.  Like not using VFC.  And do consider trying ECO 3.</description>
      <pubDate>Tue, 03 Mar 2009 12:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370493#M57696</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-03T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370494#M57697</link>
      <description>&lt;BR /&gt;I agree with Hoff that this counds like NFS issue. But maybe it is triggered by subtle changes in file attributes. Copy should leave basic attributes in place, but it wouldn't hurt to check. For example, maybe the 'File length hints' got munged in the process.&lt;BR /&gt;Check with $DUMP/BLOC=COUN=0/HEAD &lt;BR /&gt;or use DCL lexical:&lt;BR /&gt;&lt;BR /&gt;write sys$output f$file("h.h","FILE_LENGTH_HINT")&lt;BR /&gt;Other 'intersting' attributes: EOF,FFB,RFM,RAT&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 16:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370494#M57697</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-03T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370495#M57698</link>
      <description>You could try &lt;BR /&gt;$ ANALYZE/RMS_FILE/UPDATE_HEADER&lt;BR /&gt;&lt;BR /&gt;to update the file header</description>
      <pubDate>Tue, 03 Mar 2009 16:39:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370495#M57698</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2009-03-03T16:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370496#M57699</link>
      <description>Have you tried defining the TCPIP$CFS_MODUS_OPERANDI logical name as 512 prior to starting the NFS server?&lt;BR /&gt;&lt;BR /&gt;       - M</description>
      <pubDate>Wed, 04 Mar 2009 03:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370496#M57699</guid>
      <dc:creator>M. T. Hollinger</dc:creator>
      <dc:date>2009-03-04T03:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370497#M57700</link>
      <description>Thank you to all for the quick response. At first I needed a quick solution because one of our customers was in trouble regarding this behaviour. The next step will be to send an detailed error description to the HP people.&lt;BR /&gt;So what did I do:&lt;BR /&gt;1.) installing ECO 3 of TCPIP&lt;BR /&gt;==&amp;gt; error was not fixed, but additional information:&lt;BR /&gt;For monitoring system activities I used &lt;BR /&gt;$ reply/enable=(network,central,security)&lt;BR /&gt;So I noticed, that the NFS server connection was automatically broken after a timeout time. If I tried the cat h1.h command after this timeout I could generate the error.&lt;BR /&gt;&lt;BR /&gt;2.) using tcpip$cfs_modus_operandi&lt;BR /&gt;$ @sys$startup:tcpip$nfs_shutdown&lt;BR /&gt;$ define/system/exec -&lt;BR /&gt;   tcpip$cfs_modus_operandi 512&lt;BR /&gt;$ @sys$startup:tcpip$nfs_startup&lt;BR /&gt;==&amp;gt; It works well !!&lt;BR /&gt;&lt;BR /&gt;3.) I read the TCPIP manual and was a little bit confused because of the warning of HP:&lt;BR /&gt;TCPIP$CFS_MODUS_OPERANDI  Defines various operating modes. Use only under the advice of your HP support representative.  &lt;BR /&gt;&lt;BR /&gt;But there is a service article (Dokument-ID: emr_na-c01624638-1) to be found in the IT Resource center, describing the solution. So I will use it.&lt;BR /&gt;&lt;BR /&gt;Thanks again to all ! &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Mar 2009 08:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370497#M57700</guid>
      <dc:creator>Michael Gehre</dc:creator>
      <dc:date>2009-03-04T08:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Services NFS server reports wrong file length of "variable length" files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370498#M57701</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt; TCPIP$CFS_MODUS_OPERANDI Defines various operating modes. Use only under the advice of your HP support representative. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And you did.&lt;BR /&gt;M. T. Hollinger aka Myth is the man!&lt;BR /&gt;He trumps a support represenatative.&lt;BR /&gt;He owns the OpenVMS TCP/IP code stack!&lt;BR /&gt;&lt;BR /&gt;The 512 represents 1 bit in this flag&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Mar 2009 12:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcp-ip-services-nfs-server-reports-wrong-file-length-of-quot/m-p/4370498#M57701</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-04T12:23:55Z</dc:date>
    </item>
  </channel>
</rss>

