AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Maximum number of files stored in a single directory

    Posted Thu August 03, 2006 10:44 AM

    Originally posted by: SystemAdmin


    How many files can be stored in a single directory? I would assume the limit for a current OS like AIX 5.2 is above 100,000?

    Is it only limited by the HDD size: HDD size / block size = max. number of files ?
    Or is there a limit for the i-nodes?

    Regards
    Manuel
    #AIX-Forum


  • 2.  Re: Maximum number of files stored in a single directory

    Posted Fri August 04, 2006 06:54 AM

    Originally posted by: MarkTaylor


    inode allocation is dynamic, you are only limited by the size of the disk.

    Ref: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.doc/aixbman/prftungd/fsperf1.htm

    HTH
    Mark Taylor
    #AIX-Forum


  • 3.  Re: Maximum number of files stored in a single directory

    Posted Fri August 04, 2006 06:56 AM

    Originally posted by: MarkTaylor


    For jfs2 that is ... or are you interested in jfs ?
    #AIX-Forum


  • 4.  Re: Maximum number of files stored in a single directory

    Posted Fri August 04, 2006 07:29 AM

    Originally posted by: SystemAdmin


    Thanks for the answer and the link. I have got one problem which I do not understand truly:
    For each file an i-node exists which keeps an primary key for this file. So if the number of i-nodes in JFS2 are only limited by disk space, consequentially the number of files is also limited by disk space. Is this right?

    Regards
    Manuel
    #AIX-Forum


  • 5.  Re: Maximum number of files stored in a single directory

    Posted Fri August 04, 2006 07:57 AM

    Originally posted by: MarkTaylor


    yes, Each file and directory has an i-node that contains access information such as file type, access permissions, owner's ID, and number of links to that file.
    #AIX-Forum