<?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 Fail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534984#M890380</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since you ran the tar from cron there was no controlling terminal for tar to post a mount request when it wanted another tape - hence the can't open /dev/tty message and tar gives up.&lt;BR /&gt;&lt;BR /&gt;Now, why did tar want another tape?  Perhaps the one you used was bad or write protected.  Have you tried another tape?  Was the same tape being used both times tar failed?&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
    <pubDate>Thu, 31 May 2001 13:40:19 GMT</pubDate>
    <dc:creator>Darrell Allen</dc:creator>
    <dc:date>2001-05-31T13:40:19Z</dc:date>
    <item>
      <title>TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534976#M890372</link>
      <description>I use TAR to make a backup from my system. Last nigth it was fail and show the following message: "Can't open /dev/tty to prompt for more media.". If I try to start again, the tar begin with no problem, but it's second occurency of this problem.&lt;BR /&gt;thanx in advance.</description>
      <pubDate>Thu, 31 May 2001 12:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534976#M890372</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-05-31T12:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534977#M890373</link>
      <description>Hi, claudio&lt;BR /&gt;&lt;BR /&gt;check the tape size u r using and size of file  that u r trying to backup. by looking at the error it looks that file size exceeding the tape size.</description>
      <pubDate>Thu, 31 May 2001 12:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534977#M890373</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-05-31T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534978#M890374</link>
      <description>/dev/tty is a device file for a&lt;BR /&gt;terminal, probably the console terminal in your case.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2001 12:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534978#M890374</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-31T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534979#M890375</link>
      <description>- Hi Ravi.&lt;BR /&gt; the Unit - DLT4000 - uses a 40 Gb tape and it's error occur at begining of copy.&lt;BR /&gt;&lt;BR /&gt;- Hi Vincenzo.&lt;BR /&gt; really /dev/tty im my console, but this routine run with Cron and a Console is not in use when the error occur.</description>
      <pubDate>Thu, 31 May 2001 12:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534979#M890375</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-05-31T12:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534980#M890376</link>
      <description>The way I see this is the tape is getting full, and can not find the&lt;BR /&gt;console to prompt for another tape.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2001 12:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534980#M890376</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-31T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534981#M890377</link>
      <description>Hi,&lt;BR /&gt;since the error occur at the begining it is sure that the file to be backed up is larger than the tape size. because the tar checks the size of the file with that of tape, if it is less or equal then  tar proceeds else tar fails.</description>
      <pubDate>Thu, 31 May 2001 13:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534981#M890377</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-05-31T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534982#M890378</link>
      <description>ioscan -fnkCtape&lt;BR /&gt;&lt;BR /&gt;locate the device file for your DDS drive&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;tar -cvf /dev/rmt/2m&lt;BR /&gt;or whatever the device file returned from ioscan is.&lt;BR /&gt;&lt;BR /&gt;A tty device file is for a text terminal or&lt;BR /&gt;serial line port multiplexer not for magnetic&lt;BR /&gt;tape drives.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 31 May 2001 13:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534982#M890378</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-05-31T13:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534983#M890379</link>
      <description>Ravi,&lt;BR /&gt;although your mind is correct, the file that TAR is check at begining is too small - and I don't have any file greater than my space in tape. But... I say but, although I'm using &lt;BR /&gt;tar -cvf /dev/rmt/0m &lt;LIST_OF_FILES&gt;, I was deep in thought: it's possible the tape is not in the begining when the tar start? Than the tape is going to the end and than I wouldn't have space to save my files? It's possible ?&lt;/LIST_OF_FILES&gt;</description>
      <pubDate>Thu, 31 May 2001 13:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534983#M890379</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-05-31T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534984#M890380</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since you ran the tar from cron there was no controlling terminal for tar to post a mount request when it wanted another tape - hence the can't open /dev/tty message and tar gives up.&lt;BR /&gt;&lt;BR /&gt;Now, why did tar want another tape?  Perhaps the one you used was bad or write protected.  Have you tried another tape?  Was the same tape being used both times tar failed?&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 31 May 2001 13:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534984#M890380</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-05-31T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534985#M890381</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check with Darrel points, doubt on the tape.&lt;BR /&gt;whenever u tar -cvf  it is archieved on the begining of the tape not at the end, to append to the tape we'll use tar -rvf</description>
      <pubDate>Thu, 31 May 2001 13:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534985#M890381</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-05-31T13:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534986#M890382</link>
      <description>Claudio,&lt;BR /&gt;&lt;BR /&gt;the DLT4000 has a capacity of 20GB and the 40GB is the capacity with an average compression of 2:1.&lt;BR /&gt;If you have many compressed files on this system, you might not be able to backup more than 25-30GB, because you will not reach this 2:1 compressratio.&lt;BR /&gt;It is most likely, that the device is full.&lt;BR /&gt;&lt;BR /&gt;You can check the following to be sure:&lt;BR /&gt;&lt;BR /&gt;tar cvf - list_of_file | dd bs=1k of=/dev/null&lt;BR /&gt;&lt;BR /&gt;with the output of how many blocks dd did transfer, you should be able to estimate, how close you are to the end of tape.&lt;BR /&gt;Compare this with&lt;BR /&gt;&lt;BR /&gt;tar cvf - list_of_file | compress | dd bs=1k of=/dev/null&lt;BR /&gt;&lt;BR /&gt;And check this result against the uncompressed limit of 20GB.&lt;BR /&gt;&lt;BR /&gt;Both commands may take a while to finish.&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;BR /&gt;Volker</description>
      <pubDate>Thu, 31 May 2001 13:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534986#M890382</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-05-31T13:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: TAR Fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534987#M890383</link>
      <description>That message tell you that is not more media. I guess the tape is not at Begining when you start tar.</description>
      <pubDate>Thu, 31 May 2001 14:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-fail/m-p/2534987#M890383</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-05-31T14:29:47Z</dc:date>
    </item>
  </channel>
</rss>

