From owner-freebsd-stable@FreeBSD.ORG Thu Jul 21 14:51: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 A74241065674 for ; Thu, 21 Jul 2011 14:51:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 64A9B8FC13 for ; Thu, 21 Jul 2011 14:51:07 +0000 (UTC) Received: by gxk28 with SMTP id 28so803860gxk.13 for ; Thu, 21 Jul 2011 07:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=CQNhUrMwPBa64d1OlJ472ScY7Eg+qE3/2HhX4LXXGgs=; b=oZ1unclwbjjyw2K0OLzt7wRbHE6SKraP8zsAmhwg7X3KPhT5BxUxpvPTORVnqd3NVt pjWQNSmTEGW7+LAqGaSK0fK3ffkn9mCPpYVyDTdfuAOn3jweoMXky/tn8KOydoJlcXp8 Xy/peLyu6fQrBgvl1SdFpVRl+ZSjxbTSoSk2Y= MIME-Version: 1.0 Received: by 10.151.109.8 with SMTP id l8mr840655ybm.27.1311259866583; Thu, 21 Jul 2011 07:51:06 -0700 (PDT) Received: by 10.151.27.21 with HTTP; Thu, 21 Jul 2011 07:51:06 -0700 (PDT) In-Reply-To: <20110721150233.765349kg5ed4p9bd@webmail.leidinger.net> References: <20110718234124.GA5626@icarus.home.lan> <20110719224126.00000a25@unknown> <20110721150233.765349kg5ed4p9bd@webmail.leidinger.net> Date: Thu, 21 Jul 2011 07:51:06 -0700 Message-ID: From: Kevin Oberman To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org Stable" , Jeremy Chadwick 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: Thu, 21 Jul 2011 14:51:07 -0000 On Thu, Jul 21, 2011 at 6:02 AM, Alexander Leidinger wrote: > Quoting Kevin Oberman (from Tue, 19 Jul 2011 14:33:27 > -0700): > >> 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). =A0Here's an >>>> example: >>>> >>>> >>>> http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-opt= imized-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). > >> 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 >> day of bloated file formats. it's been years since I have hit a >> problem with lack of inodes. > > I suggest to test this somewhere first. I have no evidence that it can no= t > work, but the blocksize/fragsize settings where subject to some unexpecte= d > results in the past when they where changed to a bad combination. IIRC th= is > should be fixed now, but my memory may cheat on me... Alexander, Thanks for the advice. I would never try this on my system without a clone of the disk, especially with the limited experience I have with gpart and Lenovo's weird SYSTEM_DRV slice that seems to bite so many people. (Still can't find any good explanation of what it's about, but I do see a lot of incorrect ones.) --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com