Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Integrity of a tar -archieve

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
jotte
n00b
n00b
Posts: 11
Joined: Fri Feb 03, 2006 8:28 am

Integrity of a tar -archieve

  • Quote

Post by jotte » Mon Oct 23, 2006 12:29 pm

How can I check the integrity of a large tar -archieve (12 GB)?
Top
karnesky
Apprentice
Apprentice
Posts: 218
Joined: Thu Mar 18, 2004 9:07 pm
Contact:
Contact karnesky
Website

  • Quote

Post by karnesky » Mon Oct 23, 2006 3:32 pm

What do you mean by 'check the integrity of?'

You can test the hashes against known hashes, as you could with smaller files--it just takes longer.
Donate to F/OSS
Top
jotte
n00b
n00b
Posts: 11
Joined: Fri Feb 03, 2006 8:28 am

  • Quote

Post by jotte » Mon Oct 23, 2006 4:44 pm

I created a tar -archieve of my Gentoo system with following command:

tar cvjpf /mnt/Gentoobackup/stage4.tar.bz2 / -X /home/jotte/stage4.excl

When it was done, I tried to preview it with Archiever to check that the tar -file was OK. After a long while Archiever ended up with a message saying Archiever encountered an error or something like that. Does this mean, that the file is corrupt? Or is the file too big the Archiever to handle it?
Top
karnesky
Apprentice
Apprentice
Posts: 218
Joined: Thu Mar 18, 2004 9:07 pm
Contact:
Contact karnesky
Website

  • Quote

Post by karnesky » Mon Oct 23, 2006 5:04 pm

Never heard of 'Archiever'. You can use 'tar t' to list the file contents, if that is all you were going to do.
Donate to F/OSS
Top
BlackEdder
Advocate
Advocate
User avatar
Posts: 2588
Joined: Mon Apr 26, 2004 8:47 am
Location: Dutch enclave in Egham, UK
Contact:
Contact BlackEdder
Website

  • Quote

Post by BlackEdder » Mon Oct 23, 2006 5:05 pm

You could try
tar tvjf /mnt/Gentoobackup/stage4.tar.bz2
to review the tar file (it will list all files in the tar file).
Top
jotte
n00b
n00b
Posts: 11
Joined: Fri Feb 03, 2006 8:28 am

  • Quote

Post by jotte » Mon Oct 23, 2006 7:32 pm

Thank you for your kind help BlackEdder. I did as you suggested. Listing of files completed without errors, so the archive -file propably is OK.
Top
Horatio
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Wed Feb 25, 2004 6:54 am
Location: Houston, TX

tar archieve, backup corrupt

  • Quote

Post by Horatio » Mon Apr 23, 2007 3:23 pm

I've tried the command

Code: Select all

tar --one-file-system -cvWf /home/nathan/POCKET/my_home_today.tar .
in two scenarios. One in KDE with Konsole and the other with my self logged out of KDE with a virtual terminal logged in as root then su to my user.

Both times the tar command

Code: Select all

tar -t  my_home_today.tar .
will give no output for an hour and I will give up. Also the utility Ark gives the error message
An error occurred while tryig to open the archive
I am trying to backup my home directory. My previous problem with tar is http://forums.gentoo.org/viewtopic-t-55 ... ight-.html.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

Re: tar archieve, backup corrupt

  • Quote

Post by Genone » Mon Apr 23, 2007 3:36 pm

Horatio wrote:Both times the tar command

Code: Select all

tar -t  my_home_today.tar .
will give no output for an hour and I will give up. Also the utility Ark gives the error message
Of course, because tar is waiting for input. As you didn't specify the -f switch it expects the archive on stdin.
Top
Horatio
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Wed Feb 25, 2004 6:54 am
Location: Houston, TX

  • Quote

Post by Horatio » Tue Apr 24, 2007 2:40 am

Wow, serious user error on my part. Much thanks, though I don't know why having used tar I forgot that! *sigh*
Top
Horatio
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Wed Feb 25, 2004 6:54 am
Location: Houston, TX

  • Quote

Post by Horatio » Tue Apr 24, 2007 2:44 am

I should add that the graphical tool file-roller worked even though the graphical tool ark gave an error.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic