<?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: Command to Display Tape Density in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964071#M786979</link>
    <description>A. Clay Stephenson:&lt;BR /&gt;&lt;BR /&gt;Thanks for your comments and suggestions. &lt;BR /&gt;&lt;BR /&gt;Bill Hassell:&lt;BR /&gt;&lt;BR /&gt;Thanks for the historical info on tape technology. It brought me memories of many years ago! I came from those ancient days of working with 2400 bpi reel tapes/drives! We sure've come a long way! &lt;BR /&gt;&lt;BR /&gt;I work mostly with AIX who still uses Block-Size as one of the options for their tape devices, so you can change it if you receive tapes from outside your environment. They also have the option to use variable length.&lt;BR /&gt;&lt;BR /&gt;I do notice that my subject-line said 'density', but my comments were referring to block-sizes. Sorry for the confusion I made by using them together in my note. &lt;BR /&gt;&lt;BR /&gt;I did notice that when I ran the 'lssf' command, the information on a tape device it still refers to density though. So I guess HP still is using the terminology?&lt;BR /&gt;&lt;BR /&gt;Going forward, your last paragraph will be very useful in any decision-making for disk-to-tape drive performance.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Mar 2006 15:38:48 GMT</pubDate>
    <dc:creator>Jim Sobiesczyk</dc:creator>
    <dc:date>2006-03-02T15:38:48Z</dc:date>
    <item>
      <title>Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964068#M786976</link>
      <description>I'm new to HP, but I need to display the Blocking for tape drive. &lt;BR /&gt;&lt;BR /&gt;What's the command to do this? Would IOSCAN give everything I need?&lt;BR /&gt;&lt;BR /&gt;Kinda pressed for time to get some statistics to mgmnt, so your response will be greatly appreciated.</description>
      <pubDate>Thu, 02 Mar 2006 11:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964068#M786976</guid>
      <dc:creator>Jim Sobiesczyk</dc:creator>
      <dc:date>2006-03-02T11:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964069#M786977</link>
      <description>ioscan will not do the trick. &lt;BR /&gt;&lt;BR /&gt;Bear in mind that most tape drives in HP-UX use variable blocking so that the application itself determines the blocksize; from that standpoint, your question may be meaningless; however, it is possible to create fixed block device node.&lt;BR /&gt;&lt;BR /&gt;cd /dev/rmt&lt;BR /&gt;lssf *&lt;BR /&gt;&lt;BR /&gt;lssf will display the available data. You can create fixed-block tape device nodes via the insf command.&lt;BR /&gt;&lt;BR /&gt;Man lssf, insf for details.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2006 11:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964069#M786977</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-02T11:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964070#M786978</link>
      <description>Tape density (as in bytes per inch) have been obsolete for about two decades. Reel-to-reel (1/2" width) tapes had densities like 200, 555, 800, 1600 and 6250 BPI (bytes per inch), but modern tapes like DDS and DLT use a helical scan method much like video tapes. In this scheme, the recording heads are spun at an angle to the tape, thus creating angled tracks. In addition, the data is heavily encoded into special blocks with error correction and codes for file separators and high speed searchmarks. But the data is always the same density.&lt;BR /&gt; &lt;BR /&gt;Now compression does not change this density. Compression means that repeating patterns can be reduced to less bytes, but the data is still written to the tape at the same density. Modern tape drives are also heavily buffered (many megs) because they are streamers, that is, no start/stop for each record. This makes the physical blocks of data written to the tape completely transparent (as it should be) so the classic concept of tape blocks is unimportant.&lt;BR /&gt; &lt;BR /&gt;More to the point, the application (backup programs, copy commands, etc) defines the length of a record, so blocksize is meaningless for the tape drive. The only really useful spec is the NATIVE capacity of the tape. Unlike old 1/2" tapes where thinner (which are longer) could store more data, DDS, DLT, AIT and other modern tapes are fixed in size for a specific drive. Most drives are backward compatible (ie, a DDS4 drive can read a DDS3 or DDS2 tape) but a DDS4 tape is automatically rejected by a DDS3 tape drive.&lt;BR /&gt; &lt;BR /&gt;Here is a useful table comparing tape drives:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=c00028345" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;objectID=c00028345&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;So there is no blocking for modern tape drives, only programs that write certain size (or variable) records. NOTE: modern tape drives are extremely fast, gobbling up data so fast that it can exceed the speed of slow or busy disks. Many managers will be tempted to buy the largest capacity tape drive thinking that all things are equal. But an Ultrium 460 tape drive needs 30-60 megs per second to keep moving at full speed. Be careful about overbuying a high performance tape drive based on capacity. Older systems with slower disks may never keep pace with the drive and will seriously slow the backup speed as well as increase drive wear.</description>
      <pubDate>Thu, 02 Mar 2006 14:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964070#M786978</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-03-02T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964071#M786979</link>
      <description>A. Clay Stephenson:&lt;BR /&gt;&lt;BR /&gt;Thanks for your comments and suggestions. &lt;BR /&gt;&lt;BR /&gt;Bill Hassell:&lt;BR /&gt;&lt;BR /&gt;Thanks for the historical info on tape technology. It brought me memories of many years ago! I came from those ancient days of working with 2400 bpi reel tapes/drives! We sure've come a long way! &lt;BR /&gt;&lt;BR /&gt;I work mostly with AIX who still uses Block-Size as one of the options for their tape devices, so you can change it if you receive tapes from outside your environment. They also have the option to use variable length.&lt;BR /&gt;&lt;BR /&gt;I do notice that my subject-line said 'density', but my comments were referring to block-sizes. Sorry for the confusion I made by using them together in my note. &lt;BR /&gt;&lt;BR /&gt;I did notice that when I ran the 'lssf' command, the information on a tape device it still refers to density though. So I guess HP still is using the terminology?&lt;BR /&gt;&lt;BR /&gt;Going forward, your last paragraph will be very useful in any decision-making for disk-to-tape drive performance.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2006 15:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964071#M786979</guid>
      <dc:creator>Jim Sobiesczyk</dc:creator>
      <dc:date>2006-03-02T15:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964072#M786980</link>
      <description>Actually, if you create fixed-block device node for a tape device, you can see the blocksize.&lt;BR /&gt;&lt;BR /&gt;Here is an ls -l of /dev/rmt.&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x050040 Apr 18  2003 1mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0500c0 Apr 18  2003 1mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040000 Apr  8  2005 2m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040080 Apr 18  2003 2mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040080 Apr 18  2003 2mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0400c0 Mar 18  2005 2mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042000 May  1  2003 3m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042080 May  1  2003 3mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042040 May  1  2003 3mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0420c0 Mar  2 06:40 3mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040000 Apr  8  2005 c4t0d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040080 Apr 18  2003 c4t0d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x040040 Apr 18  2003 c4t0d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0400c0 Mar 18  2005 c4t0d0BESTnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042000 May  1  2003 c4t2d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042080 May  1  2003 c4t2d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x042040 May  1  2003 c4t2d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0420c0 Mar  2 06:40 c4t2d0BESTnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x050000 Apr 18  2003 c5t0d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x050080 Apr 18  2003 c5t0d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x050040 Apr 18  2003 c5t0d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0500c0 Apr 18  2003 c5t0d0BESTnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x050001 Apr 18  2003 c5t0d0DDS&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x050081 Apr 18  2003 c5t0d0DDSb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x050041 Apr 18  2003 c5t0d0DDSn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0500c1 Apr 18  2003 c5t0d0DDSnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x050020 May 25  2004 c5t0d0s512BEST&lt;BR /&gt;crw-r--r--   1 bin        bin        205 0xfffffe Apr 18  2003 stape_config&lt;BR /&gt;[marvin]/dev/rmt:&lt;BR /&gt;&lt;BR /&gt;And here is lssf * of /dev/rmt:&lt;BR /&gt;&lt;BR /&gt;[marvin]/dev/rmt: /usr/sbin/lssf *&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/12/5.0.0 1m&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/12/5.0.0 1mb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/12/5.0.0 1mn&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/12/5.0.0 1mnb&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/8.0.0 2m&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/8.0.0 2mb&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/8.0.0 2mn&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/8.0.0 2mnb&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/8.2.0 3m&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/8.2.0 3mb&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/8.2.0 3mn&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/8.2.0 3mnb&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/8.0.0 c4t0d0BEST&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/8.0.0 c4t0d0BESTb&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/8.0.0 c4t0d0BESTn&lt;BR /&gt;stape card instance 4 SCSI target 0 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/8.0.0 c4t0d0BESTnb&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/8.2.0 c4t2d0BEST&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/8.2.0 c4t2d0BESTb&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/8.2.0 c4t2d0BESTn&lt;BR /&gt;stape card instance 4 SCSI target 2 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/8.2.0 c4t2d0BESTnb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/12/5.0.0 c5t0d0BEST&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 10/12/5.0.0 c5t0d0BESTb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 10/12/5.0.0 c5t0d0BESTn&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 10/12/5.0.0 c5t0d0BESTnb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t DDS1 DAT tape cartridge at a&lt;BR /&gt;ddress 10/12/5.0.0 c5t0d0DDS&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley DDS1 DAT tape cartridge&lt;BR /&gt;at address 10/12/5.0.0 c5t0d0DDSb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t no rewind DDS1 DAT tape cart&lt;BR /&gt;ridge at address 10/12/5.0.0 c5t0d0DDSn&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 berkeley no rewind DDS1 DAT tape&lt;BR /&gt;cartridge at address 10/12/5.0.0 c5t0d0DDSnb&lt;BR /&gt;stape card instance 5 SCSI target 0 SCSI LUN 0 at&amp;amp;t fixed_block_size 512 best de&lt;BR /&gt;nsity available at address 10/12/5.0.0 c5t0d0s512BEST&lt;BR /&gt;stape property table configuration device stape_config&lt;BR /&gt;[marvin]/dev/rmt:&lt;BR /&gt;&lt;BR /&gt;Note that there is an entry which refers to a fixed_block_size (512 bytes) for a DDS3 drive. &lt;BR /&gt;&lt;BR /&gt;This brings up an interesting aspect of HP-UX. In most flavor of UNIX the minor device number tells the system compression, density, rewind, etc. but in HP-UX there are not enough bits in the minor device number to describe all of these characteristics; instead, insf (install special file) creates an internal table and part of the minor number is the index into that table. This means, that identical device nodes (from the perspective of identical major/minor device number tuples) on different hosts could have completely different characteristics. For this reason, it is essential that insf beused to create tape device nodes rather than simply using mknod.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2006 15:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964072#M786980</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-02T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964073#M786981</link>
      <description>Yes, the lssf command does indeed say density but it is a leftover from the days of !/2" tapes. For modern tape drives, there is either BEST density or not, which just tells the driver to enable hardware compression on the tape drive.&lt;BR /&gt; &lt;BR /&gt;Since AIX is often tied to mainframe data, it is understandable that fixed block sizes are part of the OS I/O for tapes. Without similar tools in HP-UX (and other Unices), the tool of choice is dd which can accept blocksize specifications. I wrote a script to create IBM standard labeled tapes with multiple files and translated to EBCDIC. It was significantly easier to do this in a shell script on the HP-UX side than to get the mainframe JCL jocks to figure out how to read a tar, cpio or even a simple cp on a tape.</description>
      <pubDate>Thu, 02 Mar 2006 18:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964073#M786981</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-03-02T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964074#M786982</link>
      <description>I can tell you this. Last year I was trying to read a DDS-2 tape from a PC running UnixWare on an HP-UX box. It was a cpio image that clearly stated it used 5k (cpio -B) that had been reblocked through dd to 100k blocks. I tried every combination imaginable and all I could read was a small portion of the tape. After getting on the SCO website I did find that they had fixed 512-byte blocking for DAT drive. I then created a 512-byte fixed block device node and then read in 100k input blocks and 5k output blocks and piped that to cpio -icB and it worked flawlessly. This both surprised me and delighted me because by that time I had had more than enough fun.</description>
      <pubDate>Thu, 02 Mar 2006 21:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964074#M786982</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-02T21:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964075#M786983</link>
      <description>It sounds like you two are the Gurus on this subject...&lt;BR /&gt;&lt;BR /&gt;Thanks for all the info.</description>
      <pubDate>Fri, 03 Mar 2006 10:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964075#M786983</guid>
      <dc:creator>Jim Sobiesczyk</dc:creator>
      <dc:date>2006-03-03T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Command to Display Tape Density</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964076#M786984</link>
      <description>Received my answere thru the final two respondents.</description>
      <pubDate>Mon, 06 Mar 2006 17:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-display-tape-density/m-p/4964076#M786984</guid>
      <dc:creator>Jim Sobiesczyk</dc:creator>
      <dc:date>2006-03-06T17:14:04Z</dc:date>
    </item>
  </channel>
</rss>

