<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There is no such limit. You are running into a bug that has been
fixed<br>
in mainline kernel 2.6.35 and is available with the UEK kernel.
Upgrade<br>
to that kernel, install ocfs2-tools 1.6 and enable the discontig-bg
feature.<br>
<br>
On 08/31/2011 03:15 PM, Omega Xtreme wrote:
<blockquote
cite="mid:1314828919.37787.YahooMailNeo@web59413.mail.ac4.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div id="yiv411800727" style="right: auto;">
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family:
times new roman,new york,times,serif; background-color:
rgb(255, 255, 255);">
<div id="yiv411800727yui_3_2_0_21_131482554370637">Hi All,</div>
<div id="yiv411800727yui_3_2_0_21_131482554370669"
style="right: auto;">Please I would like to know what the
maximum number of files (limit) is for an OCFS2 file
system created on a x86_64 system with default options on
a 900GB LUN. The system specs are listed below. It was
noticed that at some point any attempt to create an
additional file on the file system hangs the session and
hangs accessto the file system as well. Attempts to start
the application (zimbra) installed on the file system has
the same effect.</div>
<div id="yiv411800727yui_3_2_0_21_13148255437061022">The
file system had a zimbra install with the mail files in
it. I counted the directories and it was over 19,000 (the
limit is 31,000 I think) and a count of the files came up
with over 2.5m.</div>
<div id="yiv411800727yui_3_2_0_21_13148255437062282"
style="right: auto;">I suspected it may be something to do
with the number of files and after trying everything else,
I decided to delete some files on the file system - I
randomly deleted a small sub-directory containing maybe a
200 or so files. Immediately afterwards, the "touch"
command worked without hanging the file system (usually I
have to open an<var id="yui-ie-cursor"></var>other remote
session and forcefully unmount it) and the response was ok
(immediate return to the CLI and "ls" worked without any
issue) </div>
<div id="yiv411800727yui_3_2_0_21_13148255437064101">Just to
be sure I copied back the directory I had deleted and the
original issue started again. Removed the small directory
and all was well again.</div>
<div id="yiv411800727yui_3_2_0_21_13148255437061605"
style="right: auto;"> </div>
<div id="yiv411800727yui_3_2_0_21_13148255437061024">RedHat
5: 2.6.18-274.el5</div>
<div id="yiv411800727yui_3_2_0_21_13148255437061131">OCFS2
tools 1.4.4 and 1.4.7-1</div>
<div id="yiv411800727yui_3_2_0_21_13148255437061530">OCFS2
version 1.4.2 and 1.4.4</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>