heavy NFS writes lead to corrup summary in superblock

Scott Long scottl at samsco.org
Fri Jun 9 15:02:31 UTC 2006


Oliver Fromme wrote:

> Mikhail Teterin <mi+mx at aldan.algebra.com> wrote:
>  > The FS is intended for very few very large files and was created 
>  > with "newfs -b 65536 -O1" (no softupdates).
> 
> Did you also increase the fragment size (-f option)?
> The default is 2048 bytes, and I wouldn't expect a b/f
> ratio of 32:1 to work very well.  In fact I'm surprised
> that you have so little problems.  :-)
> 

Oh shoot, I didn't even notice this part of his posting.
Yes, anything more than an 8:1 ratio simply will not work.
I don't recall if newfs is smart enough to automatically
scale the frag size when only the block size is set, but
if it's not then this is definitely a problem.

Scott



More information about the freebsd-fs mailing list