LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2012, 03:34 AM   #1
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Rep: Reputation: 15
Question tar + gzip/bzip2 with big file size limitation/solution


I'm looking to compress a folder containing multiple big files (.vmdk files), over 100GB.

my first attempt was:
Code:
>tar -jcvf myfolder.tar.bz2 myfolder
but returned:
Code:
tar: can't store file 'myfolder/myvm-flat.vmdk' of size 107374182400, aborting
Since i want to have a single compressed file, i've heard about the option "-M" and "-F" on tar man pages but can't found any sample command line.

Anyone already used those options ?

Thanks

PS: the system is BusyBox v1.16.1 ("uname -prosi" return: Linux 2.6.32.12 unknown unknown GNU/Linux)

Last edited by limdel; 03-22-2012 at 03:39 AM.
 
Old 03-22-2012, 06:34 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
just a tip: tar needs a temp space to store the tar file (before bzip2), maybe you do not have enough space in /tmp?
 
Old 03-22-2012, 07:47 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
It could be a 32 bit limit (2GB signed or 4GB unsigned), but it appears to be hard to tell from your uname output.
Can you find out if its 32 or 64 bit?
 
Old 03-24-2012, 10:29 AM   #4
limdel
Member
 
Registered: May 2009
Location: Ho Chi Minh City, Vietnam
Distribution: CentOS - FEDORA
Posts: 59

Original Poster
Rep: Reputation: 15
Hi Guys

Thanks for reply.
The system is a 32bit SYNOLOGY NAS

df return
Code:
Filesystem                Size      Used Available Use% Mounted on
/dev/md0                  2.3G    494.3M      1.8G  22% /
/tmp                    496.5M      7.5M    488.9M   2% /tmp
/dev/md2                  7.1T      3.0T      4.1T  42% /volume1
@pan64: tar isn't supposed to write on disk once buffer is full ?

I will try on a biggers 64bit debian system and post result later.

If anyone have soem other idea !

Thanks
 
  


Reply



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
gzip but keep the original file, and bzip2 - multiple files to one file? SirTristan Linux - Newbie 4 10-20-2009 03:37 AM
CPAN.pm needs either the external programs tar, gzip and bzip2 anndy Linux - Newbie 4 09-27-2008 07:09 AM
cannot tar a big size file shipon_97 Linux - Newbie 3 11-18-2007 10:26 PM
Bzip2 and File Size Limits floog Linux - Software 3 02-27-2007 10:14 AM
Tar says it's not a bzip2 nor a tar file Blibblob Linux - Newbie 5 01-03-2004 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration