<?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: tape drive troubles in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049694#M434544</link>
    <description>&amp;gt; DLT7000 alone on a bus. Using cpio, how long would you expect it to take to backup about 17 GB&lt;BR /&gt; &lt;BR /&gt;cpio is a single threaded application so it has to read a record from disk, select the tape, write a record to it, wait for a status and then repeat. The old DLT7000 will likely never run a full speed, or more accurately, will run full speed for a few records, then stoip, back up, and wait for more data. tar, cpio, pax, dump, etc are not designed for modern tape drives and will be unable to handle large files (more than 10Gb).&lt;BR /&gt; &lt;BR /&gt;If the drive is kept busy, you can backup about 18 Gb/hour with uncompressible data, perhaps more if the data can be compressed by the drive. Anything less and your backup program is the problem. The only built-in program that can keep the drive busy is fbackup, but only if you use a config file like this:&lt;BR /&gt; &lt;BR /&gt;blocksperrecord 4096&lt;BR /&gt;records 64&lt;BR /&gt;checkpointfreq 4096&lt;BR /&gt;readerprocesses 6&lt;BR /&gt;maxretries 5&lt;BR /&gt;retrylimit 5000000&lt;BR /&gt;maxvoluses 200&lt;BR /&gt;filesperfsm 2000&lt;BR /&gt; &lt;BR /&gt;---------------------------------------------&lt;BR /&gt; &lt;BR /&gt;Example for a complete backup starting at / (root):&lt;BR /&gt; &lt;BR /&gt;fbackup -i / -v -c config-file -f /dev/rmt/0m&lt;BR /&gt; &lt;BR /&gt;Display the tape header with dates:&lt;BR /&gt;  &lt;BR /&gt;frecover -V - -f /dev/rmt/0m&lt;BR /&gt;  &lt;BR /&gt;Display the table of contents:&lt;BR /&gt; &lt;BR /&gt;frecover -I - -f /dev/rmt/0m</description>
    <pubDate>Wed, 20 Jun 2007 10:04:00 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2007-06-20T10:04:00Z</dc:date>
    <item>
      <title>tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049682#M434532</link>
      <description>I'm having trouble with a DLT 7000.  I use cpio for file backups.&lt;BR /&gt;&lt;BR /&gt;I issue a backup (cpio -ocuvB) to the tape, and that seems to go well.&lt;BR /&gt;&lt;BR /&gt;Next, issue rewind (mt rew) before I read back for a verify, and it can't find the device.&lt;BR /&gt;&lt;BR /&gt;ioscan -fn shows the device is claimed and lists the dev's etc.&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/c4t6d0BEST rew&lt;BR /&gt;/dev/rmt/c4t6d0BEST: No such device or address&lt;BR /&gt;# cpio -ictBv &amp;lt; /dev/rmt/c4t6d0BEST&lt;BR /&gt;sh: /dev/rmt/c4t6d0BEST: Cannot find or open the file.&lt;BR /&gt;# ls -l /dev/rmt/c4t6d0BEST&lt;BR /&gt;crw-rw-rw-   2 bin        bin        205 0x046000 May 29 11:36 /dev/rmt/c4t6d0BEST&lt;BR /&gt;&lt;BR /&gt;A few weeks back the same thing happened, except that the ioscan was flaky - sometimes it would not claim the device.&lt;BR /&gt;&lt;BR /&gt;So, using my HP support, and on HP's recommendation, I had the drive replaced.&lt;BR /&gt;&lt;BR /&gt;The replacement worked fine a few weeks.  Now it's doing essentially the same thing, except that the device always seems to be claimed.&lt;BR /&gt;&lt;BR /&gt;Can anyone give me some insight or some ideas as to how to approach this?&lt;BR /&gt;&lt;BR /&gt;The odd thing is that a backup (cpio -ocuvB) appears to "work", that is, it runs for the expected amount of time, and stops without error.&lt;BR /&gt;&lt;BR /&gt;Subsequent rewinds or tape listings fail.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2007 11:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049682#M434532</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-05-29T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049683#M434533</link>
      <description>Shalom Fred,&lt;BR /&gt;&lt;BR /&gt;Could be another bad drive.&lt;BR /&gt;&lt;BR /&gt;Check and replace cables, perhaps scsi card. These drives like being on their own exclusive scsi card, better throughput and reliability.&lt;BR /&gt;&lt;BR /&gt;Also, I'd remove all drivers stape and tape drivers, rmsf, possibly re-arrange /etc/ioinit and start again.&lt;BR /&gt;&lt;BR /&gt;cstm mstm xstm show no trouble?&lt;BR /&gt;&lt;BR /&gt;Another idea: Bad or unsupported tape media.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 May 2007 11:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049683#M434533</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-29T11:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049684#M434534</link>
      <description>I would lean towards a second failing drive but you also need to check your termination as well. Surprisingly, a poorly (or unterminated) SCSI bus will often work almost perfectly --- the worst kind of problem to have.&lt;BR /&gt;&lt;BR /&gt;Here are the things that you should check:&lt;BR /&gt;1) Is the bus terminated in exactly two places? At the physical ends of the bus?&lt;BR /&gt;2) Is at least one device on the bus supplying termination power?&lt;BR /&gt;3) Does your total cable length exceed maximum bus length?&lt;BR /&gt;4) Most DLT-7000's were HVD (FWD) SCSI devices; if so, only one active DLT-7000 or 8000 is supported per bus.&lt;BR /&gt;&lt;BR /&gt;If all of these conditions are met, I would replace the terminator(s) and see if the condition improves and then you are down to either the drive or the HBA --- or in very rare cases the cable --- but that is rare (but not unheard of) for intermittant problems.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2007 12:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049684#M434534</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-29T12:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049685#M434535</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;This drive is alone on the interface/bus, and is the only tape drive on the server.&lt;BR /&gt;&lt;BR /&gt;I'm not thinking it's a tape issue - these are almost a year old and due for replacement but I've tried about 6 tapes, all same result.&lt;BR /&gt;&lt;BR /&gt;I've never used the stm tool before, so that's been interesting.  Selected the device easy enough.  'Information', 'Verify' and 'Exercise' all run clean after many iterations.  Can't get 'Diagnose' to run, the interface (mstm) just beeps at me as though it's not an option that I can use.&lt;BR /&gt;&lt;BR /&gt;At first opportunity I will re-seat the drive and cables, perhaps the interface card as well.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2007 13:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049685#M434535</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-05-29T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049686#M434536</link>
      <description>This tape drive is alone on this bus (ioscan doesn't show anything else on the 0/7 hardware path).  Is it safe to disconnect the drive, cables and terminator, without powering the server off?  (assuming nothing is trying to access the drive)&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2007 15:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049686#M434536</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-05-29T15:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049687#M434537</link>
      <description>While it is not recommended to do so and the manuals will always tell you to shutdown, I have removed/replaced/added hundreds of tapes drives on live systems without a single problem --- but perhaps "The Force" was always strong with me. Only in rare circumstances, can a production server be shutdown for such a trivial task as disk or tape drive replacement. The HBA is another story unless your hardware supports OLAR and I would never replace an HBA or NIC unless the machine and card are OLAR compatible.&lt;BR /&gt;&lt;BR /&gt;Of course, you should at least power off the drive</description>
      <pubDate>Tue, 29 May 2007 16:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049687#M434537</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-29T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049688#M434538</link>
      <description>I powered off the drive, intending to re-seat cables, but instead on a whim I just turned it back on and tried another backup/verify with cpio.  It worked OK.&lt;BR /&gt;&lt;BR /&gt;If this trend continues I'll call HP about another tape drive.&lt;BR /&gt;&lt;BR /&gt;Still, more tests are warranted.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2007 11:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049688#M434538</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-05-30T11:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049689#M434539</link>
      <description>Seems I have to power-cycle the drive to get a couple of good hours of use, basically one good backup/verify, then it starts failing again as described above.&lt;BR /&gt;&lt;BR /&gt;Power-cycle and it's good again for a while.&lt;BR /&gt;&lt;BR /&gt;I still haven't reseated cables/terminator but that's next.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2007 14:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049689#M434539</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-05-30T14:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049690#M434540</link>
      <description>Well, it appears that once again I have met the enemy and he is me.&lt;BR /&gt;&lt;BR /&gt;This whole business appears to be caused by running out of tape space.  It's asking for a second volume.&lt;BR /&gt;&lt;BR /&gt;It can get about 19 GB on there, but more than that and it fails.&lt;BR /&gt;&lt;BR /&gt;The drive is a DLT7000, C6375A.&lt;BR /&gt;&lt;BR /&gt;The tape is an HP DLT IV, which should be OK for 40-80 GB and I'm only getting 20, it would seem.&lt;BR /&gt;&lt;BR /&gt;The device I'm using is /dev/rmt/c4t6d0BEST&lt;BR /&gt;&lt;BR /&gt;I have others installed:&lt;BR /&gt;&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/c4t6d0BEST&lt;BR /&gt;/dev/rmt/c4t6d0BESTb&lt;BR /&gt;/dev/rmt/c4t6d0BESTn&lt;BR /&gt;/dev/rmt/c4t6d0BESTnb&lt;BR /&gt;&lt;BR /&gt;Am I using the wrong one?  I'm not sure what the suffixes stand for in the dev names.&lt;BR /&gt;&lt;BR /&gt;I'm running a cpio right now, and the "Compress" and "35.0" lights are lit.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 09:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049690#M434540</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-06-05T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049691#M434541</link>
      <description>The DLT 7000 has a native capacity of 35 Gb -- period. Compressed values, although widely advertised, are not meaningful without a specified data content. The drive stores exactly the same number of bits, whether compressed or not, it's just the encoding of the bits that allows repeated patterns to take less space on the tape. &lt;BR /&gt; &lt;BR /&gt;ALL of the device files you listed are compressed. You decode the device files using the lssf command and look for the words: "best density available". For modern tape drives (DLT, DDS, LTO, etc) this has nothing to do with density as it did in the ancient times of 1/2" reel-to-reel. &lt;BR /&gt; &lt;BR /&gt;The problem with running out of tape is very likely your measurement method for the backup. If you save tens of thousands of files, there will be a high overhead relative to the size of the files, thus contributing to a lower value. Also, if you don't keep the data moving at full speed, you'll get terrible performance. cpio (and tar and pax, etc) are simply not suitable for high speed tape drives. Try fbackup and be sure to use the config file for best performance.</description>
      <pubDate>Tue, 05 Jun 2007 13:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049691#M434541</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-05T13:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049692#M434542</link>
      <description>Thanks, I'm off to read the fbackup man pages and anything else I can find about it.&lt;BR /&gt;&lt;BR /&gt;As an administrator someplace else, I used it, but the scripts were written by others and frankly I never took the time to see what it all was doing.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 13:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049692#M434542</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-06-05T13:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049693#M434543</link>
      <description>By the way, I have this DLT7000 alone on a bus.  Using cpio, how long would you expect it to take to backup about 17 GB  (just the write, no verify)?&lt;BR /&gt;&lt;BR /&gt;Mine seems to be running very slow; I re-seated cables but that didn't seem to make any difference.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jun 2007 14:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049693#M434543</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-06-19T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049694#M434544</link>
      <description>&amp;gt; DLT7000 alone on a bus. Using cpio, how long would you expect it to take to backup about 17 GB&lt;BR /&gt; &lt;BR /&gt;cpio is a single threaded application so it has to read a record from disk, select the tape, write a record to it, wait for a status and then repeat. The old DLT7000 will likely never run a full speed, or more accurately, will run full speed for a few records, then stoip, back up, and wait for more data. tar, cpio, pax, dump, etc are not designed for modern tape drives and will be unable to handle large files (more than 10Gb).&lt;BR /&gt; &lt;BR /&gt;If the drive is kept busy, you can backup about 18 Gb/hour with uncompressible data, perhaps more if the data can be compressed by the drive. Anything less and your backup program is the problem. The only built-in program that can keep the drive busy is fbackup, but only if you use a config file like this:&lt;BR /&gt; &lt;BR /&gt;blocksperrecord 4096&lt;BR /&gt;records 64&lt;BR /&gt;checkpointfreq 4096&lt;BR /&gt;readerprocesses 6&lt;BR /&gt;maxretries 5&lt;BR /&gt;retrylimit 5000000&lt;BR /&gt;maxvoluses 200&lt;BR /&gt;filesperfsm 2000&lt;BR /&gt; &lt;BR /&gt;---------------------------------------------&lt;BR /&gt; &lt;BR /&gt;Example for a complete backup starting at / (root):&lt;BR /&gt; &lt;BR /&gt;fbackup -i / -v -c config-file -f /dev/rmt/0m&lt;BR /&gt; &lt;BR /&gt;Display the tape header with dates:&lt;BR /&gt;  &lt;BR /&gt;frecover -V - -f /dev/rmt/0m&lt;BR /&gt;  &lt;BR /&gt;Display the table of contents:&lt;BR /&gt; &lt;BR /&gt;frecover -I - -f /dev/rmt/0m</description>
      <pubDate>Wed, 20 Jun 2007 10:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049694#M434544</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-20T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049695#M434545</link>
      <description>Thanks Bill.&lt;BR /&gt;&lt;BR /&gt;It's taking me 5-6 hours to backup 17 GB right now, using cpio.  I looked back over several years worth of records, and it used to be a little quicker (4 hours) but that's it.&lt;BR /&gt;&lt;BR /&gt;The bulk of the data are Progress database files, and online packed backups of same.&lt;BR /&gt;&lt;BR /&gt;At first I was thinking that there was a cable or hardware problem but I doubt that now.&lt;BR /&gt;&lt;BR /&gt;I've never used fbackup but will give it a shot.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 11:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049695#M434545</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-06-20T11:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: tape drive troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049696#M434546</link>
      <description>fbackup definitely runs faster, and gets more data on a single tape, than cpio - at least with my particular data.&lt;BR /&gt;&lt;BR /&gt;I have some questions about fbackup and cpio, which I'll put in a new thread.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2007 07:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-drive-troubles/m-p/5049696#M434546</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2007-07-20T07:43:39Z</dc:date>
    </item>
  </channel>
</rss>

