<?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: tar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467757#M16038</link>
    <description>Just a tip:&lt;BR /&gt;If you use gnu tar you can also have zip as an option to tar, thus directly reducing the size of the archive a lot.&lt;BR /&gt;/opt/tar/bin/tar cfz /&lt;ARCH_DIR&gt;/fwprod.ztar ./&lt;/ARCH_DIR&gt;</description>
    <pubDate>Tue, 28 Nov 2000 07:23:27 GMT</pubDate>
    <dc:creator>Tommy Palo</dc:creator>
    <dc:date>2000-11-28T07:23:27Z</dc:date>
    <item>
      <title>tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467751#M16032</link>
      <description>Hi Guys !&lt;BR /&gt;  I was just using tar to archive a filesystem of 43 GB. &lt;BR /&gt;I used the command this way&lt;BR /&gt;#tar cvf ./fwprod.tar ./&lt;BR /&gt;It just archived 39GB and exits with&lt;BR /&gt;and Error message&lt;BR /&gt;&lt;BR /&gt;tar: size of ./fwprod.tar &amp;gt; 2GB  Not dumped.&lt;BR /&gt;&lt;BR /&gt;Iam using &lt;BR /&gt;HP-UX 11.0 N4000 -Class Box&lt;BR /&gt;EMC&lt;BR /&gt;&lt;BR /&gt;Any inputs are appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;...Madhu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 00:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467751#M16032</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-11-28T00:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467752#M16033</link>
      <description>I got the answer guys. It looks like tar command has limitation of 2gb and that it is trying to archive fwprod.tar which is in the current directory which is &amp;gt; 2GB. &lt;BR /&gt;&lt;BR /&gt;Another Question is. &lt;BR /&gt;How do I know what all the directories it has tared and which are not ? tar tvf takes a long Is there any other way ???&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;...Madhu&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 01:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467752#M16033</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-11-28T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467753#M16034</link>
      <description>Hi Madhu:&lt;BR /&gt;&lt;BR /&gt;Tar (and cpio) do NOT support files that are larger than 2GB.  See the man pages for 'tar'.  I prefer 'fbackup/frecover' for most backup/restore tasks for its sheer flexability.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 28 Nov 2000 01:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467753#M16034</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-28T01:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467754#M16035</link>
      <description>Madhu:&lt;BR /&gt;&lt;BR /&gt;Take a look at the man pages for fbackup/frecover.  fbackup is designed to be used on filesystems with active files.  It tracks the timestamp of a file as it begins a backup and compares it to that at the end.  If the file has changed, fbackup will retry (maxretires) times.&lt;BR /&gt;&lt;BR /&gt;Files to backup are controlled by a "graph" which can be a simple ASCII file containing file and/or directory names to include (-i) and exclude (-e).  You can easily define directories to backup while excluding subdirectories and/or individual files.  Full as well as incremental backups are supported.&lt;BR /&gt;&lt;BR /&gt;Fbackup and frecover can be executed with verbose (-v) logging.  Redirecting or tee-ing the this output into a log of your choice allows you to create a record of what was backed-up.  Alternately, frecover can be used to create a tape directory listing without recovering anything.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 28 Nov 2000 01:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467754#M16035</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-28T01:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467755#M16036</link>
      <description>Hi Madhu,&lt;BR /&gt;&lt;BR /&gt;Look at your command:&lt;BR /&gt;#tar cvf ./fwprod.tar ./ &lt;BR /&gt;&lt;BR /&gt;It creates the file ./fwprod.tar and then starts reading the ./ directory to begin archiving.&lt;BR /&gt;At a given time in the process, it will start reading ./fwprod.tar and try to archive it as well.&lt;BR /&gt;I didn't test it, but there's a good chance that this will turn into an endless loop, whatever the global size of date you're writing on the tape.&lt;BR /&gt;&lt;BR /&gt;You'd better, either be more selective in choosing what to archive, or put your archive file in a different location.&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 05:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467755#M16036</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-28T05:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467756#M16037</link>
      <description>Hi Madhu,&lt;BR /&gt;&lt;BR /&gt;As I was curious to see if the 'tar cvf ./fwprod.tar ./ ' would give an error or warning, here is what I got:&lt;BR /&gt;./fwprod.tar: file changed size&lt;BR /&gt;&lt;BR /&gt;A 'tar tvf ./fwprod.tar' was anyway showing ./fwprod.tar as a file in the archive.&lt;BR /&gt;&lt;BR /&gt;So, tar is not looping endlessly but contains data that shouldn't be there...&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 06:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467756#M16037</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-28T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467757#M16038</link>
      <description>Just a tip:&lt;BR /&gt;If you use gnu tar you can also have zip as an option to tar, thus directly reducing the size of the archive a lot.&lt;BR /&gt;/opt/tar/bin/tar cfz /&lt;ARCH_DIR&gt;/fwprod.ztar ./&lt;/ARCH_DIR&gt;</description>
      <pubDate>Tue, 28 Nov 2000 07:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467757#M16038</guid>
      <dc:creator>Tommy Palo</dc:creator>
      <dc:date>2000-11-28T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467758#M16039</link>
      <description>/usr/share/doc/lg_files.txt:&lt;BR /&gt;&lt;BR /&gt;"4.2.1 tar, cpio, pax, ftio&lt;BR /&gt;&lt;BR /&gt;Some of the backup commands, specifically tar, cpio, pax (tar &amp;amp; cpio formats), and ftio (because it creates cpio format archives) are&lt;BR /&gt;restricted from supporting large files due to standards defined headers in the archives. Although the headers allow archival of files&lt;BR /&gt;upto 8GB, there is no guaran- tee that there will be no attempt to restore these files on a system that does not support large files. These commands will therefore support files up to 2GB only. Attempts to archive any files &amp;gt;2GB will fail, and the files will not be added to the archive."</description>
      <pubDate>Tue, 28 Nov 2000 13:31:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467758#M16039</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-11-28T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467759#M16040</link>
      <description>Madhu,&lt;BR /&gt;&lt;BR /&gt;As you were trying to archive 43GB of data in the same filesystem, are you sure that there is more than 43GB of free space in the same filesystem.&lt;BR /&gt;&lt;BR /&gt;If this is really what you want to do, change your command to:&lt;BR /&gt;#tar cvf ./fwprod.tar ./!(fwprod.tar)&lt;BR /&gt;&lt;BR /&gt;This works in posix shell and would at least avoid to archive the archive... ;-))&lt;BR /&gt;&lt;BR /&gt;Should work in ksh as well.&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Nov 2000 13:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467759#M16040</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-28T13:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467760#M16041</link>
      <description>Dan, I think you are wrong about tar trying to archive the "tarfile" as well.  My understanding is that tar expands the shell command and generates the list prior to creating the archive and appending data to it.  &lt;BR /&gt;While I have never done a 43GB file, I have made loads and loads of archives in the same directory as what I am archive and never gotten the tarball in the archive or looped up....&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents worth.....&lt;BR /&gt;&lt;BR /&gt;Also, I prefer as someone else mentioned GNU tar.  There is no 2GB file limit, and you also can compress data prior to adding it to the archive.  If your like me and too cheap to buy software, use what works.  &lt;BR /&gt;Its the choice of a gnu generation!  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 28 Nov 2000 15:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/2467760#M16041</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2000-11-28T15:53:33Z</dc:date>
    </item>
  </channel>
</rss>

