LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 06-25-2004, 03:41 AM   #1
stephnane
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
Maximum file size with AIX & JFS ?


Hi.

What's the maximum file size with AIX (and JFS)?
How can we change this value ?


tks.

Steph
 
Old 06-25-2004, 03:53 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
No way, you can't change the limit. You can only use another Filesystem.

More Infos about this has Google:
http://www.google.com/search?q=Maxim...utf-8&oe=utf-8

Hth
Fluppi
 
Old 06-25-2004, 06:41 AM   #3
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
With a normal jfs filesystem, the maximum size is 2GB. Sometimes users have a ulimit value set which puts a limit of 1GB on the size of files they can create (the value is in 512byte blocks so it can look like 2GB when it's really 1).

You can create a jfs filesystem to be large file enabled which allows files up to (I think) 64GB. This is fine, but large-file enabled filesystems have poorer performance if they contain lots of small files so don't create them unless you need them.

The solution, if you are using AIX 5L (5.1 or 5.2) is to use JFS2. Enable the 64 bit kernel (not required, but improved JFS2 performance). JFS2 has a maximum file size of at least 1TB; I think the theoretical limit is substantially higher. If you need an individual file to be larger than 1TB, you probably ought to have a think about whether you're doing things the right way
 
Old 06-25-2004, 09:08 AM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
iainr is right when talking about backups. Remember that tar and cpio hate large files, so if your files are bigger than 2gig you will need to find another backup method.
 
Old 07-07-2004, 02:23 PM   #5
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
You can remove the max file size limit of 2GB completely by editing /etc/security/limits. In the 'default' stanza change the value of fsize to -1. This sets the max file size to unlimited. You could also change this to some other value, less than 2GB, if you want.

Here's the set up on one of my servers:

default:
fsize = 2097151

Changing this to

default:
fsize = -1

Removes the max file size limit. As previously stated, this might not be a good idea from a performance standpoint.
 
  


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
maximum size for crontab? JakeS Linux - Software 6 01-18-2005 05:23 PM
maximum linux file size? alec77 Linux - Newbie 8 12-03-2004 09:31 AM
avisync maximum file size david.skinner Linux - Software 0 11-26-2004 05:19 PM
Maximum Size of File in Red Hat Linux 2.1 imsajjadali Red Hat 0 07-02-2004 09:05 AM
dvd+rw maximum file size problem (burning) swamp2003 Linux - Software 1 12-10-2003 09:30 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 02:17 PM.

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