LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-14-2004, 08:41 PM   #1
tim1235
Member
 
Registered: Aug 2004
Location: Melbourne, Australia
Distribution: fc5/Gentoo
Posts: 57

Rep: Reputation: 15
max number of files on ext2 ext3?


Is there a limit on the number of files you can have on the filesystem?

Is there a limit on the number of files that you can have in one directory?

Thanks,
 
Old 10-14-2004, 10:27 PM   #2
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
I'm pretty sure there ain't. But why, what did you do?
 
Old 10-14-2004, 10:37 PM   #3
tim1235
Member
 
Registered: Aug 2004
Location: Melbourne, Australia
Distribution: fc5/Gentoo
Posts: 57

Original Poster
Rep: Reputation: 15
I have directories already with 40000+ files (on a sun box) and already there are problems such as I cannot do an ls due to the sheer number of files and I get "error core dumped".

The files are all there and I can access them individually i.e cat file1

Now I have half a million files to create and put in a directory and I was wondering if I would run into trouble.
 
Old 10-15-2004, 02:23 AM   #4
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
From what I've heard (I concider myself a noob still) ext2 and ext3 are heavily outdated. Try using a better filesystem like ReiserFS.
 
Old 10-15-2004, 04:14 AM   #5
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
Ext2/3 are not outdated. But reiserfs is indeed a better choice for lots of small files because it handles these situations in a more effective way then ext2/3.
 
Old 10-17-2004, 06:11 PM   #6
tim1235
Member
 
Registered: Aug 2004
Location: Melbourne, Australia
Distribution: fc5/Gentoo
Posts: 57

Original Poster
Rep: Reputation: 15
Unfortunatly this is a production server and it is not possible to reformat them as ReiserFS. Unless there is a way to change the file system without destroying data?

What are the benifits of RieserFS vs ext2/3?

How may files/directories can they handle?

Thanks,
 
  


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
max number of tty alaios Linux - Newbie 3 07-14-2004 12:23 AM
What is the max number of drive interfaces? tells Linux - Hardware 1 12-04-2003 02:42 PM
max socket number sector Programming 1 06-30-2003 09:11 AM
max socket number sector Linux - General 1 06-30-2003 09:09 AM
max socket number sector Linux - Software 0 06-30-2003 08:52 AM


All times are GMT -5. The time now is 06:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration