need 2 million inodes

From: kristianto.setiawan@sun.co.id
Date: Thu May 06 2004 - 05:38:09 EDT


Helo expert,

If anyone have information regarding maximum number of inode
or minimum block-size of inode, please inform me ...

Description:
------------

Due to its application requirement, i need
to have 2.000.000 (2 millions) inodes on its 200GB file system.

Because the file system has not been made yet, of course,
I can execute the following command:

newfs -i <fs_size_in_bytes/number_of_inodes> /dev/dsk/...
.eq.
newfs -i 100 /dev/dsk/...

But, the number inside the bracket will become as small as
200GB/2M = 100 Bytes. It will make the block size of inode
is far smaller than the normal one.

Quoted from newfs manual:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-i nbpi

The number of bytes per inode. This specifies
the density of inodes in the file system. The
number is divided into the total size of the
file system to determine the fixed number of
inodes to create. It should reflect the expected
average size of files in the file system. If
fewer inodes are desired, a larger number should
be used; to create more inodes a smaller number
should be given. The default for nbpi is as fol-
lows:.

Disk size Density
-1GB 2048
-2GB 4096
-3GB 6144
3GB- 8192
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Question is, is it safe to have inode block size
as small as 100 bytes?

Rgds
KrisTianto
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:36 EDT