Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-14-2004, 11:02 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Posts: 3
Rep:
|
Limit of maximum files/direstories per directory?
Hello,
I want to know whether there's a limit of how many files or directories may exist in one single directory under reiserFS?
This piece of information is very important for a project... So any suggestion (or every fact) would be great!
Tanks a lot
Michael
|
|
|
11-14-2004, 11:15 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I don't know of a way to do it on the filesystem level without rewriting the driver but you could modify the mkdir command or create a wrapper for it to check the number of directories that already exist before taking any action.
|
|
|
11-14-2004, 11:45 AM
|
#3
|
LQ Newbie
Registered: Nov 2004
Posts: 3
Original Poster
Rep:
|
Hello,
thanks a lot for the answer...
I think my question was a bit complicated, and so it was perhaps the right answer to the false questiuon i think.. ;o)
Now let's have a second try:
I yust wantet to know whether there are limitations in gerneral using ReiserFS.
Is there a hard limit like e.g. a mximum of 20.000 Files or subdirectories in one single directory.
I want to omit the case, that a customer is trying to create 20.000 subdirectories on the machine
and then his actions are failing at 15.000 cause he's hitting a border, which is a limitation of the failesystem..
TIA
Michael
|
|
|
11-14-2004, 11:56 AM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
From http://www.namesys.com/faq.html
Code:
Specifications for ReiserFS: (in according to NIST standard)
3.5 3.6
max number of files 232 - 3 => 4 Gi - 3 232 - 3 => 4 Gi - 3
max number files a dir can have 518701895,
but in practice this value is limited by hash function. r5 hash allows about 1 200 000 file names without collisions 232 - 4 => 4 Gi - 4
but in practice this value is limited by hash function. r5 hash allows about 1 200 000 file names without collisions
max file size 231 - 1 => 2 Gi - 1 260 - bytes => 1 Ei,
but page cache limits this to 8 Ti
on architectures with 32 bit int
max number links to a file 216 => 64 Ki 232 => 4 Gi
max filesystem size 232 (4K) blocks => 16 Ti 232 (4K) blocks => 16 Ti
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 05:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|