<?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: problem about tar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031939#M301656</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;are the two server identically in hardware and software?&lt;BR /&gt;&lt;BR /&gt;Seems like one server is compressing the files. Newer configurations do this.&lt;BR /&gt;So check /dev/rmt if '0m' is identical to DDS or to BEST. &lt;BR /&gt;&lt;BR /&gt;Can you give us the listing of /dev/rmt of both servers?&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Jul 2007 02:57:59 GMT</pubDate>
    <dc:creator>V. Nyga</dc:creator>
    <dc:date>2007-07-04T02:57:59Z</dc:date>
    <item>
      <title>problem about tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031937#M301654</link>
      <description>I have two servers with DDS4 tape drive.&lt;BR /&gt;I backup some files to DDS3 tape by tar.&lt;BR /&gt;The command is tar cvfp /dev/rmt/0m /sc_var /sc_opt /sc_etc.&lt;BR /&gt;On server1, three tapes are used, but on server2, only one tape is used.&lt;BR /&gt;The file type is the same on two server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Files On Server1:&lt;BR /&gt;/sc_etc                (/dev/vg01/lvol2       ) :   968311 total allocated Kb&lt;BR /&gt;                                                    959172 free allocated Kb&lt;BR /&gt;                                                      9139 used allocated Kb&lt;BR /&gt;                                                         0 % allocation used&lt;BR /&gt;/sc_opt                (/dev/vg01/lvol1       ) :   982578 total allocated Kb&lt;BR /&gt;                                                    744712 free allocated Kb&lt;BR /&gt;                                                    237866 used allocated Kb&lt;BR /&gt;                                                        24 % allocation used&lt;BR /&gt;/sc_var                (/dev/vg01/lvol3       ) : 244029392 total allocated Kb&lt;BR /&gt;                                                  219795544 free allocated Kb&lt;BR /&gt;                                                  24233848 used allocated Kb&lt;BR /&gt;                                                         9 % allocation used           &lt;BR /&gt;&lt;BR /&gt;Files On server2:&lt;BR /&gt;/sc_etc                (/dev/vg01/lvol2       ) :   968077 total allocated Kb&lt;BR /&gt;                                                    961867 free allocated Kb&lt;BR /&gt;                                                      6210 used allocated Kb&lt;BR /&gt;                                                         0 % allocation used&lt;BR /&gt;/sc_opt                (/dev/vg01/lvol1       ) :   980288 total allocated Kb&lt;BR /&gt;                                                    779267 free allocated Kb&lt;BR /&gt;                                                    201021 used allocated Kb&lt;BR /&gt;                                                        20 % allocation used&lt;BR /&gt;/sc_var                (/dev/vg01/lvol3       ) : 244019824 total allocated Kb&lt;BR /&gt;                                                  221010696 free allocated Kb&lt;BR /&gt;                                                  23009128 used allocated Kb&lt;BR /&gt;                                                         9 % allocation used&lt;BR /&gt;&lt;BR /&gt;What's the problem?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 02:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031937#M301654</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2007-07-04T02:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem about tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031938#M301655</link>
      <description>It is a strange problem indeed. But to start with, it seems the command you have written needs to be rearranged as&lt;BR /&gt;tar cvf /dev/rmt/0m .....&lt;BR /&gt;p is required for restoration to preserve the permissions and ownership, and also after the option f you should have specified the name of device onto which you want to tar so p should not have followed f.&lt;BR /&gt;&lt;BR /&gt;If what you have written is just a typo, and you have followed the above suggestion, then the next step would be infact check on the tapes if it has really backed up everything from both the servers by &lt;BR /&gt;tar tvf /dev/rmt/0m | wc -l &lt;BR /&gt;on both servers&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 04 Jul 2007 02:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031938#M301655</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2007-07-04T02:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem about tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031939#M301656</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;are the two server identically in hardware and software?&lt;BR /&gt;&lt;BR /&gt;Seems like one server is compressing the files. Newer configurations do this.&lt;BR /&gt;So check /dev/rmt if '0m' is identical to DDS or to BEST. &lt;BR /&gt;&lt;BR /&gt;Can you give us the listing of /dev/rmt of both servers?&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 02:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031939#M301656</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-07-04T02:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem about tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031940#M301657</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;Yes, the two servers are identical in hardware and software.&lt;BR /&gt;&lt;BR /&gt;server 1:/dev/rmt $ ll&lt;BR /&gt;total 0&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051000 Jul  4 16:38 0m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051080 Dec 21  2006 0mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051040 Jul  2 20:05 0mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0510c0 Dec 21  2006 0mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051000 Jul  4 16:38 c5t1d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051080 Dec 21  2006 c5t1d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051040 Jul  2 20:05 c5t1d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0510c0 Dec 21  2006 c5t1d0BESTnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051001 Dec 21  2006 c5t1d0DDS&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051081 Dec 21  2006 c5t1d0DDSb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051041 Dec 21  2006 c5t1d0DDSn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0510c1 Dec 21  2006 c5t1d0DDSnb&lt;BR /&gt;crw-r--r--   1 bin        bin        205 0xfffffe Dec 21  2006 stape_config&lt;BR /&gt; &lt;BR /&gt;server 2:/dev/rmt $ ll&lt;BR /&gt;total 0&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051000 May 30 12:15 0m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051080 Dec 21  2005 0mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051040 Jul  2 20:06 0mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0510c0 Dec 21  2005 0mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051000 May 30 12:15 c5t1d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051080 Dec 21  2005 c5t1d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x051040 Jul  2 20:06 c5t1d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0510c0 Dec 21  2005 c5t1d0BESTnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051001 Dec 21  2005 c5t1d0DDS&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051081 Dec 21  2005 c5t1d0DDSb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x051041 Dec 21  2005 c5t1d0DDSn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0510c1 Dec 21  2005 c5t1d0DDSnb&lt;BR /&gt;crw-r--r--   1 bin        bin        205 0xfffffe Dec 21  2005 stape_config&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 03:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031940#M301657</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2007-07-04T03:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem about tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031941#M301658</link>
      <description>ok, so both should use compression.&lt;BR /&gt;&lt;BR /&gt;DDS-3 has a capability of 12 GB (or 24 GB if files are uncompressed).&lt;BR /&gt;&lt;BR /&gt;At server1 you have to backup &amp;gt;24 GB, so you have to use more than one tape.&lt;BR /&gt;At server2 it's &amp;lt;24 GB.&lt;BR /&gt;&lt;BR /&gt;First it seems like the directories are not equal - can this be? Are there different files?&lt;BR /&gt;Are the files at server1 already compressed?&lt;BR /&gt;&lt;BR /&gt;You're sure you're using DDS-3 for both servers? :-)&lt;BR /&gt;&lt;BR /&gt;I think the next step would be like Ninad said - check the content of the tapes - either like he said with wc - or create a listing with 'tar tvf ... &amp;gt; server?.txt'.&lt;BR /&gt;I would add a line for every tape change you have to do ('echo tape.change&amp;gt;&amp;gt;server?.txt') and look what's different between 1 and 2.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 04:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-about-tar/m-p/4031941#M301658</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-07-04T04:27:01Z</dc:date>
    </item>
  </channel>
</rss>

