Another quick question. What are the cluster sizes allowed? I was thinking that the formula is: Cluster Size = 4096 * ( 2 ** X ) where 0 <= X <= 8. Is this correct? Thanks, John
Yes. 4K, 8K, 16K, 32K, 64K, 128K, 256K, 512K, 1M On Mon, 2004-08-09 at 10:13, Villalovos, John L wrote:> Another quick question. > > What are the cluster sizes allowed? > > I was thinking that the formula is: > > Cluster Size = 4096 * ( 2 ** X ) where 0 <= X <= 8. > > Is this correct? > > Thanks, > John > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
On Mon, Aug 09, 2004 at 10:13:11AM -0700, Villalovos, John L wrote:> Another quick question. > > What are the cluster sizes allowed? > > I was thinking that the formula is: > > Cluster Size = 4096 * ( 2 ** X ) where 0 <= X <= 8. > > Is this correct?Yes. --Mark -- Mark Fasheh Software Developer, Oracle Corp mark.fasheh@oracle.com
On Mon, Aug 09, 2004 at 10:13:11AM -0700, Villalovos, John L wrote:> What are the cluster sizes allowed?The formula is 2^x where 12 <= x <= 20. If you need a formula. The acutal on-disk format stores the clustersize as the exponent (OCFS_RAW_SB(sb_dinode)->s_clustersize_bits). So 12 <= s_clustersize_bits <= 20, and clustersize == 1 << s_clustersize_bits. Joel -- Life's Little Instruction Book #356 "Be there when people need you." Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: joel.becker@oracle.com Phone: (650) 506-8127