<?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: fbackup - WRITE ERROR while writing data record in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965521#M787404</link>
    <description>Thanks all for your insights.&lt;BR /&gt;&lt;BR /&gt;I powered off the drive, switched back to the old cable powered it back on and now I cant even access the drive.&lt;BR /&gt;&lt;BR /&gt;here is ioscan with it powered off and with it on.. but as you can see even though its claimed when on, i cant mt -f /dev/rmt/0mn status it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hpux2:$ioscan -fnC tape&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/1/1/1.3.0  stape NO_HW       DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;root@hpux2:$ioscan -fnC tape&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/1/1/1.3.0  stape CLAIMED     DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;root@hpux2:$mt -f /dev/rmt/0mn status&lt;BR /&gt;on tape open: No such device or address&lt;BR /&gt;root@hpux2:$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;has my stape kernel module just lost its mind? everything else is the same, same drive, same device id, same scsi channel, etc, etc</description>
    <pubDate>Wed, 08 Mar 2006 10:27:50 GMT</pubDate>
    <dc:creator>mike_s_brentlinger</dc:creator>
    <dc:date>2006-03-08T10:27:50Z</dc:date>
    <item>
      <title>fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965517#M787400</link>
      <description>So last night I changed a scsi cable on a tape drive to move it to a better position in our server room&lt;BR /&gt;&lt;BR /&gt;I have a new rx4640, running HP-UX B.11.23 and a HP Ultrium 2-SCSI drive that have both been working fine. &lt;BR /&gt;&lt;BR /&gt;Leving the system running, I powered off the tape drive, unplugged the cable, moved the drive, plugged in the new cable, and powerd the drive back up.&lt;BR /&gt;&lt;BR /&gt;mt commands all seemed fine, i can use sam to interactively extract tape contents off old tapes with out troubles.&lt;BR /&gt;&lt;BR /&gt;I did notice quite soon (minutes after the cable swap) i got some alerts via email. (follows) but wrote them off as no big deal after reading the "Probable Cause / Recommended Action:"&lt;BR /&gt;&lt;BR /&gt;&amp;gt;------------ Event Monitoring Service Event Notification ------------&amp;lt;&lt;BR /&gt;Notification Time: Tue Mar  7 14:26:39 2006&lt;BR /&gt;hpux2 sent Event Monitor notification information:&lt;BR /&gt;/storage/events/disks/default/0_1_1_0.0.0 is &amp;gt;= 3.&lt;BR /&gt;Its current value is MAJORWARNING(3).&lt;BR /&gt;Event data from monitor:&lt;BR /&gt;Event Time..........: Tue Mar  7 14:26:39 2006&lt;BR /&gt;Severity............: MAJORWARNING&lt;BR /&gt;Monitor.............: disk_em&lt;BR /&gt;Event #.............: 100091              &lt;BR /&gt;System..............: hpux2&lt;BR /&gt;Summary:&lt;BR /&gt;     Disk at hardware path 0/1/1/0.0.0 : Software configuration error&lt;BR /&gt;Description of Error:&lt;BR /&gt;     The device is in a condition where it requires action on the part of the&lt;BR /&gt;     device driver or a human operator. &lt;BR /&gt;Probable Cause / Recommended Action:&lt;BR /&gt;     The device has been reset by a Bus Device Reset message, a hard reset&lt;BR /&gt;     condition, or a power-on reset.&lt;BR /&gt;     If this is the case, no action is necessary.&lt;BR /&gt;     Alternatively, a removable medium has been loaded or replaced.&lt;BR /&gt;     If this is the case, no action is necessary.&lt;BR /&gt;     Alternatively, the mode parameters, microcode, or inquiry data for the&lt;BR /&gt;     device have been changed.&lt;BR /&gt;     If this is the case, no action is necessary.&lt;BR /&gt;     Alternatively, the installed version of the device driver does not match&lt;BR /&gt;     that of the installed version of HP-UX. Install the correct version of the&lt;BR /&gt;     driver. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so whats my problem? last nights and any susbsequent backups i try with fbackup fail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hpux2:$cat /var/sam/log/br_log&lt;BR /&gt;Full backup started on hpux2 : Tue Mar 7 03:00:01 EST 2006 (Scheduled Backup)&lt;BR /&gt;{ fbackup -0 -u    -g /var/sam/graphPCAa13673 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2&amp;gt;&amp;amp;1 &lt;BR /&gt;Full backup completed with warnings on hpux2 : Tue Mar 7 03:41:48 EST 2006 .&lt;BR /&gt;Exit code = 4&lt;BR /&gt;&lt;BR /&gt;Full backup started on hpux2 : Wed Mar 8 03:00:01 EST 2006 (Scheduled Backup)&lt;BR /&gt;{ fbackup -0 -u    -g /var/sam/graphPCAa13673 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2&amp;gt;&amp;amp;1 &lt;BR /&gt;Full backup failed on hpux2 : Wed Mar 8 03:00:38 EST 2006 .&lt;BR /&gt;Exit code = 2&lt;BR /&gt;&lt;BR /&gt;i tried an interactive backup of /home and that failed too, even on another tape it failed&lt;BR /&gt;   37: /home/oracle/exportdb.par 1&lt;BR /&gt;   38: /home/oracle/exportdb.sh 1&lt;BR /&gt;   39: /home/oracle/importdb.par 1&lt;BR /&gt;   40: /home/oracle/importdb.sh 1&lt;BR /&gt;   41: /home/oracle/importtbls.par 1&lt;BR /&gt;   42: /home/oracle/importtbls.sh 1&lt;BR /&gt;fbackup(3013): WRITE ERROR while writing data record, at media record 8&lt;BR /&gt;fbackup(3102): attempting to make this volume salvagable&lt;BR /&gt;fbackup(3105): writing 2 EOFs and rewinding the tape&lt;BR /&gt;fbackup(3106): please mount a good tape&lt;BR /&gt;fbackup(3310): enter '^[yY]' when volume 1 is ready on /dev/rmt/0m,&lt;BR /&gt; or '^[nN]' to discontinue:&lt;BR /&gt;y&lt;BR /&gt;fbackup(3202): this is volume 1 OF THIS SESSION!&lt;BR /&gt;        rejecting this volume&lt;BR /&gt;fbackup(3019): would you like to enter a new output file?&lt;BR /&gt;n&lt;BR /&gt;fbackup(3022): would you like to continue this session?&lt;BR /&gt;n&lt;BR /&gt;fbackup(3004): writer aborting&lt;BR /&gt;fbackup(1002): Backup did not complete : Reader or Writer process exit&lt;BR /&gt;&lt;BR /&gt;Press &lt;RETURN&gt; to continue sam...&lt;BR /&gt;&lt;BR /&gt;though it seems i can get a list of files from tape and that works fine&lt;BR /&gt;&lt;BR /&gt;Im tempted to think my new longer cable is bad or too long, but i think its well within spec.&lt;BR /&gt;&lt;BR /&gt;the new cable is 33 feet long, the old one was ~ 8 feet long and from &lt;A href="http://en.wikipedia.org/wiki/SCSI" target="_blank"&gt;http://en.wikipedia.org/wiki/SCSI&lt;/A&gt; it seems i could have gone up to 40 feet (12 meters) if i had wanted.&lt;BR /&gt;&lt;BR /&gt;long story short is, im tempted to go back to my old cable since its all that changed, but im second guessing myself as to if i followed the right process for moving the drive and curious if perhaps something i did was to blame or if it really is indeed just the cable. &lt;BR /&gt;&lt;BR /&gt;could someone advise if any of this makes sense?&lt;BR /&gt;&lt;BR /&gt;heres my ioscan and mt output if that helps.&lt;BR /&gt;&lt;BR /&gt;root@hpux2:$ ioscan -knfC tape&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/1/1/1.3.0  stape CLAIMED     DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;&lt;BR /&gt;root@hpux2:$ mt -f /dev/rmt/0mn status&lt;BR /&gt;Drive:  HP Ultrium 2-SCSI&lt;BR /&gt;Format: &lt;BR /&gt;Status: [41114200] BOT online compression immediate-report-mode &lt;BR /&gt;File:   0&lt;BR /&gt;Block:  0&lt;BR /&gt;root@hpux2:$&lt;/RETURN&gt;</description>
      <pubDate>Wed, 08 Mar 2006 09:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965517#M787400</guid>
      <dc:creator>mike_s_brentlinger</dc:creator>
      <dc:date>2006-03-08T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965518#M787401</link>
      <description>Mike,&lt;BR /&gt;I would say it is the cable, as this is the only thing you have changed.&lt;BR /&gt;But its worth a shot to clean the tapedrive and try with a new tape.&lt;BR /&gt;Try the old cable/location and if it starts working, you know for certain.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 09:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965518#M787401</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-08T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965519#M787402</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This may be a cable.&lt;BR /&gt;&lt;BR /&gt;0/1/1/0.0.0 &lt;BR /&gt;&lt;BR /&gt;It may also be a SCSI device at position zero that is being mis-detected as a disk. if so, no action is required.&lt;BR /&gt;&lt;BR /&gt;You may need to insf -f&lt;BR /&gt;&lt;BR /&gt;or insf -C disk&lt;BR /&gt;&lt;BR /&gt;Or perhaps ioinit and rebuild the i/o table of the system.&lt;BR /&gt;&lt;BR /&gt;First, make sure the cable and scsi id of the ultrium drive is consistent.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 08 Mar 2006 09:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965519#M787402</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-08T09:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965520#M787403</link>
      <description>Assuming that this is the same tape device and same bus that it was previously attached to then I'd check the cable.&lt;BR /&gt;&lt;BR /&gt;If its a different bus, then I'd double check to make sure it didn't have the same address as another device on that bus.&lt;BR /&gt;&lt;BR /&gt;If its a newer or different physical drive, then I'd recommend checking your "stape" patch level.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 09:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965520#M787403</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-08T09:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965521#M787404</link>
      <description>Thanks all for your insights.&lt;BR /&gt;&lt;BR /&gt;I powered off the drive, switched back to the old cable powered it back on and now I cant even access the drive.&lt;BR /&gt;&lt;BR /&gt;here is ioscan with it powered off and with it on.. but as you can see even though its claimed when on, i cant mt -f /dev/rmt/0mn status it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hpux2:$ioscan -fnC tape&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/1/1/1.3.0  stape NO_HW       DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;root@hpux2:$ioscan -fnC tape&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/1/1/1.3.0  stape CLAIMED     DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                         /dev/rmt/0m            /dev/rmt/c3t3d0BEST  &lt;BR /&gt;                         /dev/rmt/0mb           /dev/rmt/c3t3d0BESTb &lt;BR /&gt;                         /dev/rmt/0mn           /dev/rmt/c3t3d0BESTn &lt;BR /&gt;                         /dev/rmt/0mnb          /dev/rmt/c3t3d0BESTnb&lt;BR /&gt;root@hpux2:$mt -f /dev/rmt/0mn status&lt;BR /&gt;on tape open: No such device or address&lt;BR /&gt;root@hpux2:$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;has my stape kernel module just lost its mind? everything else is the same, same drive, same device id, same scsi channel, etc, etc</description>
      <pubDate>Wed, 08 Mar 2006 10:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965521#M787404</guid>
      <dc:creator>mike_s_brentlinger</dc:creator>
      <dc:date>2006-03-08T10:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: fbackup - WRITE ERROR while writing data record</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965522#M787405</link>
      <description>sorry for the delay in closing this out and assigning points... the solution: 2 words; "bent pin"&lt;BR /&gt;&lt;BR /&gt;thanks for all those who replied and offered insights.</description>
      <pubDate>Mon, 13 Mar 2006 07:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fbackup-write-error-while-writing-data-record/m-p/4965522#M787405</guid>
      <dc:creator>mike_s_brentlinger</dc:creator>
      <dc:date>2006-03-13T07:45:05Z</dc:date>
    </item>
  </channel>
</rss>

