<?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, Linux, and DAT drives questions in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535811#M54652</link>
    <description>The parameter to send tar is how many 512k blocks.&lt;BR /&gt;&amp;gt;&amp;gt; Actually, it is 512 bytes, not 512k&lt;BR /&gt;&lt;BR /&gt;DDS-1: use 10 with tar so I get 10 x 512 = 5120 &lt;BR /&gt;&amp;gt;&amp;gt; Yes, this is correct&lt;BR /&gt;&lt;BR /&gt;I also have a HP DDS-2, and I don't want to wear it out prematures, what block size shoudl I use with it?&lt;BR /&gt;&amp;gt;&amp;gt; Depends on the sort of data you're backing up with the thing. I would definately go for 5k blocksize minimum.&lt;BR /&gt;&lt;BR /&gt;The premature wear is caused when the drive is not allowed to write the data in one fluent, streaming motion but has to stop and wait for data to come from the host. All this stopping and starting is putting a lot of additional wear on the drive but also on your tapes. Something to be aware of....&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Cal.&lt;BR /&gt;</description>
    <pubDate>Sun, 10 Jun 2001 07:32:36 GMT</pubDate>
    <dc:creator>Eric de Lange_2</dc:creator>
    <dc:date>2001-06-10T07:32:36Z</dc:date>
    <item>
      <title>tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535806#M54647</link>
      <description>&lt;P&gt;These questions based on following inst on &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/cposupport/information_storage/support_doc/lpg51060.html" target="_blank"&gt;http://www.hp.com/cposupport/information_storage/support_doc/lpg51060.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Thanks very much for the previous answers about my older DDS-1 drive. I have the unit working (sort of). I have 2 more HP DDS-2 drives on the way I liked this one so much . &lt;BR /&gt;&lt;BR /&gt;If I issued a &lt;BR /&gt;mt -f /dev/st0 retension &lt;BR /&gt;I got errors but since I'm told DAT does not need retensioning, that was probably why.&lt;BR /&gt;&lt;BR /&gt;If I do: &lt;BR /&gt;mt -f /dev/st0 rewind &lt;BR /&gt;it takes it, and I assume it rewinds, this is good.&lt;BR /&gt;&lt;BR /&gt;But I tried setting the dips to have host control of compression , and then issued: &lt;BR /&gt;mt -f /dev/st0 compression &lt;BR /&gt;(inst. said to use "datacompression" but that's not an option with my mt) &lt;BR /&gt;but I get &lt;BR /&gt;Input/Output Error&lt;BR /&gt;when trying that. I guess I'll set the dip's to force compression unless someone has a suggestion. &lt;BR /&gt;&lt;BR /&gt;Finally, I followed another example on this form to use tar to back up and restore some files. The command included an argument for block size of 20. When I issue the tar command with that argument, it chokes but works OK without it. What block size should I use with this drive, and where/how would one set it's default? HP's tech docs say if it's on UNIX, see you system administrator, but that's me and I haven't got a clue how to set/change the block size. Again, &amp;amp; FWIW, I'm running Linux kernel 2.4.5 with a Buslogic SCSI card. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks very much for your time to help me. &lt;BR /&gt;&lt;BR /&gt;Scott &lt;BR /&gt;Nashville, TN &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from General to Linux &amp;gt; sysadmin. - Hp Forum Moderator&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 02:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535806#M54647</guid>
      <dc:creator>Scott Horton</dc:creator>
      <dc:date>2014-09-02T02:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535807#M54648</link>
      <description>Hello Scott,&lt;BR /&gt;&lt;BR /&gt;The correct syntax to enable compression with mt is: 'mt -f /dev/st0 datcompression on'&lt;BR /&gt;&lt;BR /&gt;Tar and cpio by default use 512byte blocks. With older and slower tapedevices like DDS1 that is not too much of a problem. With faster tape devices this gets more important especially with the Ultriums that pump away 30MB/sec.&lt;BR /&gt;&lt;BR /&gt;I'd use the 'b' option in tar that gives a blocksize of 5120bytes. ('B' in cpio I think)&lt;BR /&gt;&lt;BR /&gt;If you don't like all this commandline violence for a little backup, there are plenty of nice GUI's that give you a graphical environment on top of these commands. Some are free, some are commercial, check it all out at &lt;A href="http://www.linux.org/apps/all/Administration/Backup.html." target="_blank"&gt;http://www.linux.org/apps/all/Administration/Backup.html.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;&lt;BR /&gt;-Cal.</description>
      <pubDate>Thu, 07 Jun 2001 06:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535807#M54648</guid>
      <dc:creator>Eric de Lange_2</dc:creator>
      <dc:date>2001-06-07T06:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535808#M54649</link>
      <description>&amp;gt;The correct syntax to enable compression with &amp;gt;mt is: 'mt -f /dev/st0 datcompression on' &lt;BR /&gt;&lt;BR /&gt;As I mentioned in the orignal post, "datacompression" is not a valid option with my "mt".  I am using RH Linux 7.1, mt ver is:&lt;BR /&gt;mt-st v. 0.5b&lt;BR /&gt;&lt;BR /&gt;Tar and cpio by default use 512byte blocks. With older and slower tapedevices like DDS1 that is not too much of a problem. With faster tape devices this gets more important especially with the Ultriums that pump away 30MB/sec. &lt;BR /&gt;&lt;BR /&gt;&amp;gt;I'd use the 'b' option in tar that gives a &amp;gt;blocksize of 5120bytes. ('B' in cpio I think) &lt;BR /&gt;&lt;BR /&gt;My tar b option is how many x 512, default of 20.  You are recommending 5,120?  Seems high compared to the default.&lt;BR /&gt;&lt;BR /&gt;Question is what is the best block size (quantity) for a DDS1 and as long as I'm asking DDS-2 drive?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;plenty of nice GUI's that give you a &amp;gt;graphical environment on top of these &amp;gt;commands. Some are free, some are commercial, &lt;BR /&gt;&lt;BR /&gt;Thanks for the links.  But I'm old school, don't even use X on these boxes and still like the command line.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Scott&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 21:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535808#M54649</guid>
      <dc:creator>Scott Horton</dc:creator>
      <dc:date>2001-06-07T21:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535809#M54650</link>
      <description>As I mentioned in the orignal post, "datacompression" is not a valid option with my "mt". I am using RH Linux 7.1, mt ver is: &lt;BR /&gt;mt-st v. 0.5b &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I am running 7.1. I just tested the 'datcompression on' option succesfully. You are typing 'datacompression' which is not an option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My tar b option is how many x 512, default of 20. You are recommending 5,120? Seems high compared to the default. &lt;BR /&gt;&amp;gt;&amp;gt; It is not too high. Most backup applications have a default of 16k or 32k. Omniback even defaults to 56k or 64k with an option to go even higher.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; With DDS1 you are reasonably safe but with higher performing drives using this blocksize will eventually kill the drive prematurely.&lt;BR /&gt;&lt;BR /&gt;Thanks for the links. But I'm old school, don't even use X on these boxes and still like the command line.&lt;BR /&gt;&amp;gt;&amp;gt; point taken.&lt;BR /&gt; &lt;BR /&gt;Have a nice weekend.&lt;BR /&gt;&lt;BR /&gt;-Cal.</description>
      <pubDate>Sat, 09 Jun 2001 07:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535809#M54650</guid>
      <dc:creator>Eric de Lange_2</dc:creator>
      <dc:date>2001-06-09T07:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535810#M54651</link>
      <description>Cal:&lt;BR /&gt;&lt;BR /&gt;I'm embarrassed to see my typo using "data" instead of "dat" as in datcompression.  Thanks very much for helping me see it.&lt;BR /&gt;&lt;BR /&gt;I'm still fuzzy on the block size.  Let me try to phrase the question again to be sure I understand:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The parameter to send tar is how many 512k blocks.  So do you mean, &lt;BR /&gt;&lt;BR /&gt;DDS-1:&lt;BR /&gt;use 10 with tar so I get &lt;BR /&gt;10 x 512 = 5120&lt;BR /&gt;&lt;BR /&gt;or do you mean:&lt;BR /&gt;&lt;BR /&gt;use 5120 as the parameter so it would be &lt;BR /&gt;5120 x 512 = 2621440 &lt;BR /&gt;&lt;BR /&gt;Sorry to be so dense.&lt;BR /&gt;&lt;BR /&gt;I also have a HP DDS-2, and I don't want to wear it out prematures, what block size shoudl I use with it?&lt;BR /&gt;&lt;BR /&gt;Thanks again for the help and clarification!&lt;BR /&gt;&lt;BR /&gt;Scott&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Jun 2001 15:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535810#M54651</guid>
      <dc:creator>Scott Horton</dc:creator>
      <dc:date>2001-06-09T15:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar, Linux, and DAT drives questions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535811#M54652</link>
      <description>The parameter to send tar is how many 512k blocks.&lt;BR /&gt;&amp;gt;&amp;gt; Actually, it is 512 bytes, not 512k&lt;BR /&gt;&lt;BR /&gt;DDS-1: use 10 with tar so I get 10 x 512 = 5120 &lt;BR /&gt;&amp;gt;&amp;gt; Yes, this is correct&lt;BR /&gt;&lt;BR /&gt;I also have a HP DDS-2, and I don't want to wear it out prematures, what block size shoudl I use with it?&lt;BR /&gt;&amp;gt;&amp;gt; Depends on the sort of data you're backing up with the thing. I would definately go for 5k blocksize minimum.&lt;BR /&gt;&lt;BR /&gt;The premature wear is caused when the drive is not allowed to write the data in one fluent, streaming motion but has to stop and wait for data to come from the host. All this stopping and starting is putting a lot of additional wear on the drive but also on your tapes. Something to be aware of....&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Cal.&lt;BR /&gt;</description>
      <pubDate>Sun, 10 Jun 2001 07:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-linux-and-dat-drives-questions/m-p/2535811#M54652</guid>
      <dc:creator>Eric de Lange_2</dc:creator>
      <dc:date>2001-06-10T07:32:36Z</dc:date>
    </item>
  </channel>
</rss>

