[Ocfs2-users] ocfs2/small files problem
tao.ma
tao.ma at oracle.com
Sun Nov 5 23:12:39 PST 2006
Brian Sieler wrote:
> I have an ocfs2 file system with 4K blocks and 128K clusters--using it
> as a general-purpose clustered file system.
>
> Problem: Large number of small files (300 bytes or less) appear to
> take much more space on ocfs2 than on ext2/3.
>
> Will altering the block/cluster size on the ocfs2 file system improve
> the situation?
yes. Normally a file will occupy a cluster for its content.
Since your file are 300 bytes or less, you may choose 512 as block size
and 4K as cluster size.
>
> Suggestions?
>
More information about the Ocfs2-users
mailing list