<!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">
Hi Theodore,<br>
<br>
Thanks for your help.<br>
When trying to use the -i switch for 32Mb files, here is the output :<br>
<br>
$ mke2fs -j -b 4096 -E stride=16 -m 1 -i 33554432 /dev/sde<br>
mke2fs: bad inode ratio 33554432 (min 1024/max 8192<br>
<br>
Ionel<br>
<br>
<br>
Theodore Tso wrote:
<blockquote cite="mid20070528112455.GH22658@thunk.org" type="cite">
  <pre wrap="">On Sun, May 27, 2007 at 10:30:18PM -0400, Bryan Kadzban wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The -T option exists to tweak the number of entries available in the
inode table, based on the size of the filesystem.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The -T option tweaks more than just the number of inodes in the inode
table, actually.  It can control other things as well, including the
blocksize and what features are enabled.  Check out the mke2fs.conf
man page, on moderately recent versions of e2fsprogs.  You can
customize what different filesystem types mean, so if you want to make
some new filesysstem type which is especially useful in your
environment (i.e., "oracle_tablespace") you can do so.  If you think
it might be generally useful, let me know and I might include it in
the default /etc/mke2fs.conf file. 

  </pre>
  <blockquote type="cite">
    <pre wrap="">If there's a variant of -T that takes an explicit size-per-created-inode
value, then I'd try that, with 32Mb as the size-per-created-inode.  (Or
possibly 16Mb, to give yourself some wiggle room.)  OTOH, the
"largefile4" option is probably fairly close to what you want, too: it
leaves some space available if you create some smaller files, and
(AFAIK) having 8 times as many inodes available doesn't waste much disk
space.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Youc an specify the the inode-ratio explicitly using the -i flag to
mke2fs, or if you know exactly how many inodes you want, you can
specify the exact number of inodes in the inode table using the -N
option.  It's all in the mke2fs man page....

                                                        - Ted
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="140">-- 
Ionel GARDAIS
System-Network Engineer
</pre>
</body>
</html>