tar 가 좀 불안정한가요?

망치의 이미지

압축할때는

tar cvfz [만들어질파일명] [압축할디렉토리]

그리고 압축 풀때는

tar xvfz [압축 파일명]

을 이용하여 압축/해제 합니다.

근데 작은 용량들은 괜찮은데 용량이 좀 커지면 항상

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors

같은 에러를 내면서 제대로 해제가 안됩니다. 오늘도 약 14기가 정도 되는 압축파일을 해제하다가 오류로 결국 포기했습니다;
혹시나 싶으면 항상 역시나...가 됩니다 ㅡㅡ;

tar 가 불안정한건지 제가 잘못사용하고 있는건지 모르겠씀다.. ㅠㅠ

keizie의 이미지

tar 같은 기본 유틸이 문제가 있으면 큰일이죠.
용량이 클 때 문제가 생긴다면 FAT32 등에서 걸리는 파일시스템의 용량제한 문제가 아닐까요?

망치의 이미지

파일시스템은 항상 ext3 였습니다. 압축한곳도, 푼곳도요...

---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/

adaylily의 이미지

tar xvfz [압축 파일명] 이렇게 사용하신다고 하셨는데, xvfz z옵션이 제일 뒤에서는 안된다는 경우를 얼핏 읽었던 것으로 기억납니다.
-z, --gzip, --ungzip
filter the archive through gzip
man으로 열어보니까 이런식으로 되어 있는데, 저도 확실하지는 않아서, 한번 찾아보세요....

-f, --file [HOSTNAME:]F
use archive file or device F (default "-", meaning stdin/stdout)

아마도 f가 마지막 파일 푸는 옵션중에 하나가 아닐까 합니다.

도움이 못되서 죄송합니다.
아주 오래전에 이 문제로 고생한 적이 있었는데, 그 때는 ext3가 아니었고, 파일 시스템 지원문제는 ext3로 해결되었다고 들었는데 그렇지는 않은가 보네요....

dipole의 이미지

확실하진 않지만... 시간이 많이 걸리지 않으신다면
한번 xvfz -> xvzf 로 해보시지요...

너는 누구냐?

ymir의 이미지

그냥 에러 메시지만 보면, gzipped tar 파일이 손상되었을 가능성이 높은 것 같습니다.
압축파일이 14G 라면, tar 파일은 그보다 더 클텐데...
파일시스템에서 지원하는 최대 파일 크기가 어느 정도인지 한번 확인해 보심이 좋을 것 같네요.
그리고 file 명령으로 압축된 파일 확인해 보시고..
해당 파티션의 여유공간도 충분한지 확인해 보시면 어떨까 합니다.
의심스러울 때에는 개별 명령으로 단계별로 검토해 보시는 것도 방법이 될 수 있습니다.

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』

익명 사용자의 이미지

cvfz -> czvf 로

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.