LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2008, 10:28 AM   #1
ttsang123
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Maximum number of directories under XFS


Hi Guys,

First post!

I have already had look around and cannot find a definitive answer.

What is the upper on the number of subdirectories any directory can hold under XFS.

I know there is a limit of 32000 under Ext3, but I cannot find a figure for XFS.

Any pointers would be appreciated.

Cheers

Trevor
 
Old 06-05-2008, 01:51 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Sigh. I don't know either, but the data sheet is here: http://oss.sgi.com/projects/xfs/datasheet.pdf
and it goes on about performance not degrading with large numbers of files, but doesn't, as far as I can see, directly answer your question.
 
Old 06-05-2008, 04:56 PM   #3
ttsang123
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Yes I saw that doc.

Did some more research and found 2 links, which while not giving anywhere near a definitive answer points to something significantly above 32K:

http://oss.sgi.com/archives/xfs/2004-03/msg00085.html


http://lists.centos.org/pipermail/ce...er/072129.html

Gonna keep looking...
 
Old 06-23-2008, 04:22 AM   #4
ttsang123
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Just an update for anyone interested.

I have been playing with a Buffalo Terastation and decided to create some sub-directories under a single directory.

Thus far I have created 1.7 million sub-dirs, so it is pretty safe to assume that xfs will pretty much cover my needs
 
Old 10-05-2009, 11:02 PM   #5
r3gan
LQ Newbie
 
Registered: Jan 2006
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by ttsang123 View Post
Just an update for anyone interested.

I have been playing with a Buffalo Terastation and decided to create some sub-directories under a single directory.

Thus far I have created 1.7 million sub-dirs, so it is pretty safe to assume that xfs will pretty much cover my needs
A very helpful post! I was looking for an answer to the exact same question. If anyone can provide an exact maximum subdirectory number for XFS, please post.
 
Old 10-06-2009, 06:04 AM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Bah! I don't have that either, but I do have (or, more precisely, Wikpedia has) http://en.wikipedia.org/wiki/Comparison_of_file_systems which seems to be just about anything else that you'd like to know.
 
Old 02-24-2010, 01:26 PM   #7
quilll
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
XFS max sub-directories

I too was wondering this. I did not hit a hard limit but reached 16,395,845 --well beyond any abuse I could envision.

 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum number of files in a directory neranjana General 14 05-13-2010 02:33 PM
Maximum number of mounts kutty_prasad Linux - Newbie 1 01-16-2007 08:44 AM
Maximum number of fonts Thetargos Linux - Software 2 02-04-2006 09:01 PM
What's the maximum number of users on Linux? Kaj Linux - Newbie 5 11-29-2004 03:35 AM
maximum number of HDs gr00ve Linux - Hardware 2 09-05-2004 07:43 AM


All times are GMT -5. The time now is 02:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration