[Bug 142786] [request] [geom_part] gpart(8) should recognize NAND media and suggest partition alignment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jan 2025 16:53:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=142786
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.
ZFS with ZFSBOOT_FORCE_4K_SECTORS set will use `-a 4k` for the boot partitions
and `-a 1m` for the main partition(s). As far as I can tell all other
partitioning does not set an alignment.
--
You are receiving this mail because:
You are the assignee for the bug.