dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
783

donoreo
Premium Member
join:2002-05-30
North York, ON

donoreo

Premium Member

Unexpected EOF when creating a tar file

I have never seen this before. I have seen it many times when extracting but not when creating a tar. Any ideas? Google is not turning up anything.

GILXA1226
MVM
join:2000-12-29
Dayton, OH

GILXA1226

MVM

Do you have enough disk space? Any of the files you are trying to tar up in use?

donoreo
Premium Member
join:2002-05-30
North York, ON

donoreo

Premium Member

Yes and no.
dave
Premium Member
join:2000-05-04
not in ohio

dave to donoreo

Premium Member

to donoreo
Any network involved for either input or output?

Is the error repeatable with the same input?

donoreo
Premium Member
join:2002-05-30
North York, ON

donoreo

Premium Member

No network. Not sure, I am not the one that had the error, I am the one looking for a reason. Will check on it.

Brano
I hate Vogons
MVM
join:2002-06-25
Burlington, ON

Brano to donoreo

MVM

to donoreo
Are you tar-ing any special files? e.g. /proc /dev or similar?

nwrickert
Mod
join:2004-09-04
Geneva, IL

nwrickert to donoreo

Mod

to donoreo
said by donoreo:

I have never seen this before.

When that has happened to me, it was because I messed up the command line.

leibold
MVM
join:2002-07-09
Sunnyvale, CA
Netgear CG3000DCR
ZyXEL P-663HN-51

leibold to donoreo

MVM

to donoreo
Does the user have a wildcard expression for the files to be included in the archive that expands to also match the tar file itself ?
Trying to back up a backup file into itself can result in obscure, possibly misleading error messages and you didn't specify which of the many implementations of tar was used.

donoreo
Premium Member
join:2002-05-30
North York, ON

donoreo

Premium Member

Solved: file system limitation on AIX. Adjusted the size in ulimit.

Exodus
Your Daddy
Premium Member
join:2001-11-26
Earth

Exodus

Premium Member

I forgot to think about the ulimits. Also didn't realize you were working on AIX.

Yay, I'm not alone. Another AIX admin.

dennismurphy
Put me on hold? I'll put YOU on hold
Premium Member
join:2002-11-19
Parsippany, NJ

dennismurphy to donoreo

Premium Member

to donoreo
I was about to ask which platform...

Solaris' tar does oddball things like that. Use GNU tar for good health.

Same is true on AIX ... HPUX tar hasn't given me an issue in many years, but even there, keep some good GNU tools stuffed in /usr/local and be happy.

Even with the ulimit adjustments, I'd still use GNU Tar.... I'm not as intimately familiar with AIX as I am Solaris, but Sun's tar always had some arbitrary pathname length limitations. GNU tar saves you from dealing with that.

darcilicious
Cyber Librarian
Premium Member
join:2001-01-02
Forest Grove, OR
·Ziply Fiber

darcilicious

Premium Member

said by dennismurphy:

Solaris' tar does oddball things like that. Use GNU tar for good health.

hahahaha, that brings back memories!

dennismurphy
Put me on hold? I'll put YOU on hold
Premium Member
join:2002-11-19
Parsippany, NJ

dennismurphy

Premium Member

said by darcilicious:

said by dennismurphy:

Solaris' tar does oddball things like that. Use GNU tar for good health.

hahahaha, that brings back memories!

No kidding! I'm a sales weasel these days so I don't bang on the keyboard as much anymore, but I still have the battle scars to prove it.

(BTW, moving to a sales position has been the best decision I've ever made. I get to stay technical (I'm a weasel but I get to be my own SE most of the time), I get to engineer very cool solutions, I get paid well, and best of all, I don't have to do on-call rotations.

darcilicious
Cyber Librarian
Premium Member
join:2001-01-02
Forest Grove, OR
·Ziply Fiber

darcilicious

Premium Member

said by dennismurphy:

and best of all, I don't have to do on-call rotations.

More memories! Yikes, I don't miss those days at all.

I still to do technie stuff but it's in support of (primarily) public libraries and in general, *nix isn't spoke (though there are a few libraries that run linux for their public computers).

Moving more into training and coordinating statewide technology-related programs...