- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar: ././@LongLink creating as regular file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 07:29 PM
тАО06-01-2005 07:29 PM
I have a got a tar file which when I am extracting then it give me the following messages:
tar: ././@LongLink creating as regular file
tar: ././@LongLink - cannot create
and also
directory checksum error
at the end.
# tar -tvf abc.tar
The output comes without directory checksum error but there are some longlink files in it.
--------- 0/0 103 Jan 1 08:00 1970 ././@LongLink
--------- 0/0 101 Jan 1 08:00 1970 ././@LongLink
What could be the cause of the "directory checksum error" and also what is this "LongLink" and how can I resolve this?
thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 07:57 PM
тАО06-01-2005 07:57 PM
Re: tar: ././@LongLink creating as regular file
r u on 11 or 11i? there is actually some reported problem on older patch version of tar command.
reply on tar version:
# what /usr/bin/tar
for 11.00 - PHCO_24633 solve the problem
for 11.11 - PHCO_24716 solve the problem
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 08:21 PM
тАО06-01-2005 08:21 PM
Re: tar: ././@LongLink creating as regular file
My system is on HP-UX 11.11.
what output from my system for tar:
# what /usr/bin/tar
/usr/bin/tar:
tar.c $Date: 2003/05/19 02:55:16 $Revision: r11.11/6 PATCH_11.11 (PHCO_
28992)
$Revision: @(#) all CUP11.11_BL2003_0522_1 PATCH_11.11 PHCO_28992
Thu May 22 03:24:02 PDT 2003 $
PHCO_28992 supersedes PHCO_24716.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 09:09 PM
тАО06-01-2005 09:09 PM
Re: tar: ././@LongLink creating as regular file
it looks like a corrupt tar file. also, the date for the tvf options seems odd.
do u happen to know what was the option, i.e. besides -cvf, use to tar this?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2005 11:43 PM
тАО06-01-2005 11:43 PM
Solutionthe checksum error is caused by a mismatch between the stored checksum for the archive as a whole and the computed checksum, based on the system's reading of certain fields in the archive. The error would be normal for a non-tar archive, but since you can list some files by a tar command, we must assume that the archive is of type tar.
The odd dates - and file names - could be caused by your system not getting the expected information from some of the fields when it reads the archive.
My guess is therefore that the archive was not created on the machine on which you try to restore it. Another guess is that the archive holds long file names (> 100 chars), which the tar of your system cannot handle. Was the archive produced by GNU tar?
regards from the guessing
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 12:35 AM
тАО06-02-2005 12:35 AM
Re: tar: ././@LongLink creating as regular file
use option 'i' to ignore directory checksum errors. I found these @Lonklink when restoring tar-files produced by GNUtar or Sequent or ancient SGI IRIX5.3.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 12:38 AM
тАО06-02-2005 12:38 AM
Re: tar: ././@LongLink creating as regular file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 02:45 AM
тАО06-02-2005 02:45 AM
Re: tar: ././@LongLink creating as regular file
The problem happens because HP-UX tar doesn't allow long file names. The limit is around 100 bytes (tho I am not sure of the exact limit). So if you create tar ball on some system other than HP-UX, where long file names are allowed, then you will notice this problem on untar'ing it on HP-UX.
Please note that HP-UX doesn't allow you to create tar ball with long file names. So this problem would never occur if both tar'ing and untar'ing is done on HP-UX.
I couldn't find any patch to fix this problem on 11.11, so only workaround I see is to recreate the tar ball with files having smaller names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 02:44 PM
тАО06-02-2005 02:44 PM
Re: tar: ././@LongLink creating as regular file
I too think that the tar file might have been created on another platform which support LongLinks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2005 02:45 PM
тАО06-02-2005 02:45 PM