?
Solved

tar file max size

Posted on 2007-04-02
8
Medium Priority
?
792 Views
Last Modified: 2010-05-18
Can someone tell me, what is the largest tar file that can be created in UNIX in GB
0
Comment
Question by:Greens8301
8 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 18836195
the biggest file that can go onto the filesystem type (ext, nfs, ...) you are writing it to
0
 
LVL 21

Assisted Solution

by:tfewster
tfewster earned 400 total points
ID: 18838749
Historically, 2Gb (Assuming ulimit, filesystem settings & physical space allowed); GNU tar and most current Unixen allow larger files.  Check `man tar` for your OS and version
0
 

Author Comment

by:Greens8301
ID: 18839639
Is there a limit on the target .tar file size itself
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 19

Expert Comment

by:NickUpson
ID: 18839720
I don't see how "Is there a limit on the target .tar file size itself" differs in meaning from the original question
0
 
LVL 48

Expert Comment

by:Tintin
ID: 18840763
What Unix flavour and version are you running tar on?  
0
 
LVL 38

Accepted Solution

by:
yuzh earned 1200 total points
ID: 18841060
It depends on the followings :
1) Does your OS support large files?
2) What version of tar are you using?
3) What is the underlying file system?

You can cheeck /usr/include/sys/features.h for any line containing 'FILE_OFFSET_BITS'. If there
is, your OS very very probably has support for large files.

If you OS doesn't support large file, you have 2GB limit.

The size of files you put into a tar archive (not the archive itself)
is limited to 11 octal digits, the max. size of a single file is 68 GBytes.

The OS native tar command has the limit of 2GB, the GNU tar
can handle large files as long as your OS and filesystem type support it.
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 400 total points
ID: 18848958
POSIX standard does not allow files larger than 2G into .tar file. Most systems do allow.
0
 

Author Comment

by:Greens8301
ID: 18864838
Thanks for all your help and answers. From the responses, I gatjer that max limit for 1 file is 2 Gb safely and max size for the whole archive is 66 GB This is very useful

Does ant one familiar with MKS emulator on windows 2003. I have a question on MKS "xterm" question. Not sure what topic the questions on MKS go in

Thanks All
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question