AIX

AIX

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

 View Only
  • 1.  what is the limitation in AIX ?

    Posted Tue May 07, 2013 02:32 PM

    Originally posted by: SA77


    Hi All,

    i got few questions...

    1) What is the maximum number of files that we can save under a single directory in AIX ? (* we have enough storage/disk space)

    2) And what is the maximum number of sub - directories in side a directory?
    I know that...every directory is a (special) file...so if i get answer for my 1st qn....it will answer 2nd qn too. * correct me if i'm wrong

    Any idea is highly appreciated.



  • 2.  Re: what is the limitation in AIX ?

    Posted Wed May 15, 2013 12:21 PM

    Originally posted by: GarlandJoseph


    What version of AIX are you running and are you using jfs or jfs2?



  • 3.  Re: what is the limitation in AIX ?

    Posted Wed May 15, 2013 04:41 PM

    Originally posted by: SA77


    Hmm...actually i got the answer in other forums..

    we don't have any limit for JFS2.(dynamic allocation of i-nodes) as long as we've enough storage.

     

    Thanks for your reply though!

     



  • 4.  Re: what is the limitation in AIX ?

    Posted Wed May 15, 2013 04:44 PM

    Originally posted by: SA77


    looks like nobody using this forum! i do not see any response for couple of my questions.

     



  • 5.  Re: what is the limitation in AIX ?

    Posted Wed May 29, 2013 08:23 PM

    Originally posted by: DanBraden


    The limit to the number of files in JFS2, or the number of files within a directory, depends on how much space you have and the size of the files.  I'm going from my memory, but I believe you can create as many files as you have space for.  The JFS2 max file system size is 32 TB.   The smallest file in JFS2 can reside in a minimum of a 512 byte sector on disk.  

    So basically you can have as many as can fit.  If you need to know the exact number, I'd suggest creating a vary small file system with an outline log, and creating as many 1 byte files as you can until you get an error.

    http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.baseadmn%2Fdoc%2Fbaseadmndita%2Fjfs2sizelim.htm