LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 12-29-2008, 08:54 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Rep: Reputation: 49
Best way to pack a folder >8-12 GB ? (you certainly know > limit of 4GB)


Code:
rar-2.80 a -r myfolder.rar myfolder
7z a -r myfolder.rar myfolder
or
Code:
... ?
(you certainly know > limit of 4GB, for fs and packing softwares)
 
Old 12-29-2008, 12:27 PM   #2
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 70

Rep: Reputation: 16
AFAIK the 4GB limit affects only FAT32 filesystem, archiving programs should be able to handle big archives correctly.
Once I created a .tar.gz of a ~10 Gb directory and it worked perfectly.
 
Old 12-29-2008, 12:58 PM   #3
rweaver
Senior Member
 
Registered: Dec 2008
Location: Independance, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 160Reputation: 160
Quote:
Originally Posted by frenchn00b View Post
Code:
rar-2.80 a -r myfolder.rar myfolder
7z a -r myfolder.rar myfolder
or
Code:
... ?
(you certainly know > limit of 4GB, for fs and packing softwares)
On ext2/3 you should be able to create files far larger than that without having any issues. What determines the actual maximum file size is your blocksize. There are some older applications that can't handle files larger than a couple gigs, but I know tar isn't one of them.

tar cfvj myfolder.tbz2 ./myfolder

I've personally done up full drives on ext3 (500gb-ish stored on an external hard drive) and restored the data from it with no issues in Linux.

Worst case scenario for ext3 (1kb blocksize) means you can have 16gb files... and most normal installs would support ~2tb files. I also did a quick check on several other common file systems like ntfs, hfs+, etc all support similar sizes, no modern file system should be limited to 4gb... most now support into the several tb/eb range.

Last edited by rweaver; 12-29-2008 at 01:08 PM.
 
Old 12-29-2008, 06:20 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,905

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
As said, except for the FAT fs (which you shouldn't be using nowadays under any circumstance), any fs should be able to handle larger files.

If you really *must* use fat32, then just tar it as usuall in your ext3 (or whatever) linux fs, then use cut to divide it into pieces. Then you can join the pieces back (of course that means you will need to have a non-fat filesystem on your host machine.

Alternatively, I think that 7z does support volumes. So, try it.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
split utility in pipes: backup to FAT32 (4GB limit) Samsara Linux - Software 3 01-26-2007 11:25 PM
limit folder size newuser455 Linux - General 4 01-19-2007 08:46 PM
Limit Folder Size Creini Linux - General 5 02-04-2006 11:31 PM
Size limit for folder gubak Linux - Newbie 3 11-11-2004 09:09 AM
Limit folder access in NFS Min Donner Linux - Networking 7 08-20-2004 01:54 PM


All times are GMT -5. The time now is 06:58 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
Open Source Consulting | Domain Registration