<?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: Tar not working properly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450165#M661571</link>
    <description>It may very well be a tape drive issue specially since it looks like the drive is reporting all media as being at EOT. Other than replacing it again I don't see what else you can do. When it was replaced the last time, you probably got a refurbished unit and not a brand new one.</description>
    <pubDate>Wed, 01 Jul 2009 16:34:35 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2009-07-01T16:34:35Z</dc:date>
    <item>
      <title>Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450149#M661555</link>
      <description>I wanted to do an Ignite but I got the following error, &lt;BR /&gt;&lt;BR /&gt;       * Checking Versions of Ignite-UX filesets&lt;BR /&gt;ERROR:   Write test failed!&lt;BR /&gt;ERROR:   Check tape device failed.&lt;BR /&gt;&lt;BR /&gt;So I tried a simple tar to see if the tape drive works, but I found this.&lt;BR /&gt;&lt;BR /&gt;[root]:/root # mt -t /dev/rmt/0m rew&lt;BR /&gt;[root]:/root # echo $?&lt;BR /&gt;0&lt;BR /&gt;[root]:/root # tar cvf /dev/rmt/0m /etc/passwd&lt;BR /&gt;a /etc/passwd 6 blocks&lt;BR /&gt;Tar: end of tape&lt;BR /&gt;Tar: to continue, enter device/file name when ready or null string to quit.&lt;BR /&gt;&lt;BR /&gt;User entered a null name for next device file.&lt;BR /&gt;[root]:/root #&lt;BR /&gt;&lt;BR /&gt;You know that /etc/passwd is a tiny file, there is no way it could be filling the entire tape.&lt;BR /&gt;&lt;BR /&gt;Any idea what could be wrong?</description>
      <pubDate>Tue, 30 Jun 2009 13:20:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450149#M661555</guid>
      <dc:creator>Broflowsky</dc:creator>
      <dc:date>2009-06-30T13:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450150#M661556</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Do an ignite? Make an ignite backup?&lt;BR /&gt;&lt;BR /&gt;Your tar is failing because the tape is full. Im think tar can't span multiple tapes. There may be a command line option in the man page for tar that will let you get around this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Jun 2009 13:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450150#M661556</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T13:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450151#M661557</link>
      <description>The "end of tape" is either a generic error that tar outputs when it can't write to the tape or the tape drive reports the end of tape condition because of a bad tape or bad drive. Have you tried a different tape or drive?&lt;BR /&gt;&lt;BR /&gt;PS. Unless you have a very old IgniteUX version, igniteUX has been using pax instead of tar for a while now.&lt;BR /&gt;&lt;BR /&gt;Try some more test with with different tapes and drives.</description>
      <pubDate>Tue, 30 Jun 2009 13:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450151#M661557</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-06-30T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450152#M661558</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I suggest that you clean your tape drive and test with a new tape.  Your simple 'tar' of the password file should NOT have performed as it did.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Jun 2009 13:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450152#M661558</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-30T13:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450153#M661559</link>
      <description>&amp;gt;&amp;gt;Your tar is failing because the tape is full.&lt;BR /&gt;&lt;BR /&gt;Doubtful, given the errors shown.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Im think tar can't span multiple tapes. &lt;BR /&gt;&lt;BR /&gt;Baloney!  Tar has always had the ability to span multiple tapes.&lt;BR /&gt;&lt;BR /&gt;Given the errors above, the things I would try are:&lt;BR /&gt;&lt;BR /&gt;1) Clean the tape drive.  Do this 2 or 3 times.&lt;BR /&gt;&lt;BR /&gt;2) Try a new/different tape.  A bad tape can cause issues like this.&lt;BR /&gt;&lt;BR /&gt;3) Check SCSI cables and terminators.&lt;BR /&gt;&lt;BR /&gt;4) If all else fails, you may been to replace the tape drive.</description>
      <pubDate>Tue, 30 Jun 2009 13:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450153#M661559</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-30T13:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450154#M661560</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Most suspect part would be media. Also make sure that the tape is not write protected.</description>
      <pubDate>Tue, 30 Jun 2009 13:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450154#M661560</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-06-30T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450155#M661561</link>
      <description>Dirty tape heads can lead the tar utility to falsely indicate the tape is full.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;Tar: end of tape&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;For tar to span multiple tapes, the process must be interactive, so the operator can tell the job when to resume. Run in the background tar can not span multiple tapes.&lt;BR /&gt;&lt;BR /&gt;tar is not able without some kind of input to know when the next tape is ready.&lt;BR /&gt;&lt;BR /&gt;Here it asks for input:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;Tar: to continue, enter device/file name when ready or null string to quit.&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;It would be helpful to know what type of tape drive we are talking about. There are multi tape libraries that can be beyond the built in abilities of tar.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 13:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450155#M661561</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T13:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450156#M661562</link>
      <description>If you rewind the tape and store 6 blocks and receive a "tape full" message, you have either a bad tape or more likely a bad drive.&lt;BR /&gt;&lt;BR /&gt;Try another tape or better change the drive.</description>
      <pubDate>Tue, 30 Jun 2009 13:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450156#M661562</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-06-30T13:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450157#M661563</link>
      <description>The /etc/password file I'm trying to send to tape is only 6 blocks, I tried a new tape and got the same error message.&lt;BR /&gt;&lt;BR /&gt;The tape I tried is new and empty.</description>
      <pubDate>Tue, 30 Jun 2009 14:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450157#M661563</guid>
      <dc:creator>Broflowsky</dc:creator>
      <dc:date>2009-06-30T14:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450158#M661564</link>
      <description>ok, so a "new" tape failed.  Did you do any of the other things mentioned, like:&lt;BR /&gt;&lt;BR /&gt;clean the drive,&lt;BR /&gt;check the cabling / terminators&lt;BR /&gt;&lt;BR /&gt;*before* you tried the new tape?&lt;BR /&gt;&lt;BR /&gt;also, most drives now have a "clean me" light now.  Is it on now?  Was it on before you cleaned it?</description>
      <pubDate>Tue, 30 Jun 2009 14:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450158#M661564</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-06-30T14:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450159#M661565</link>
      <description>After you insert a tape, what is the output of "mt -t /dev/rmt/0m status" ?&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 04:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450159#M661565</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2009-07-01T04:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450160#M661566</link>
      <description>After doing such a test, inspect the syslog for errors. As said before, your drive is likely bad.</description>
      <pubDate>Wed, 01 Jul 2009 05:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450160#M661566</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-07-01T05:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450161#M661567</link>
      <description>Which tape drive and what type of tape(s) are you using?&lt;BR /&gt;&lt;BR /&gt;Also back in March you had a similar if not identical problem? How did you resolve that one or is it the same one?&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1322175" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1322175&lt;/A&gt;</description>
      <pubDate>Wed, 01 Jul 2009 11:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450161#M661567</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-07-01T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450162#M661568</link>
      <description>The tape drive has been cleaned.&lt;BR /&gt;&lt;BR /&gt;This is the output of the mt command&lt;BR /&gt;&lt;BR /&gt;[root]:/root # mt -t /dev/rmt/0m status&lt;BR /&gt;Drive: HP C5683A&lt;BR /&gt;Format: DDS-3 format&lt;BR /&gt;Status: [1112500] online compression immediate-report-mode&lt;BR /&gt;File: 0&lt;BR /&gt;Block: 0&lt;BR /&gt;&lt;BR /&gt;I also tried an fbackup as adviced in the other thread but got I/O error messages.&lt;BR /&gt;&lt;BR /&gt;[root]:/root # mt -t /dev/rmt/0m rew&lt;BR /&gt;[root]:/root # fbackup -f /dev/rmt/0m -i /etc&lt;BR /&gt;fbackup(1004): session begins on Wed Jul 1 10:07:16 2009&lt;BR /&gt;fbackup(3205): WARNING: unable to read a volume header&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /dev/rmt/0m&lt;BR /&gt;fbackup(9999): I/O error&lt;BR /&gt;fbackup(3124): write error on a record in the ANSII label&lt;BR /&gt;fbackup(3025): write error at the beginning of the volume&lt;BR /&gt;fbackup(3316): 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(3205): WARNING: unable to read a volume header&lt;BR /&gt;fbackup(3024): writing volume 1 to the output file /dev/rmt/0m&lt;BR /&gt;fbackup(9999): I/O error&lt;BR /&gt;fbackup(3124): write error on a record in the ANSII label&lt;BR /&gt;fbackup(3025): write error at the beginning of the volume&lt;BR /&gt;fbackup(3316): enter '^[yY]' when volume 1 is ready on /dev/rmt/0m,&lt;BR /&gt;or '^[nN]' to discontinue:&lt;BR /&gt;n&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;[root]:/root #</description>
      <pubDate>Wed, 01 Jul 2009 13:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450162#M661568</guid>
      <dc:creator>Broflowsky</dc:creator>
      <dc:date>2009-07-01T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450163#M661569</link>
      <description>You have a DAT4 tape drive and either you are using DDS3 tapes or the drive is not reporting the tape properly. (That's why I asked what kind of tapes you use). Ensure that all the tape related patches are installed on your server. Also install the "library and tape tools" software on the server and ensure that the tape drive has the latest firmware in it.</description>
      <pubDate>Wed, 01 Jul 2009 13:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450163#M661569</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-07-01T13:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450164#M661570</link>
      <description>I use DDS4 tapes, it is the same problem with the same server I had back in March, that time HP replaced the tape drive, and everithing worked, I only use this tape drive to perform monthly ignite backups, so this tape drive has olny been used 4 times. and it is not working again. What I'm trying to avoid is having to have this tape drive replaced every 4 months.</description>
      <pubDate>Wed, 01 Jul 2009 13:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450164#M661570</guid>
      <dc:creator>Broflowsky</dc:creator>
      <dc:date>2009-07-01T13:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450165#M661571</link>
      <description>It may very well be a tape drive issue specially since it looks like the drive is reporting all media as being at EOT. Other than replacing it again I don't see what else you can do. When it was replaced the last time, you probably got a refurbished unit and not a brand new one.</description>
      <pubDate>Wed, 01 Jul 2009 16:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450165#M661571</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-07-01T16:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450166#M661572</link>
      <description>"root]:/root # mt -t /dev/rmt/0m status&lt;BR /&gt;Drive: HP C5683A&lt;BR /&gt;Format: DDS-3 format&lt;BR /&gt;Status: [1112500] online compression immediate-report-mode&lt;BR /&gt;File: 0&lt;BR /&gt;Block: 0"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"I use DDS4 tapes, it is the same problem with the same server I had back in...."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what you say and what the drive says *differ*.  If this worked after the drive replacement, I'd suggest that the replacement has failed again.</description>
      <pubDate>Wed, 01 Jul 2009 17:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450166#M661572</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-07-01T17:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tar not working properly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450167#M661573</link>
      <description>&amp;gt;&amp;gt;What I'm trying to avoid is having to have this tape drive replaced every 4 months.&lt;BR /&gt;&lt;BR /&gt;If this tape drive is covered by a maintenance contract, I wouldn't worry.  HP will replace it as often as necessary.  What you CAN do however is start questioning HP as to why the drive fails so often.</description>
      <pubDate>Wed, 01 Jul 2009 17:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-not-working-properly/m-p/4450167#M661573</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-01T17:12:22Z</dc:date>
    </item>
  </channel>
</rss>

