From owner-freebsd-hackers@freebsd.org Fri Jul 10 20:20:59 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DE8999706C for ; Fri, 10 Jul 2015 20:20:59 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [188.252.31.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 89EA81F28 for ; Fri, 10 Jul 2015 20:20:57 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.14.9/8.14.9) with ESMTP id t6AKKq6g090814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 10 Jul 2015 22:20:52 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from laptop.wojtek.intra (localhost [127.0.0.1]) by laptop.wojtek.intra (8.14.9/8.14.9) with ESMTP id t6AKKm2r000780; Fri, 10 Jul 2015 22:20:48 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by laptop.wojtek.intra (8.14.9/8.14.9/Submit) with ESMTP id t6AKKggK000777; Fri, 10 Jul 2015 22:20:43 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: laptop.wojtek.intra: wojtek owned process doing -bs Date: Fri, 10 Jul 2015 22:20:42 +0200 (CEST) From: Wojciech Puchar X-X-Sender: wojtek@laptop.wojtek.intra To: Don whY cc: FreeBSD-Hackers Mailing List Subject: Re: format/newfs larger external consumer drives In-Reply-To: <55A00743.4080609@gmx.com> Message-ID: References: <559EDAB8.9080804@gmx.com> <55A00743.4080609@gmx.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (puchar.net [10.0.1.1]); Fri, 10 Jul 2015 22:20:53 +0200 (CEST) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 20:20:59 -0000 >> >> i would assume you will most likely store large files. > > For the demo application I'm writing up (to illustrate the issues > that appliance developers might face), I would be storing large files > (e.g., ISO's). But, some other developer/application might choose > to use the medium for smaller files -- or even smaller media capacity. > so right options. for smaller files newfs -m 0 -i -b 32768 -f 4096 -U this will mean longer fsck you may add -j if you like - soft updates journalling. > means little "mismatches" in configuration can have noticeable > impact on the end user (e.g., he opts for finer-grained management > and pays the price when a volume isn't properly dismounted, power > fail, etc.) depends on I/O style. On random I/O it will not have big impact. > >> newfs -m 0 -i 262144 -b 65536 -f 8192 -U /dev/yourdisk >> >> and it will be fast to fsck. >> > >