<?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 Large File systems in Bash Shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555483#M225699</link>
    <description>Hi ,&lt;BR /&gt;   My application is residing in a HP UX 9000/800 Superdome Machine. I am using a bash shell ( my application requires it ) and some time I will have to manupilate files more than 2 GB of size . In bash shell I am not able to do it . It is showing the error " File too large". &lt;BR /&gt;  The disk supports large file system and in SH shell I am able to do . Is there any way to manipulate large files in Bash shell . &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
    <pubDate>Wed, 01 Jun 2005 04:23:42 GMT</pubDate>
    <dc:creator>Kiran_27</dc:creator>
    <dc:date>2005-06-01T04:23:42Z</dc:date>
    <item>
      <title>Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555483#M225699</link>
      <description>Hi ,&lt;BR /&gt;   My application is residing in a HP UX 9000/800 Superdome Machine. I am using a bash shell ( my application requires it ) and some time I will have to manupilate files more than 2 GB of size . In bash shell I am not able to do it . It is showing the error " File too large". &lt;BR /&gt;  The disk supports large file system and in SH shell I am able to do . Is there any way to manipulate large files in Bash shell . &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
      <pubDate>Wed, 01 Jun 2005 04:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555483#M225699</guid>
      <dc:creator>Kiran_27</dc:creator>
      <dc:date>2005-06-01T04:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555484#M225700</link>
      <description>Large file support are based on file system based not based on SHELL type. You can use fsadm command to tune a file system with Large Files supported.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Wed, 01 Jun 2005 04:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555484#M225700</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-01T04:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555485#M225701</link>
      <description>Hi Kiran,&lt;BR /&gt;&lt;BR /&gt;Could this be a ulimit problem?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1117618489969+28353475&amp;amp;threadId=114562" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1117618489969+28353475&amp;amp;threadId=114562&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 01 Jun 2005 04:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555485#M225701</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-06-01T04:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555486#M225702</link>
      <description>I am able to do the manipulations in SH shell but not in Bash Shell for large file system. &lt;BR /&gt;&lt;BR /&gt;  So I feel it has something to do with shells. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
      <pubDate>Wed, 01 Jun 2005 04:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555486#M225702</guid>
      <dc:creator>Kiran_27</dc:creator>
      <dc:date>2005-06-01T04:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555487#M225703</link>
      <description>Hi Kiran,&lt;BR /&gt;&lt;BR /&gt;1. Run "fsadm [-F vxfs] path_of_mount_pt" on the filesystem where this command is giving error. If the o/p is nolargefiles, then you would need to enable largefile support to this filesystem:&lt;BR /&gt;# fsadm -F vxfs -o largefiles path_of_mount_pt&lt;BR /&gt;&lt;BR /&gt;2. Issue "ulimit" command, and check the o/p, if o/p normally is unlimited, if not, then set it to unlimited:&lt;BR /&gt;# ulimit -Hf unlimited&lt;BR /&gt;# ulimit -f unlimited&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 01 Jun 2005 05:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555487#M225703</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-06-01T05:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555488#M225704</link>
      <description>Meaning of options available in ulimit:&lt;BR /&gt;&lt;BR /&gt;OPTIONS&lt;BR /&gt;   -a   All current limits are reported. &lt;BR /&gt;   -c   The maximum size of core files created. &lt;BR /&gt;   -d   The maximum size of a process's data segment. &lt;BR /&gt;   -f   The maximum size of files created by the shell. (This is the default option) &lt;BR /&gt;   -H   Change and report the hard limit associated with a resource. &lt;BR /&gt;   -l   The maximum size that may be locked into memory. &lt;BR /&gt;   -m   The maximum resident set size. &lt;BR /&gt;   -n   The maximum number of open file descriptors. &lt;BR /&gt;   -p   The pipe buffer size. &lt;BR /&gt;   -s   The maximum stack size. &lt;BR /&gt;   -S   Change and report the soft limit associated with a resource. &lt;BR /&gt;   -t   The maximum amount of cpu time in seconds. &lt;BR /&gt;   -u   The maximum number of processes available to a single user. &lt;BR /&gt;   -v   The maximum amount of virtual memory available to the process.</description>
      <pubDate>Wed, 01 Jun 2005 05:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555488#M225704</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-06-01T05:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555489#M225705</link>
      <description>The output of the ulimit shows the following&lt;BR /&gt;core file size (blocks)     2097151&lt;BR /&gt;data seg size (kbytes)      1048576&lt;BR /&gt;file size (blocks)          unlimited&lt;BR /&gt;max memory size (kbytes)    unlimited&lt;BR /&gt;open files                  1200&lt;BR /&gt;pipe size (512 bytes)       16&lt;BR /&gt;stack size (kbytes)         8192&lt;BR /&gt;cpu time (seconds)          unlimited&lt;BR /&gt;max user processes          1001&lt;BR /&gt;virtual memory (kbytes)     unlimited&lt;BR /&gt;&lt;BR /&gt; My concern is if we were able to do file manipulation in SH shell , then why we are not able to do it in BASH Shell. Does bash have any limit for the max data size</description>
      <pubDate>Wed, 01 Jun 2005 06:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555489#M225705</guid>
      <dc:creator>Kiran_27</dc:creator>
      <dc:date>2005-06-01T06:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555490#M225706</link>
      <description>Hi Kiran,&lt;BR /&gt;&lt;BR /&gt;Did u check the ulimit -a output by changing your current shell to bash shell?&lt;BR /&gt;&lt;BR /&gt;Within the script, try increasing ulimit...&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;ulimit -Hf unlimited&lt;BR /&gt;ulimit -f unlimited&lt;BR /&gt;..&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 01 Jun 2005 23:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555490#M225706</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-06-01T23:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555491#M225707</link>
      <description>Below are the output with different shell&lt;BR /&gt;BASH&lt;BR /&gt;bash-2.05$ ulimit -a&lt;BR /&gt;core file size (blocks)     2097151&lt;BR /&gt;data seg size (kbytes)      1048576&lt;BR /&gt;file size (blocks)          unlimited&lt;BR /&gt;max memory size (kbytes)    unlimited&lt;BR /&gt;open files                  1200&lt;BR /&gt;pipe size (512 bytes)       16&lt;BR /&gt;stack size (kbytes)         8192&lt;BR /&gt;cpu time (seconds)          unlimited&lt;BR /&gt;max user processes          1001&lt;BR /&gt;virtual memory (kbytes)     unlimited&lt;BR /&gt;&lt;BR /&gt;SH Shell&lt;BR /&gt; ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 1200&lt;BR /&gt;&lt;BR /&gt;  As you can see it is some setting issue with Bash shell , but could not figure out which one....&lt;BR /&gt;Hope you have some idea of what is happening ? &lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
      <pubDate>Thu, 02 Jun 2005 00:42:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555491#M225707</guid>
      <dc:creator>Kiran_27</dc:creator>
      <dc:date>2005-06-02T00:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Large File systems in Bash Shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555492#M225708</link>
      <description>Hi Kiran,&lt;BR /&gt;&lt;BR /&gt;I've been working on it for long, and at last i am able to get something. Here 'getrlimit' &amp;amp; 'setrlimit' might come into picture.&lt;BR /&gt;&lt;BR /&gt;man getrlimit&lt;BR /&gt;&lt;BR /&gt;Do you have gcc installed? If no, download it from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A small c program will be able to get RLIMIT_FSIZE parameter...&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;        struct rlimit rlimit_cur;&lt;BR /&gt;&lt;BR /&gt;        getrlimit(RLIMIT_FSIZE, &amp;amp;rlimit_cur);&lt;BR /&gt;        printf("cur: %lu max: %lu\n", rlimit_cur.rlim_cur, rlimit_cur.rlim_max);&lt;BR /&gt;        return(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;In my system the o/p was:&lt;BR /&gt;cur: 2147483647 max: 2147483647&lt;BR /&gt;&lt;BR /&gt;Now this is equal to 2 GB.&lt;BR /&gt;&lt;BR /&gt;You might have to increase this limit! (I am not very sure)&lt;/STDIO.H&gt;&lt;/UNISTD.H&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 02 Jun 2005 02:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/large-file-systems-in-bash-shell/m-p/3555492#M225708</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-06-02T02:57:07Z</dc:date>
    </item>
  </channel>
</rss>

