File system blocks alignment

Oliver Fromme olli at lurza.secnetix.de
Wed Jan 6 12:40:25 UTC 2010


Dag-Erling Smørgrav wrote:
 > As for newfs, the defaults are fine as long as the filesystem doesn't
 > fill up to the point where UFS starts using fragments - but when it
 > does, you're in trouble anyway, so there's no point in overriding the
 > defaults unless it makes sense for your data: a filesystem used mostly
 > to store large files may benefit from increased block / fragment sizes,
 > but remember to keep the 8:1 ratio.

I've created file systems with 1:1 ratio in the past
for storing large files (multimedia stuff and similar),
and with a very low inode density.  So far I haven't
encountered any problems.

Is there a reason for not using a 1:1 ratio, and
should I rebuild my file systems with 1:8 ratio?

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Clear perl code is better than unclear awk code; but NOTHING
comes close to unclear perl code"  (taken from comp.lang.awk FAQ)


More information about the freebsd-arch mailing list