LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-20-2003, 01:58 AM   #1
pcwulf
LQ Newbie
 
Registered: Oct 2003
Location: Tokyo
Distribution: REDHAT
Posts: 8

Rep: Reputation: 0
Unhappy Large tar file taking huge disk space in ext3 file system


Hi,

I am trying to backup some of my data by tarring in to another hard drive (I am in fact compressing them using bzip2 later -- but that's not relevent to this question).

My original directory tree has taken (du -sk <directory>) about 1.9GB. So, I was surprised to see that the tar file has taken 3.3GB.

Command used was find <source directory> |tar -cv <tar file> -T -

Since this is a small part of a Huge backup program, if things behave this way, I am going to be in trouble.

Can somebody help me to figure out what is happening.

Thanks in advance
 
Old 10-20-2003, 03:38 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 35
The only thing I could think of it that you've got a core file somewhere, that hasn't been noticed for whatever reason. Try searching for a file named "core" (find / -name core) they're usually massive (about 1.5GB) and they can safely be deleted.
Otherwise that is very strange.
Guy
 
Old 10-20-2003, 07:45 AM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Try a much simpler command such as:
tar zcvf /path/to/backup.tgz /directory/to/backup
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ext3 file system in a file Denes Linux - General 3 10-08-2005 09:59 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
how large can a file system be? Wolf_Assassin Linux - Software 2 08-21-2004 02:31 PM
large tar backup file to be burn stefane321 Linux - General 2 07-01-2004 02:33 PM
splitting large tar file derfberg Linux - Newbie 1 01-08-2003 07:44 PM


All times are GMT -5. The time now is 02:11 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