Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 16:53:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 142786] [request] [geom_part] gpart(8) should recognize NAND media and suggest partition alignment
Message-ID:  <bug-142786-227-IbwTFEPIJ7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-142786-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-142786-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D142786

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #4 from Ed Maste <emaste@freebsd.org> ---
(In reply to Dan Naumov from comment #0)
> Right now, manually creating properly aligned partitions for optimal use =
with
> NAND-based media is a truly painful process.

It should (now) be as easy as adding `-a 1M` to the `gpart add` command, e.=
g.
`gpart add -a 1M -t freebsd-ufs md0`.

It looks like there could be some improvements to be made in the installer.=
=20
ZFS with ZFSBOOT_FORCE_4K_SECTORS set will use `-a 4k` for the boot partiti=
ons
and `-a 1m` for the main partition(s).  As far as I can tell all other
partitioning does not set an alignment.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-142786-227-IbwTFEPIJ7>