From owner-freebsd-stable@FreeBSD.ORG Tue Jul 19 21:50:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 436B41065670 for ; Tue, 19 Jul 2011 21:50:07 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id EE39B8FC12 for ; Tue, 19 Jul 2011 21:50:06 +0000 (UTC) Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta12.westchester.pa.mail.comcast.net with comcast id 9xq01h0010EZKEL5Cxq7nE; Tue, 19 Jul 2011 21:50:07 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta01.westchester.pa.mail.comcast.net with comcast id 9xpr1h00Y1t3BNj3Mxq0zd; Tue, 19 Jul 2011 21:50:04 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 09EDD102C36; Tue, 19 Jul 2011 14:49:50 -0700 (PDT) Date: Tue, 19 Jul 2011 14:49:50 -0700 From: Jeremy Chadwick To: Kevin Oberman Message-ID: <20110719214949.GA28709@icarus.home.lan> References: <20110718234124.GA5626@icarus.home.lan> <20110719224126.00000a25@unknown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Alexander Leidinger , "freebsd-stable@freebsd.org Stable" Subject: Re: Status of support for 4KB disk sectors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 21:50:07 -0000 On Tue, Jul 19, 2011 at 02:33:27PM -0700, Kevin Oberman wrote: > On Tue, Jul 19, 2011 at 1:41 PM, Alexander Leidinger > wrote: > > On Mon, 18 Jul 2011 16:41:24 -0700 Jeremy Chadwick > > wrote: > > > >> But the currently "known method" is to use gnop(8). ?Here's an > >> example: > >> > >> http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimized-for-4k-sector-drives/ > >> > >> Now, that's for ZFS, but I'm under the impression the exact same is > >> needed for FFS/UFS. > > > > Info: gnop will not work for FFS/UFS because gnop is a temporary > > solution (needs to be done by hand at each reboot). For FFS/UFS you > > need to align the slice/partition and chose a good blocksize/fragsize > > combination (e.g. 32k/4k). > > > > Bye, > > Alexander. > > > > -- > > http://www.Leidinger.net ? ?Alexander @ Leidinger.net: PGP ID = B0063FE7 > > http://www.FreeBSD.org ? ? ? netchild @ FreeBSD.org ?: PGP ID = 72077137 > > > > Thanks, Alexander. > > This is what I had expected after reading the man pages, though I > would think -b 65560 -f 8192' would be a bit more reasonable in this ^^^^^^^^ ^^^^^^^^ Where did this number come from? Did you mean 65536? 65560 would not be properly aligned. > day of bloated file formats. it's been years since I have hit a > problem with lack of inodes. Probably around 1993 on an old > SparcStation 1 running SunOS and then only due to a bad assumption I > made when 'newfs'ing it. > > Again, thanks for the advice. At very least it will save me a bit of time! Agreed -- thanks for the advice, Alexander. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |