<?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: Unknown tape blocksize in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066482#M139767</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Got a reply from the supplier of the tape, it seems they've created the tape with a blocksize of 64k.&lt;BR /&gt;&lt;BR /&gt;After trying to restore (again) it seems that the tape was rotten, I've got a new tape from the supplier, the restore went fine.&lt;BR /&gt;&lt;BR /&gt;Thanx for your help!</description>
    <pubDate>Mon, 15 Sep 2003 05:12:03 GMT</pubDate>
    <dc:creator>Sander van Dinten</dc:creator>
    <dc:date>2003-09-15T05:12:03Z</dc:date>
    <item>
      <title>Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066469#M139754</link>
      <description>I'm having trouble restoring an ultrium tape to disk, the tape should contain an oracle export file. &lt;BR /&gt;Is there a way to determine the blocksize with which the tape has been created?</description>
      <pubDate>Tue, 09 Sep 2003 05:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066469#M139754</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-09T05:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066470#M139755</link>
      <description>Hi,&lt;BR /&gt;blovk size should not be a real issue, because you can read from the tape and pad data as you want with dd, or simply send data to imp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Real problem is: what format is the tape ?&lt;BR /&gt;&lt;BR /&gt;dd&lt;BR /&gt;cpio&lt;BR /&gt;pax&lt;BR /&gt;fbackup&lt;BR /&gt;omniback&lt;BR /&gt;oracle export&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 05:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066470#M139755</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-09T05:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066471#M139756</link>
      <description>It is an oracle export, but passing the data straight into imp is not possible (we only have a LTO drive on another machine).&lt;BR /&gt;&lt;BR /&gt;Here's a snap from the oracle export log:&lt;BR /&gt;&lt;BR /&gt;Note: RECORDLENGTH=65536 truncated to 65535&lt;BR /&gt;&lt;BR /&gt;I've tried both blocksizes with dd, but it's only restoring 4 or 5 MB's a minute, which should be 500 or more.</description>
      <pubDate>Tue, 09 Sep 2003 05:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066471#M139756</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-09T05:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066472#M139757</link>
      <description>What utility/program did you use to write the data to the tape? fbackup, tar, cpio, etc... The command that you used to make the tape might help point us in the right direction, especially if cpio...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Glen</description>
      <pubDate>Tue, 09 Sep 2003 05:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066472#M139757</guid>
      <dc:creator>Glen Trevino</dc:creator>
      <dc:date>2003-09-09T05:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066473#M139758</link>
      <description>Did you try:&lt;BR /&gt;&lt;BR /&gt;on the server with the LTO (i call it 0m as example)&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m bs=256k of=/big_dir/oracle.dmp&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 05:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066473#M139758</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-09T05:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066474#M139759</link>
      <description>I've issued the following command:&lt;BR /&gt;dd if=/dev/rmt/10m of=/big_dir/oracle.dmp bs=64k&lt;BR /&gt;&lt;BR /&gt;After +/- 5 mins it restored +/- 5 MB which is far to slow.</description>
      <pubDate>Tue, 09 Sep 2003 05:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066474#M139759</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-09T05:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066475#M139760</link>
      <description>Hi,&lt;BR /&gt;if that works, check the speed. You can go up with the parameter bs.&lt;BR /&gt;&lt;BR /&gt;I checked the recordlenght on metalink, and it is only used as a buffer, it should not matter.&lt;BR /&gt;&lt;BR /&gt;Use a larger bs block.&lt;BR /&gt;&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 05:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066475#M139760</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-09T05:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066476#M139761</link>
      <description>This is what Seagate reccommends for writing to their LTO Viper drives with Unix commands that use density and blocking factors.&lt;BR /&gt;&lt;BR /&gt;For commands that use density and tape size settings the tape density is&lt;BR /&gt;124,000 bpi and the tape length is 1800 feet. For commands which use a&lt;BR /&gt;blocking factor we suggest a factor of 128.&lt;BR /&gt;&lt;BR /&gt;try the dd with bs=128k... Although that doesn't mean it was actually written that way...&lt;BR /&gt;&lt;BR /&gt;Glen</description>
      <pubDate>Tue, 09 Sep 2003 05:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066476#M139761</guid>
      <dc:creator>Glen Trevino</dc:creator>
      <dc:date>2003-09-09T05:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066477#M139762</link>
      <description>I've tried your options but it doesn't seem to get faster. But is there a way to determine the block size on tape?</description>
      <pubDate>Tue, 09 Sep 2003 06:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066477#M139762</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-09T06:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066478#M139763</link>
      <description>Another thing to try is the Oracle blocking size. 4K or 8K? Or maybe the filesystem blocking size. 512 bytes? I don't think there is a way to tell what blocking size was used on a tape (besides trial and error, which we're doing...).&lt;BR /&gt;&lt;BR /&gt;Glen</description>
      <pubDate>Tue, 09 Sep 2003 07:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066478#M139763</guid>
      <dc:creator>Glen Trevino</dc:creator>
      <dc:date>2003-09-09T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066479#M139764</link>
      <description>Hi,&lt;BR /&gt;i think that we are not getting fast because we cannot keep the drive streaming....&lt;BR /&gt;&lt;BR /&gt;Can you try the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/10m bs=65535k of=/big_dir/oracle.dmp &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So we should use a block of 65M, it should go.&lt;BR /&gt;&lt;BR /&gt;BTW i do not know how to find out the original block size. Couldn't you ask the person that did the export ?&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 08:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066479#M139764</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-09T08:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066480#M139765</link>
      <description>My main question here would be on the data path.  You may be maxing out something in betweeen the two points - though I'd be surprised at 4-5MB/min&lt;BR /&gt;&lt;BR /&gt;Is the drive directly connected to the system?  If so, using what kind of SCSI card (specifically, I'm looking to find out the max transfer speed).  Any other devices on the same bus?  Transferring from tape to disk on the same bus still needs to go via the kernel, so you're effectively halving your max throughput.  What other activity is going on on this machine - is the backplane getting saturated to such an extent that data cannot be transferred any faster?  &lt;BR /&gt;&lt;BR /&gt;Tape blocksize itself should not be an issue here.  The fact that it's reading without error shows that getting data off each block is working fine.  If you're looking at changing this, then do it at backup time.  Smaller blocksizes for large files will create a small performance hit when writing all the tape marks.  Large blocksizes for small files will also create a performance hit since you're writing a whole lot of blank space before the end of the block.  At recover time, the blocksize is what's on tape - you're not going to change the way its written at that point.&lt;BR /&gt;&lt;BR /&gt;I'd also suggest getting a scrap tape and sending a 10MB file to it using "time tar cvf..." and recovering using "time tar tvf..." to check the write vs read time (using tvf will still read the entire contents).  If there's a big discrepancy here, contact the drive vendor.  Use 0m in both cases since you'll get the drive doing the same operations (starting from the beginning, writing/reading, then rewinding).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Stuart.</description>
      <pubDate>Tue, 09 Sep 2003 08:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066480#M139765</guid>
      <dc:creator>Stuart Whitby</dc:creator>
      <dc:date>2003-09-09T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066481#M139766</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The machine we're restoring on is used to do&lt;BR /&gt;ignite backups during the weekend. We've also tried an other tape to see if the drive and the path to it is ok. &lt;BR /&gt;With a tape created with bs=8k we get up to speeds of 600MB/min.&lt;BR /&gt;&lt;BR /&gt;I've sent an email to figure out with wich command (and blocksize of course) the tape was created. I think it's best to wait for that answer.</description>
      <pubDate>Tue, 09 Sep 2003 08:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066481#M139766</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-09T08:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown tape blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066482#M139767</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Got a reply from the supplier of the tape, it seems they've created the tape with a blocksize of 64k.&lt;BR /&gt;&lt;BR /&gt;After trying to restore (again) it seems that the tape was rotten, I've got a new tape from the supplier, the restore went fine.&lt;BR /&gt;&lt;BR /&gt;Thanx for your help!</description>
      <pubDate>Mon, 15 Sep 2003 05:12:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-tape-blocksize/m-p/3066482#M139767</guid>
      <dc:creator>Sander van Dinten</dc:creator>
      <dc:date>2003-09-15T05:12:03Z</dc:date>
    </item>
  </channel>
</rss>

