<?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: file size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791742#M79900</link>
    <description>&lt;BR /&gt;DO you have LARGE files enabled on your Filesystem??&lt;BR /&gt;&lt;BR /&gt;You should consider perl over awk.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Thu, 22 Aug 2002 12:46:46 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-08-22T12:46:46Z</dc:date>
    <item>
      <title>file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791740#M79898</link>
      <description>I am using awk to read a file, do some processing and then write to an output file with the 'print field1, field2, ... , fieldn &amp;gt; outfile'. The input file have more than 9 million records, but only more than 7 million records is written to the output file instead of the more than 9 million.&lt;BR /&gt;&lt;BR /&gt;What happens is that as soon as the outfile size reach 2147483136 bytes, it refuse to grow and sommer stops in the middle of an record. I know the maximum displayable digit in Unix scripting is 2147483647 and if one add a 512 byte block size to the outfile size it will exceed that maximum value.&lt;BR /&gt;&lt;BR /&gt;Is this file size a limitation with awk?</description>
      <pubDate>Thu, 22 Aug 2002 12:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791740#M79898</guid>
      <dc:creator>P. Prinsloo</dc:creator>
      <dc:date>2002-08-22T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791741#M79899</link>
      <description>Hi,&lt;BR /&gt;Probably your filesystem does not support "largefiles" (files &amp;gt;2Gb). If you have OnlineJFS you can activate this with :&lt;BR /&gt;#fsadm -o largefiles -F vxfs /your_filesystem&lt;BR /&gt;&lt;BR /&gt;Search the forums with "largefiles" for more information ...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 22 Aug 2002 12:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791741#M79899</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-08-22T12:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791742#M79900</link>
      <description>&lt;BR /&gt;DO you have LARGE files enabled on your Filesystem??&lt;BR /&gt;&lt;BR /&gt;You should consider perl over awk.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 22 Aug 2002 12:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791742#M79900</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-08-22T12:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791743#M79901</link>
      <description>According to the largefiles white paper /usr/share/doc/lg_files.txt awk can handle largefiles but the pattern file will remain small. Here's the reference:&lt;BR /&gt;&lt;BR /&gt;5.2.6 Text Processing Commands&lt;BR /&gt;Below is a list of handy commands that may be used to process files that are large. Each will appropriately handle large data files. However, pattern files for commands such as awk and sed will continue to remain small. There are no new options in this set of&lt;BR /&gt;commands.&lt;BR /&gt;&lt;BR /&gt; awk&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Thu, 22 Aug 2002 12:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791743#M79901</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-08-22T12:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791744#M79902</link>
      <description>It sounds like the filesystem was created without the -olargefiles option.&lt;BR /&gt;&lt;BR /&gt;You can check this by running &lt;BR /&gt;&lt;BR /&gt;mkfs -m /dev/vgXX/lvolYY &lt;BR /&gt;&lt;BR /&gt;where XX and YY are replaced by the numers relevant to your filesystem&lt;BR /&gt;&lt;BR /&gt;eg from one of my systems:&lt;BR /&gt;&lt;BR /&gt;mkfs -m /dev/vg05/lvol13&lt;BR /&gt;mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,largefiles /dev/vg05/lvol13 716800&lt;BR /&gt;&lt;BR /&gt;As you can see, this lists largefiles in the options.</description>
      <pubDate>Thu, 22 Aug 2002 12:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791744#M79902</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-08-22T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791745#M79903</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The filesystem in which the output file is being built does not support largefiles.  The size you cite (2.14748E+09) is the 2GB limit.  You can easily enable largefiles for the filesystem:&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -o largefiles /dev/vgXX/rlvolX&lt;BR /&gt;&lt;BR /&gt;...note the raw logical volume.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Aug 2002 13:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791745#M79903</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-22T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791746#M79904</link>
      <description>I have checked the file system and it has been created with the largefiles option.&lt;BR /&gt;I've also been looking at the kernel and have the following settings &lt;BR /&gt;maxdsiz 163840 &lt;BR /&gt;maxdsiz_64bit  262144      &lt;BR /&gt;maxfiles  2048  &lt;BR /&gt;maxfiles_lim  2048  &lt;BR /&gt;maxssiz 7812  &lt;BR /&gt;maxssiz_64bit 4096   &lt;BR /&gt;&lt;BR /&gt;My system is a N4000 with 6Gig memory and 8 CPUs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 16:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791746#M79904</guid>
      <dc:creator>P. Prinsloo</dc:creator>
      <dc:date>2002-08-22T16:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791747#M79905</link>
      <description>I think, your maxdsiz and maxssiz are in the lower end. Try to increase it. In our system maxdsiz=67108864 and maxssiz=8388608. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Thu, 22 Aug 2002 17:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791747#M79905</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-22T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791748#M79906</link>
      <description>I don't ever remember writing a 2GB file with awk but I have done it with Perl. It would be very helpful to know the value of errno. When awk dies, you should immediately do an echo ${?} and note the result. You might try downloading and installing the Gnu versiopn of awk (gawk) from any of the HP-UX Porting Centre's.&lt;BR /&gt;&lt;BR /&gt;Let'a also not overlook the obvious: ulimit and quotas. I very much doubt that maxdsix and maxssix has anything to do with this.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 17:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791748#M79906</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-22T17:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791749#M79907</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks like you need to enable "largefiles" for the lv in question. This will allow creation of files larger than 2GB on that filesystem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062683990" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062683990&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The Doc id is KBAN00000105&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 19:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-size/m-p/2791749#M79907</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-08-22T19:31:40Z</dc:date>
    </item>
  </channel>
</rss>

