SUMMARY : need 2 million inodes

From: <kristianto.setiawan_at_sun.co.id>
Date: Thu May 06 2004 - 21:12:32 EDT
Many thanks to :
- Dave Mitchell
- Grzegorz Bakalarski
- Michael Schulte
- Darren Dunham
- David Markowitz
- Sal Serafino
- Christ Clark

after i recheck again, the right count was :)

200000000000/2000000=100000bytes=100kbytes per inode 

Rgds
KrisT

----- Original Message -----
From: kristianto.setiawan@sun.co.id
Date: Thursday, May 6, 2004 4:38 pm
Subject: need 2 million inodes

> 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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 6 21:12:24 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:31 EST