SUMMARY - Error with tar command

From: PABLO CESAR SALAZAR ALEMAN <psalazar_at_cydsa.com>
Date: Fri, 20 Jul 2001 08:55:04 -0500

Hi,
     thanks to all responses, but:

     the solution to my problem is:

     Install the Patch Kit # 6:

> PROBLEM: (DM07739) (PATCH ID: OSF440-551)
> ********
> This patch corrects pax/tar/cpio to properly extract explicitly
> specified files.
> When an archive contained a file with extended attributes and a
> different file
> (occurring later in the archive) was specified to be extracted,
> improper buffer
> pointer management resulted in the following display (example uses
> tar):
> tar: /dev/nrmt0h : This doesn't look like a tar archive
> tar: /dev/nrmt0h : Skipping to next file...
> tar: Memory allocation failed for extended data while reading
> :
> Not enough space
> The directory option was similarly affected. In this case the
> information
> for the specified file was not reported.
>
>
> PROBLEM: (MCGMA0CZ6, 81774) (PATCH ID: OSF440-498)
> ********
> This patch fixes a problem with the tar and pax programs. These
> programs
> incorrectly append files to an existing archive and cause the file to
> become corrupt.
> A user will not notice the corruption until they read the archive
> using
> either the "tar t" or "tar x" commands. For example, a file named
> foo.tar
> would have the following message in the middle of the output:
>
> tar: foo.tar : This doesn't look like a tar archive
> tar: foo.tar : Skipping to next file...

Regards,
Pablo Salazar





PABLO CESAR SALAZAR ALEMAN <psalazar_at_cydsa.com> on 08/18/2001 04:52:52 PM

To: tru64-unix-managers_at_ornl.gov
cc: (bcc: PABLO CESAR SALAZAR ALEMAN/GPOCYDSA/EXTERNOS/CYDSA)

Subject: Error with tar command





Hi managers,

          i have a problem with tar command.
     i have a shell script to backup. The command
     that i use to is:

     tar -cvsp -f /dev/nrmt0h /dir1/dir2

     under dir2 there is a directory structur like this:
          dir3_1
                              dir4_1
                    dir4_2
                    :
                                              :
                    dir4_n
          dir3_2
                    dir5_1
                    dir5_2
                    :
                    :
                    dir5_n
          dir3_3
          :
          :
          :
          dir3_n

     then, when i want restore the information on any directory i use this
command:

# mt rewind
tar -xvsp -f /dev/nrmt0h /dir1/dir2/dir3_3

then i have this error:

blocksize = 20 tar: /dev/nrmt0h : This doesn't look like a tar archive
tar: /dev/nrmt0h : Skipping to next file...
tar: Memory allocation failed for extended data while reading : Not enough space


then, i use this command:

tar -xvsp -f /dev/nrmt0h /dir1/dir2/dir3_3/dir4_2

the same error,

too i use this command:

tar -svsp -f /dev/nrmt0h /dir1/dir2

the same error again.

Thanks in advanced.
Pablo Salazar
Received on Fri Jul 20 2001 - 14:01:56 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT