[Linux-cluster] FS Block Size Limit

Ken Preslan kpreslan at redhat.com
Fri Sep 3 16:49:20 UTC 2004


On Fri, Sep 03, 2004 at 12:40:49PM +0200, Richard Mayhew wrote:
> I tried to format our 4 GFS partitions with a block size of 8192 (twice
> the default) to correspond with the default raw block size on the SAN's
> LUN's to do some performace comparisons with no success. Any block size
> 1024*X < 4096 worked with no problems, anything larger than 4096 came
> back with an error when trying to mount the file system.
> 
> Any idea as to why there is a limit set to 4096?

Linux filesystems can't have block sizes greater than the machine's
page size.  For x86 and x86_64 that's 4096 bytes.  I've seen 16k pages
on a IA64 box, so you can go larger there.

-- 
Ken Preslan <kpreslan at redhat.com>




More information about the Linux-cluster mailing list