From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421997.tru64-unix-managers.marc@archive.invalid> From: PABLO CESAR SALAZAR ALEMAN Date: Fri, 20 Jul 2001 13:55:04 +0000 To: tru64-unix-managers Subject: SUMMARY - Error with tar command X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421997 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 on 08/18/2001 04:52:52 PM To: tru64-unix-managers@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