<?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: Which tape device do I use ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982384#M122341</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Info on tape device files:-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/42-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/42-toc.html&amp;amp;searchterms=insf&amp;amp;queryid=20030527-075959" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/42-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/42-toc.html&amp;amp;searchterms=insf&amp;amp;queryid=20030527-075959&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
    <pubDate>Tue, 27 May 2003 13:01:35 GMT</pubDate>
    <dc:creator>Paula J Frazer-Campbell</dc:creator>
    <dc:date>2003-05-27T13:01:35Z</dc:date>
    <item>
      <title>Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982377#M122334</link>
      <description>Hi.. I'm trying to backup several directories of varying sizes to tape (a DDS-3 with 12 Gb native and 24 Gb compressed capacity)&lt;BR /&gt;&lt;BR /&gt;I run ioscan -fnC tape to determine the device and get the following output : &lt;BR /&gt;&lt;BR /&gt;Class     I  H/W Path       Driver S/W State   H/W Type     Description&lt;BR /&gt;=======================================================================&lt;BR /&gt;tape      0  0/0/0/3/1.3.0  stape CLAIMED     DEVICE       HP      C1537A&lt;BR /&gt;                           /dev/rmt/0m          &lt;BR /&gt;                           /dev/rmt/0mb         &lt;BR /&gt;                           /dev/rmt/0mn         &lt;BR /&gt;                           /dev/rmt/0mnb        &lt;BR /&gt;                           /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                           /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;                           /dev/rmt/c3t3d0DDS   &lt;BR /&gt;                           /dev/rmt/c3t3d0DDSb  &lt;BR /&gt;                           /dev/rmt/c3t3d0DDSn  &lt;BR /&gt;                           /dev/rmt/c3t3d0DDSnb &lt;BR /&gt;&lt;BR /&gt;My question is, which tape device do I use with the tar cvf command, and also is there a particular device I should use if I want to put 24 Gb of data on this tape, (or do I have to compress the data first).. &lt;BR /&gt;&lt;BR /&gt;Thx &lt;BR /&gt;</description>
      <pubDate>Tue, 27 May 2003 12:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982377#M122334</guid>
      <dc:creator>SuperDome_1</dc:creator>
      <dc:date>2003-05-27T12:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982378#M122335</link>
      <description>/dev/rmt/0mnb</description>
      <pubDate>Tue, 27 May 2003 12:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982378#M122335</guid>
      <dc:creator>Ross Zubritski</dc:creator>
      <dc:date>2003-05-27T12:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982379#M122336</link>
      <description>ou can use /dev/rmt/0m or /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;If it's the only drive then system will take it as default drive ( I mean no need to specify which device)&lt;BR /&gt;&lt;BR /&gt;tar -cv will capture  appropriate drive!&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 27 May 2003 12:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982379#M122336</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-05-27T12:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982380#M122337</link>
      <description>You can use /dev/rmt/0m or /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;If it's the only drive then system will take it as default drive ( I mean no need to specify which device)&lt;BR /&gt;&lt;BR /&gt;tar -cv will capture  appropriate drive!&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 27 May 2003 12:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982380#M122337</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-05-27T12:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982381#M122338</link>
      <description>I would use this command for normal tar backup (no compression):&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /dev/rmt/0m&lt;BR /&gt;OR&lt;BR /&gt;# tar -cvf /dev/rmt/0mn (for no rewind)&lt;BR /&gt;&lt;BR /&gt;If I need compressed (24GB), I would use:&lt;BR /&gt;# tar -cvf /dev/rmt/c3t3d0BEST&lt;BR /&gt;OR&lt;BR /&gt;# tar -cvf /dev/rmt/c3t3d0BESTn (for no rewind)</description>
      <pubDate>Tue, 27 May 2003 12:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982381#M122338</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-05-27T12:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982382#M122339</link>
      <description>I would choose &lt;BR /&gt;/dev/rmt/c3t3d0BEST, which will select the best available density.  And I don't think you want a no-rewind device (nor a berkely style).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 27 May 2003 12:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982382#M122339</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-27T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982383#M122340</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;For compression, when the tape drive supports it, use a device with "best" or a device file linked to one.  Actually, this should be any of the '0m' files.&lt;BR /&gt;&lt;BR /&gt;To see the attributes associated with a device file, do:&lt;BR /&gt;&lt;BR /&gt;# lssf /dev/rmt/filename&lt;BR /&gt;&lt;BR /&gt;For a complete picture of tape devices, see the 'mt(7)' man pages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 May 2003 12:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982383#M122340</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-05-27T12:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982384#M122341</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Info on tape device files:-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/42-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/42-toc.html&amp;amp;searchterms=insf&amp;amp;queryid=20030527-075959" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90053/00/00/42-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90053/00/00/42-toc.html&amp;amp;searchterms=insf&amp;amp;queryid=20030527-075959&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Tue, 27 May 2003 13:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982384#M122341</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-05-27T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982385#M122342</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I would always use /dev/rmt/Om. In fact it's always a hard link to the corresponding 'BEST DENSITY' file :&lt;BR /&gt;&lt;BR /&gt;hp&amp;gt; ll /dev/rmt&lt;BR /&gt;total 12&lt;BR /&gt;drwxr-xr-x   2 bin        bin           1024 Dec 19 15:22 .&lt;BR /&gt;dr-xr-xr-x  20 bin        bin           5120 May 26 11:29 ..&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000000 Jan 23 15:09 0m&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000080 Dec 19 15:22 0mb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000040 Jan  8 11:08 0mn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0000c0 Dec 19 15:22 0mnb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000000 Jan 23 15:09 c0t0d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000080 Dec 19 15:22 c0t0d0BESTb&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x000040 Jan  8 11:08 c0t0d0BESTn&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x0000c0 Dec 19 15:22 c0t0d0BESTnb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x000001 Dec 19 15:22 c0t0d0DDS&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x000081 Dec 19 15:22 c0t0d0DDSb&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x000041 Dec 19 15:22 c0t0d0DDSn&lt;BR /&gt;crw-rw-rw-   1 bin        bin        205 0x0000c1 Dec 19 15:22 c0t0d0DDSnb&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 27 May 2003 13:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982385#M122342</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-05-27T13:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982386#M122343</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Also&lt;BR /&gt;&lt;BR /&gt;The tape device names have the following format:-&lt;BR /&gt;&lt;BR /&gt;/dev/rmt/#dbn&lt;BR /&gt;&lt;BR /&gt;where:-&lt;BR /&gt;&lt;BR /&gt;# --- Logical tape number&lt;BR /&gt;d -- Tape density (h,m,l)&lt;BR /&gt;b -- BSD behavior&lt;BR /&gt;n -- No-rewind&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 May 2003 13:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982386#M122343</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-05-27T13:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982387#M122344</link>
      <description>Just an addendum to Jean-Louis suggestion:&lt;BR /&gt;&lt;BR /&gt;Don't use /dev/rmt/Om (with a capital letter "o") - use /dev/rmt/0m (with a numeral "0"), otherwise you're likely to fill up your root file system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 27 May 2003 13:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982387#M122344</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-27T13:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982388#M122345</link>
      <description>Thx for all your replies.. &lt;BR /&gt;&lt;BR /&gt;I've decided to take 2 backups , one using /dev/rmt/0mnb (since when I did a tar cvf /dev/rmt/0m, I was prompted for another tape, for the same directory) and the other using /dev/rmt/c3t3BEST0mnb. &lt;BR /&gt;&lt;BR /&gt;I understand why I have to use norewind (to save tape space), but is there any other reason I should use norewind. &lt;BR /&gt;&lt;BR /&gt;I'm also not sure why choosing a berkeley device (say /dev/rmt/0mnb) versus a non-berkeley (at&amp;amp;t) would matter. &lt;BR /&gt;&lt;BR /&gt;I'm taking a tar on HP-UX 11.11, and will be restoring on to a system with HP-UX 11.0&lt;BR /&gt;&lt;BR /&gt;Thx again for all your replies. Really appreciate it.. !!!</description>
      <pubDate>Tue, 27 May 2003 13:15:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982388#M122345</guid>
      <dc:creator>SuperDome_1</dc:creator>
      <dc:date>2003-05-27T13:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982389#M122346</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;In answer to your last questions:&lt;BR /&gt;&lt;BR /&gt;You would use a "no-rewind" device if you wanted to package, for instance, multiple tar archives on a single tape.  Ignite 'make_tape_recovery' uses a no-rewind device so that the LIF file can be placed on the recovery tape followed by the 'pax' archive.  Hence you see this sequence to extract a file from the 'pax' (or 'tar') archive:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;# tar -xvf /dev/rmt/0m filename&lt;BR /&gt;&lt;BR /&gt;With regard to AT&amp;amp;T versus Berkley, the 'mt(7)' man pages note: "...When a file open for reading (only) is closed and the no-rewind bit is not set, the tape is rewound. If the no-rewind bit is set, the behavior depends on the style mode. For AT&amp;amp;T-style devices, the tape is positioned after the EOF following the data just read (unless already at BOT or Filemark). For Berkeley-style devices, the tape is not repositioned in any way."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 May 2003 13:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982389#M122346</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-05-27T13:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982390#M122347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you just give #tar -cv this will automatically take the default device file(the default device file is 0m)I have told you not to give device file because i have your ioscan output &amp;amp; through that output only i can say not give any device file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rajesh G.</description>
      <pubDate>Wed, 28 May 2003 09:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982390#M122347</guid>
      <dc:creator>Rajesh G. Ghone</dc:creator>
      <dc:date>2003-05-28T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Which tape device do I use ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982391#M122348</link>
      <description>Incidentally, you'll be very lucky to get 24GB of data on a single tape. This is assuming the best available type of data to compress and works off a compression ratio of 2:1. A more realistic compression ratio for most data types is 1.4:1 or about 16-17GB. Of course if most of what you are backing up is pictures/movies etc which are already stored in fairly compressed formats then you won't even get that.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 28 May 2003 10:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-tape-device-do-i-use/m-p/2982391#M122348</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-05-28T10:34:42Z</dc:date>
    </item>
  </channel>
</rss>

