<?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: write error: unexpected EOF in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987140#M123554</link>
    <description>Hm,probably /vobs is a certain type of filesystem that has a special requirements how&lt;BR /&gt;to be treated?&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
    <pubDate>Tue, 03 Jun 2003 07:52:43 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2003-06-03T07:52:43Z</dc:date>
    <item>
      <title>tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987139#M123553</link>
      <description>I use a DLT80 driver to do the data backup in a Solaris 2.6 server. The backup command I use is: tar cvfp /dev/rmt/0un /vobs  . (/vobs is the directory to be backup) But when I check the backup log, I find the error message as the title: tar:write error: unexpected EOF. I've tried to use a new tape, but still got the same result. Such error message occurs not at the end of the backup log file, but somewhere unexpeted. And to my strange, I use the same DLT driver to backup other directory in the same server, no such error message occurs. And the volumn of /vobs direcory is not very huge and should be held in one tape.&lt;BR /&gt;   So anyone here  can give me some advice to solve the problem. Thank you!</description>
      <pubDate>Tue, 03 Jun 2003 07:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987139#M123553</guid>
      <dc:creator>Happy Huang</dc:creator>
      <dc:date>2003-06-03T07:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987140#M123554</link>
      <description>Hm,probably /vobs is a certain type of filesystem that has a special requirements how&lt;BR /&gt;to be treated?&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 03 Jun 2003 07:52:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987140#M123554</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-03T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987141#M123555</link>
      <description>What is the storage size?&lt;BR /&gt;&lt;BR /&gt;Perhaps in the /vobs directory has a file greather than 2 Gb or 8 Gb.&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Tue, 03 Jun 2003 08:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987141#M123555</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-06-03T08:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987142#M123556</link>
      <description>I've checked the size of the files under /vobs directory, and no lagrge file whose size exceeds 2GB. And all the file under /vobs are normal data files.</description>
      <pubDate>Tue, 03 Jun 2003 08:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987142#M123556</guid>
      <dc:creator>Happy Huang</dc:creator>
      <dc:date>2003-06-03T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987143#M123557</link>
      <description>Do you have enough space in another patition? &lt;BR /&gt;If yes, you could try a tar over the hard disk to see what happens.&lt;BR /&gt;&lt;BR /&gt;tar cvfp /partition_with_space/tarfile.tar /vobs&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Tue, 03 Jun 2003 08:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987143#M123557</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-06-03T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987144#M123558</link>
      <description>if this is clearcase, verify you've got a valid view set. If it's not so big, try to tar it to file for later transfer to tape.&lt;BR /&gt;Make sure that your tape device is unique on the bus.</description>
      <pubDate>Tue, 03 Jun 2003 09:50:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987144#M123558</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2003-06-03T09:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987145#M123559</link>
      <description>Ok,try using fbackup and see if it fails as well.If not - you have some tar problem,could &lt;BR /&gt;be patching issue.Else - you've probably files&lt;BR /&gt;problem,could be clearcase-something or else.&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 03 Jun 2003 10:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987145#M123559</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-03T10:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987146#M123560</link>
      <description>sorry,its ufsbackup on Solaris I beleive :)&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jun 2003 10:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987146#M123560</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-03T10:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987147#M123561</link>
      <description>Check the /etc/fstab to see if the largefiles option is listed. Our entry looks like:&lt;BR /&gt;/dev/vgAPPS/lvolAPPS1 /usr/local/apps vxfs rw,largefiles,delaylog 0 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 03 Jun 2003 19:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987147#M123561</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-03T19:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987148#M123562</link>
      <description>Check to density of the tape you are using.  If it's of newer technonlogy than the drive, you can get this message.  &lt;BR /&gt;&lt;BR /&gt;I've seen this error when trying to use a DDS2 tape in a DDS1 drive.</description>
      <pubDate>Tue, 03 Jun 2003 19:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987148#M123562</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2003-06-03T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987149#M123563</link>
      <description>I did the test to backup the directory to the hard disk partition using the command: tar cvfp /backup/vob.tar /vobs . And the backup is successful. No such error message occured. It seems there is no special requirement to do the backup of the /vobs directory.&lt;BR /&gt;And the type of the driver is DLT80 and the tape I used is DLTape IV Data Cartrideg(C5141F). The tape should be matched with the tape driver.&lt;BR /&gt;At the same time, I did another test to backup the diretory to the hard disk partition not enought to hold the data. The same error message as the title occured when the space of the partition was full.&lt;BR /&gt;It seems that the problem occurs in the tape itself: the "tar" process has not detectd the EOF lable of the tape but it can't write data to the tape due to no spare space , so the "unexpected EOF" error message occurs. Do you think so?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2003 06:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987149#M123563</guid>
      <dc:creator>Happy Huang</dc:creator>
      <dc:date>2003-06-04T06:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987150#M123564</link>
      <description>Yes, of course.&lt;BR /&gt;If you list the tape content (via tar tvf &lt;DEVICE&gt;), you should see all files upto the tape-is-full condition like in your backup.&lt;BR /&gt;&lt;BR /&gt;Try to put your tarfile to the tape to see,&lt;BR /&gt;how much data you can get to it:&lt;BR /&gt;&lt;BR /&gt;dd if=/backup/vob.tar of=/dev/rmt/... bs=20b&lt;BR /&gt;&lt;BR /&gt;This should give you&lt;BR /&gt;- a message, that NOT all data coukld be copied to the tape&lt;BR /&gt;- the count of blocks (20b = 10KB), that could be transferred to tape.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;/DEVICE&gt;</description>
      <pubDate>Wed, 04 Jun 2003 14:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987150#M123564</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2003-06-04T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987151#M123565</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt; Small input ,try to check whether you are using the right tape drive ,check the tape drive status ,whether it holds to tape or not ,give rew to tape and check whether its working &lt;BR /&gt;&lt;BR /&gt;This error comes when there is no tape in tapedrive&lt;BR /&gt;&lt;BR /&gt;Rizwan</description>
      <pubDate>Wed, 04 Jun 2003 17:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987151#M123565</guid>
      <dc:creator>Rizwan Mohammed</dc:creator>
      <dc:date>2003-06-04T17:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: tar: write error: unexpected EOF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987152#M123566</link>
      <description>If this is Solaris, you may have better error detection and performance using "ufsdump"&lt;BR /&gt;&lt;BR /&gt;The syntax is relatively easy, you will be fine using&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/ufsdump 0ulTbf 99h 96 $HOSTWITHTAPE:/dev/rmt/$DEV /vobs&lt;BR /&gt;&lt;BR /&gt;You may want to also post what the output of &lt;BR /&gt;df -k /vobs&lt;BR /&gt;&lt;BR /&gt;You state that it's not "that" huge, but no definitions.&lt;BR /&gt;&lt;BR /&gt;If ufsdump fails, please post exactly what the error is, including error number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Wed, 04 Jun 2003 17:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-write-error-unexpected-eof/m-p/2987152#M123566</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-06-04T17:37:59Z</dc:date>
    </item>
  </channel>
</rss>

