[Ocfs2-tools-devel] [RFC] mkfs adaptable cluster size depending on device size

Goldwyn Rodrigues rgoldwyn at gmail.com
Fri Jul 23 08:02:57 PDT 2010


Hi,

Users tend to make filesystems without considering the clustersize for
the filesystem depending on the device size. The result is that users
make filesystems as large as 16TB with 4k cluster size and store huge
files on such a filesystem. This generates a lot of metadata, and
tools such as fsck take a lot of time. This increases exponentially
with the size of the device.

I suggest that we use an adaptable cluster size while creating a
filesystem depending on the size of the device. Something in the lines
GFS2 does with rgrps while creating a new filesystem. IOW, bigger
the device size => bigger cluster size suggested. Of course, this will
be over-ridden by the option provided at the command line.
If you agree with the idea, please suggest a range for which a
particular cluster size be used.

Regards,

-- 
Goldwyn



More information about the Ocfs2-tools-devel mailing list