View previous topic :: View next topic |
Author |
Message |
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 7:24 pm Post subject: Tar help |
|
|
Hi guys i have a 4 gig .tar file and everytime i want to uncompress it it runs into an error and stops, i think it is due to the size of the file but i have enough space were i am unpacking it at, is there any way to force it to unpack the whole thing or what can i do? any thing helps thanks. |
|
Back to top |
|
|
fido Tux's lil' helper
Joined: 16 Jul 2003 Posts: 148 Location: WSU, Pullman, WA
|
Posted: Sun Jun 05, 2005 7:28 pm Post subject: |
|
|
Can you post some of the errors? Are they always the same or do they vary? _________________ Amatures built the Ark, professionals built the Titanic |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 7:30 pm Post subject: |
|
|
sorry about it let me get it for you |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 8:07 pm Post subject: |
|
|
This is the error sorry i didnt post it earlier i keep getting it everytime i try to unoack the file
Code: | bzip2:compressed file ends unexpedtedly;
perhaps it is corrupted? *possible* reason follows.
bzip2: Inappropriate ioctl for drive
Input file = (stdin), output file = (stdout)
It is possible that the compressed file (s) have become corrupted.
you can use the -tvv option to test the integrity of such files.
you can use the 'bzip2recover' program to attemp to recover data from undamaged section of corruptes files
tar:Unexpected EOF in archive
tarUnexpected EOF in archive
tar:Error is not recoverable: exiting now |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 8:26 pm Post subject: |
|
|
jsias99,
You've not kept it on a filesystem with a 2Gb file size limit have you?
e.g. moving it over NFS will break it like that _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 8:28 pm Post subject: |
|
|
woops is there anything i can do, to recover the other 2 gigs |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 8:41 pm Post subject: |
|
|
jsias99,
If you still have the original, you can scp it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 8:42 pm Post subject: |
|
|
huh? scp it what is that sorry im kinda of new |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 9:08 pm Post subject: |
|
|
so there is nothing i can do to open the complete file, i am confussed. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 9:18 pm Post subject: |
|
|
jsias99,
scp == Secure CoPy Its part of ssh on linux - get the PuTTY client if a Windows box is involved.
Its a completely general copy that uses an encrypted channel. So you can securely copy files between two hosts while sat at a third.
The syntax is scp <source_file> <destination_file>
<source_file> <destination_file> are both of the form
user@host:/path/to/file
You may omit parts that are not required.
user must be a valid user on the host - you will be challenged for users password.
host may ne a name or IP.
So scp /path/to/file user@host:/path/to/dest/ will copy a local file to a remote machine.
scp -r does whole directories.
See _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 9:20 pm Post subject: |
|
|
so i must have another machine with unix |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 10:00 pm Post subject: |
|
|
jsias99,
No. Only one box need run Linux but it must be the remote one. Get putty here http://www.chiark.greenend.org.uk/~sgtatham/putty/
Putty is just the ssh client. It can connect to linux but it soed not provide a host, so cannot accept connections.
You need pscp too. Thats the scp client for windows.
Then you need to be sitting at the windows box to use them. The syntax is the same. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
fido Tux's lil' helper
Joined: 16 Jul 2003 Posts: 148 Location: WSU, Pullman, WA
|
Posted: Sun Jun 05, 2005 10:01 pm Post subject: |
|
|
Well, the machine that you are getting it from needs to be any box with ssh installed. This could be Unix or Windows, although if it were Unix you would have a far better chance of having the tools already installed _________________ Amatures built the Ark, professionals built the Titanic |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 10:04 pm Post subject: |
|
|
fido,
The data transfer can be either way but PuTTY cannot accept incomming connections,
so you need to do the control from the Windows box. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 10:06 pm Post subject: |
|
|
ok ill give it a shot, i have putty already so i need pscp then i type in the same command and it will tranfer the file to my windows machine right. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 10:09 pm Post subject: |
|
|
jsias99,
Yes.
[/code] _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 10:14 pm Post subject: |
|
|
ok im going to sound dumb, but im secure shelled into the machine, so were exactly on the windows machine would it save it, can it be like on a folder i create, does it matter if it is running windows? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Sun Jun 05, 2005 10:58 pm Post subject: |
|
|
jsias99,
Its saves it where you tell it. In <destination_file>
On the windows box you do
pscp user@host:/path/to/source C:\some\windows\file\ _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 11:23 pm Post subject: |
|
|
now i would type that in in putty os pscp |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sun Jun 05, 2005 11:33 pm Post subject: |
|
|
There is an easier way: winscp.
Google for it, download it, and you will be up and running in under a minute _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
jsias99 n00b
Joined: 17 Feb 2005 Posts: 30 Location: Somewhere in Texas
|
Posted: Sun Jun 05, 2005 11:37 pm Post subject: |
|
|
yeah i found it it works great thanks guys i really apreciate it. |
|
Back to top |
|
|
shanenin Guru
Joined: 28 Nov 2003 Posts: 578 Location: Rochester, MN U.S.A
|
Posted: Mon Jun 06, 2005 1:15 am Post subject: |
|
|
NeddySeagoon wrote: | jsias99,
You've not kept it on a filesystem with a 2Gb file size limit have you?
e.g. moving it over NFS will break it like that |
I am not quite following, you are not able to move a tarball more then 2gb over nfs; could you eleberate? _________________ http://brighteyedcomputer.com |
|
Back to top |
|
|
fido Tux's lil' helper
Joined: 16 Jul 2003 Posts: 148 Location: WSU, Pullman, WA
|
Posted: Mon Jun 06, 2005 3:53 pm Post subject: |
|
|
According to the NFS documentation found here:
Quote: | Version 2 clients can access only the lowest 2GB of a file (signed 32 bit offset). Version 3 clients support larger files (up to 64 bit offsets). Maximum file size depends on the NFS server's local file systems. |
So actually, if the system is running v3 and uses a compatable filesystem, he shouldn't be having a problem. _________________ Amatures built the Ark, professionals built the Titanic |
|
Back to top |
|
|
shanenin Guru
Joined: 28 Nov 2003 Posts: 578 Location: Rochester, MN U.S.A
|
|
Back to top |
|
|
|