LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-25-2004, 12:31 PM   #1
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Rep: Reputation: 15
Trouble with an 8GB file


I've got a large (8GB) file I'm trying to move to another machine. It's actuallly a tarball of pretty much the entire system. After tar completes the file, it's size is 8.3 GB.

I proceede to the target machine and open the file manager in webmin to try to d/l it and it reports the size ad 4.8 or so GB, I begin the download and mozilla reports x of 2 GB completed ....hmmm...after the download completes I try to browse the tarball in konqueror and get a file doesn't exist error.

so I come back to the original machine and try to open the tarball for browsing in konqueror and get an error that the file doesn't exist.

I'm not even close to out of disk space on either machine. The only reason I'm using webmin is because its already installed and handy....any thoughts on what could be the problem...???


Thanks
 
Old 05-25-2004, 12:37 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 68
maybe this:
http://www.suse.de/~aj/linux_lfs.html
 
Old 05-25-2004, 01:06 PM   #3
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Original Poster
Rep: Reputation: 15
I should have mentioned that both are Fedora Core 1 systems and I believe support for large files is "built in"..will dig more for that though..thanks
 
Old 05-25-2004, 01:13 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 68
OK, so maybe it is a problem with webmin or mozilla. Can you use a dedicated FTP client to get the file? What about wget?

Using a browser is not usually the best way to download a large file like this, as it is easier for the file to be corrupted.

Have you compressed the file first?
 
Old 05-25-2004, 01:16 PM   #5
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Original Poster
Rep: Reputation: 15
installing an ftp server on the source machine right now...will try this route
 
Old 05-25-2004, 05:52 PM   #6
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Original Poster
Rep: Reputation: 15
Well, I got it to copy via ftp, strangely enough when I used the hash on option during the transfer the hashes 'hung' about the 2GB mark, the file continued to transfer but stuck about the 6 GB mark.

I successfully transfered it without the hashes on, but still couldn't do anything to it with konqueror, got it to untar find via shell, so alls well that ends well i guess...:]

Last edited by Jonasx; 05-25-2004 at 05:58 PM.
 
Old 05-25-2004, 11:34 PM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The info page for tar includes an example of using pipes to copy entire directories, using a pipe. The destination directory could be a share on another machine. This might be a better method of transfering such large amounts to another machine.
Code:
   For example, here is how you might copy a directory's contents from
one disk to another, while preserving the dates, modes, owners and
link-structure of all the files therein.  In this case, the transfer
medium is a "pipe", which is one a Unix redirection mechanism:

     $ cd sourcedir; tar -cf - . | (cd targetdir; tar -xf -)

The command also works using short option forms:

     $ cd sourcedir; tar --create --file=- . | (cd targetdir; tar --extract --file=-)

This is one of the easiest methods to transfer a `tar' archive.
Keep in mind, that when the files are transfered to another machine, that the group ownerships may need to be changed. The gid of the 'disk' group on one machine may not match the gid number of the 'disk' group on a second machine. You will need to compare the /etc/group files on the two machines.

The find command can locate any files by group ownership if there are group number/name differences.

Last edited by jschiwal; 05-25-2004 at 11:43 PM.
 
Old 05-26-2004, 12:33 AM   #8
Jonasx
Member
 
Registered: Sep 2003
Location: In the network closet
Distribution: Gentoo
Posts: 37

Original Poster
Rep: Reputation: 15
Great, thanks!

Also with -p I can keep the permissions in tact, and since the whole /etc directory is going over too, things should fall in line.

I'm more curious now about why I'm having trouble manipulating the large file with gui tools.

Last edited by Jonasx; 05-26-2004 at 12:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail folder is 3.8Gb!!! fuelinjection Linux - General 7 07-21-2005 04:51 PM
Mp3 file info on my modest 8GB library eth0g Linux - General 3 06-04-2005 01:57 AM
need HP Colorado 8GB tape drive help dkirker Mandriva 0 07-03-2004 11:37 AM
Dell optiplex G1 HD 33.8GB instead of 120GB shadowhunter Linux - Hardware 4 01-04-2004 07:37 AM
Mandrade 8.1 under 8GB? freezinbutt Linux - Software 1 03-15-2002 11:08 AM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration