<?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: hpux 11iv2 how many times has a tape been written to? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776469#M488906</link>
    <description>&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the above command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you know why the above command would stop working using a cleaning tape on the drive? i checked the write counter on a few tapes and ran the cleaning tape before putting in the production tape and ran the command there after and now i am getting the below message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -V - -f /dev/rmt/1m&lt;BR /&gt;frecover(5403): Unable to open or identify device at /dev/rmt/1m&lt;BR /&gt;&lt;BR /&gt;frecover(5405): unable to open /dev/rmt/1m&lt;BR /&gt;frecover(5406): Do you wish to continue? (^[yY]/^[nN]) Y&lt;BR /&gt;frecover(5432): Media rewind failed&lt;BR /&gt;frecover(5402): failed close on device /dev/rmt/1m&lt;BR /&gt;frecover(5404): Press return when the next volume is ready on /dev/rmt/1m:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it was working prior to running cleaning tape as i tested on an old tape:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -V - -f /dev/rmt/1m&lt;BR /&gt;Magic Field:FBACKUP_LABEL&lt;BR /&gt;Machine Identification:9000/800&lt;BR /&gt;System Identification:HP-UX&lt;BR /&gt;Release Identification:B.11.23&lt;BR /&gt;...&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2015 15:07:08 GMT</pubDate>
    <dc:creator>jesc516</dc:creator>
    <dc:date>2015-08-19T15:07:08Z</dc:date>
    <item>
      <title>hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6768961#M488865</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a command to view how many times a tape has been written to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using sam, backup and recovery, interactive backup and recovery to write the data to the tapes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is greatly appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 20:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6768961#M488865</guid>
      <dc:creator>jesc516</dc:creator>
      <dc:date>2015-07-27T20:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6768999#M488866</link>
      <description>&lt;P&gt;Since you are using SAM for backups, you are running the fbackup program which will track the number of times that fbackup was used on this tape. This is a feature of fbackup but relies on the tape to have the header from a previous fbackup. To read the header:&lt;/P&gt;&lt;PRE&gt;# frecover -V - -f /dev/rmt/&amp;lt;whatever&amp;gt;&lt;BR /&gt;Magic Field:FBACKUP_LABEL&lt;BR /&gt;Machine Identification:ia64&lt;BR /&gt;System Identification:HP-UX&lt;BR /&gt;Release Identification:B.11.31&lt;BR /&gt;Node Identification:atl6&lt;BR /&gt;User Identification:root&lt;BR /&gt;Record Size:4194304&lt;BR /&gt;Time:Mon Jul 27 19:47:00 2015&lt;BR /&gt;Media Use:27&lt;BR /&gt;Volume Number:1&lt;BR /&gt;Checkpoint Frequency:8192&lt;BR /&gt;Fast Search Mark Frequency:5000&lt;BR /&gt;Index Size:18019&lt;BR /&gt;Backup Identification Tag:12454 1438040820&lt;BR /&gt;Language:&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The line: Media Use:27&lt;/P&gt;&lt;P&gt;indicates how many times this tape was written with fbackup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As long as you use this tape only with SAM for backups, the counter will be intact.&lt;/P&gt;&lt;P&gt;If you use any other program such as tar or cpio to write on the tape, then the header is erased and the counter is lost. The next SAM backup to this tape will start the counter at 1. You'll see the message at the beginning of the fbakup session:&lt;/P&gt;&lt;PRE&gt;fbackup(3205): WARNING: unable to read a volume header&lt;/PRE&gt;&lt;P&gt;which means the tape header is not fbackup and will be overwritten.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 23:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6768999#M488866</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-07-27T23:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776469#M488906</link>
      <description>&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the above command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you know why the above command would stop working using a cleaning tape on the drive? i checked the write counter on a few tapes and ran the cleaning tape before putting in the production tape and ran the command there after and now i am getting the below message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -V - -f /dev/rmt/1m&lt;BR /&gt;frecover(5403): Unable to open or identify device at /dev/rmt/1m&lt;BR /&gt;&lt;BR /&gt;frecover(5405): unable to open /dev/rmt/1m&lt;BR /&gt;frecover(5406): Do you wish to continue? (^[yY]/^[nN]) Y&lt;BR /&gt;frecover(5432): Media rewind failed&lt;BR /&gt;frecover(5402): failed close on device /dev/rmt/1m&lt;BR /&gt;frecover(5404): Press return when the next volume is ready on /dev/rmt/1m:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it was working prior to running cleaning tape as i tested on an old tape:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# frecover -V - -f /dev/rmt/1m&lt;BR /&gt;Magic Field:FBACKUP_LABEL&lt;BR /&gt;Machine Identification:9000/800&lt;BR /&gt;System Identification:HP-UX&lt;BR /&gt;Release Identification:B.11.23&lt;BR /&gt;...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776469#M488906</guid>
      <dc:creator>jesc516</dc:creator>
      <dc:date>2015-08-19T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776756#M488910</link>
      <description>&lt;P&gt;Run the mt command to check the status.&lt;/P&gt;&lt;P&gt;The cleaning tape puts tape drives into a strange state and some versions of firmware don't handle the cycle cleanup very well. Use it like this:&lt;/P&gt;&lt;PRE&gt;# mt -f /dev/rmt/1m status&lt;/PRE&gt;&lt;P&gt;If it reports that 1m is not ready or that the device is not reaady, try running an ioscan and device file refresh like this:&lt;/P&gt;&lt;PRE&gt;# ioscan -fC tape
# insf -C tape&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776756#M488910</guid>
      <dc:creator>pooderbill</dc:creator>
      <dc:date>2015-08-20T15:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776849#M488911</link>
      <description>&lt;P&gt;i had a bad terminator. i was able to run &lt;STRONG&gt;# frecover -V - -f /dev/rmt/1m&lt;/STRONG&gt; but once i ran the cleaning tape both tape drives showed &lt;STRONG&gt;NO_HW&lt;/STRONG&gt; when i did &lt;STRONG&gt;# iocan -fnC tape&lt;/STRONG&gt; and i could not use the frecover command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;support replaced the terminator and now both tape drives show &lt;STRONG&gt;CLAIMED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it safe to do a device file refresh &lt;STRONG&gt;# insf -C tape&lt;/STRONG&gt; after a clean? i wrote to both tape drives and was able to read and i ran the cleaning tape on both drives. everything looks ok as far as i can tell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# mt -f /dev/rmt/1m status&lt;/STRONG&gt;&lt;BR /&gt;Drive:&amp;nbsp; HP C5683A&lt;BR /&gt;Format:&lt;BR /&gt;Status: [41112600] BOT online compression immediate-report-mode&lt;BR /&gt;File:&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;Block:&amp;nbsp; 0&lt;BR /&gt;&lt;STRONG&gt;# mt -f /dev/rmt/0m status&lt;/STRONG&gt;&lt;BR /&gt;Drive:&amp;nbsp; HP C5683A&lt;BR /&gt;Format:&lt;BR /&gt;Status: [41112600] BOT online compression immediate-report-mode&lt;BR /&gt;File:&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;Block:&amp;nbsp; 0&lt;BR /&gt;&lt;STRONG&gt;# ioscan -fC tape&lt;/STRONG&gt;&lt;BR /&gt;Class&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&amp;nbsp; H/W Path&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver S/W State&amp;nbsp;&amp;nbsp; H/W Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;tape&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 0/3/1/1.0.0&amp;nbsp; stape CLAIMED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEVICE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C5683A&lt;BR /&gt;tape&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0/3/1/1.1.0&amp;nbsp; stape CLAIMED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEVICE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C5683A&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776849#M488911</guid>
      <dc:creator>jesc516</dc:creator>
      <dc:date>2015-08-20T20:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776859#M488913</link>
      <description>&lt;P&gt;The bad terminator caused all the problems. ioscan showed no hardware because the tape drive was not communicating with the OS correctly. The cleaning cycle probably did not cause this condition but just made it visible. You were lucky that fbackup completed OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The insf command can be run at any time. It will not remove or change any device files - it does some internal checking to find any pieces of equipment that do not have device files, and also corrects ownership settings.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 21:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776859#M488913</guid>
      <dc:creator>pooderbill</dc:creator>
      <dc:date>2015-08-20T21:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: hpux 11iv2 how many times has a tape been written to?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776864#M488914</link>
      <description>&lt;PRE&gt;# &lt;STRONG&gt;ioscan -fC tape&lt;/STRONG&gt;
Class     I  H/W Path     Driver S/W State   H/W Type     Description
=====================================================================
tape      0  0/3/1/1.0.0  stape CLAIMED     DEVICE       HP      C5683A
tape      1  0/3/1/1.1.0  stape CLAIMED     DEVICE       HP      C5683A&lt;/PRE&gt;&lt;P&gt;It appears that both tape drives are connected on the same SCSI cable -- not a recommended path. Tape drives should always be connected to dedicated SCSI cards with no other devices. The DDS4 (DAT40) drive needs about 6 MBytes/sec to keep from repositioning during backups. To keep the data streaming as fast as possible, be sure to use an fbackup config file like this:&lt;/P&gt;&lt;PRE&gt;blocksperrecord 4096
records 64
checkpointfreq 8192
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 5000&lt;/PRE&gt;&lt;P&gt;Save this as /etc/fbackup.config and then add it to your fbackup command like this:&lt;/P&gt;&lt;PRE&gt;# fbackup -i / -v -c /etc/fbackup.conf -f /dev/rmt/0m&lt;/PRE&gt;&lt;P&gt;You should see a significantly faster backup speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 22:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11iv2-how-many-times-has-a-tape-been-written-to/m-p/6776864#M488914</guid>
      <dc:creator>pooderbill</dc:creator>
      <dc:date>2015-08-20T22:28:52Z</dc:date>
    </item>
  </channel>
</rss>

