On 22-Aug-2001 Scott St. John wrote:
> Hi everyone-
> 
> We are considering finally putting Mandrake in production to replace some 
> outdated
> FreeBSD servers.  We have 70gig raid controlled servers, but seem to have
> some
> trouble with changing the default file block size.  This box will serve as 
> a web server
> and we want to drop the file block size down to avoid using up the drives 
> on little
> html files.
> 
> Any advice on where to start?
> 
> Thanks for your help.
> 
> -Scott
i don't know for reiserfs, but you can sure do it with the ext2 filesystem. 
The thing you need is 

mke2fs -i BYTES-PER-INODE ...
of mke2fs -N NUMBER-OF-INODES
have a look at the man page of the appropriate mkfs man page for more
information.
I suppose that there is a similiar thing with reieserfs.

This BYTES-PER-INODE is also the number of bytes a file will occupy on all
circumstances on your harddisk. But don't make this value too small because
then the number of inodes (the max. number of files) will become quite big and
you diskspace and performance.

AFAIK the default value for such fs-sizes is 8k per inode. Probably a value of
1 or 2k will fit your needs. 

Gregor


----------------------------------
E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 23-Aug-2001
Time: 09:18:40
----------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to