Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 07:51:06 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org>, Jeremy Chadwick <freebsd@jdc.parodius.com>
Subject:   Re: Status of support for 4KB disk sectors
Message-ID:  <CAN6yY1tpa%2BO7kgz2MLqu1aBVSHzWE-fdE4N-0zyiCiqe2yqt-A@mail.gmail.com>
In-Reply-To: <20110721150233.765349kg5ed4p9bd@webmail.leidinger.net>
References:  <CAN6yY1uaUqk2ifiNViJyMFJWf60a4DmCiVs3Z=--_TjtzseABQ@mail.gmail.com> <20110718234124.GA5626@icarus.home.lan> <20110719224126.00000a25@unknown> <CAN6yY1ud9hJvufhabuNP9mK1qkS5sPLkzPvfEfOm5BQP_hQ1sw@mail.gmail.com> <20110721150233.765349kg5ed4p9bd@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 21, 2011 at 6:02 AM, Alexander Leidinger
<Alexander@leidinger.net> wrote:
> Quoting Kevin Oberman <kob6558@gmail.com> (from Tue, 19 Jul 2011 14:33:27
> -0700):
>
>> On Tue, Jul 19, 2011 at 1:41 PM, Alexander Leidinger
>> <Alexander@leidinger.net> wrote:
>>>
>>> On Mon, 18 Jul 2011 16:41:24 -0700 Jeremy Chadwick
>>> <freebsd@jdc.parodius.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tpa%2BO7kgz2MLqu1aBVSHzWE-fdE4N-0zyiCiqe2yqt-A>