RE: [expert] file block size

2001-08-23 Thread Gregor Maier


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://.mandrakestore.com



Re: [expert] file block size

2001-08-22 Thread Scott St. John

At 01:03 PM 8/22/2001 -0500, you wrote:
  Any advice on where to start?

ReiserFS is perfect for the system having lots of small files.

Can you change the default file block size? 




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



Re: [expert] file block size

2001-08-22 Thread Mike Veltman

On Wednesday 22 August 2001 20:11, you wrote:
 At 01:03 PM 8/22/2001 -0500, you wrote:
   Any advice on where to start?
 
 ReiserFS is perfect for the system having lots of small files.

 Can you change the default file block size?

You dont need too, because reiserfs fills up the blocks.

I use it with progress databases with thousands of 0,5k files and it works 
very nicely.

Mike  

-- 
---
E-mail   : [EMAIL PROTECTED]   OS : Linux 
Country  : The Netherlands   Kernel : 2.2.17 on a PII/233/128MB 
Function : Technical Consultant  Target : Next Project
- Use any OS, If it does what it needs to do --




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