From nobody Tue Jan 21 16:53:48 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YctZh5tcQz5lLJJ for ; Tue, 21 Jan 2025 16:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YctZh3W5gz3N11 for ; Tue, 21 Jan 2025 16:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737478428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BFaJbmrECkBzzXatjQiL7HgCWa/A70PhTYc9+rp5Fro=; b=VwYIR9ex80Kg9h307/u1gZSwK7j1QeA3+fStT6OWHdsVYrcQH0idbh2jrde/M639U944R2 TJ23G4nclnMSTYcIVxnBo8xXIYyT+8FUm+3ZVG1gsnrol7y1r9QuCwKORDqCU6WsfVccs0 dthTvzGyKos4OQ3cpUOmk4LtwVSv49jtUuhD//WEsZmT9WG3ARWvQqlOZrx8viU3TniFVl dbd0bAawv9SYbpmbsx0+3v3YCU1Gjb9AFthh9mUwdaqIv4Vr0TOlWcjPJ2HqNtQvd4xWGx Gba7IBajHPKuq6JGmffwPhIvFgwEWJHHZGtMj5Tc2bFGBAcIp4Y7SrxiQ1bpMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737478428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BFaJbmrECkBzzXatjQiL7HgCWa/A70PhTYc9+rp5Fro=; b=pa6Th1/Y9PyiuoodR8/rJhDIsG8vP2vjRm/XxGLxUfUKqF/Gk1Um8BwuJpe9h2Fomc629b S6tPo0G5qDSvRViCRR3/9+5Cv6ahQ9j+E4mkcN4zg4LKkVxWQDbY2AmfCb/AbPPhTFS7RT eW6gVA3nDafd9g2sM8hKwDccUS8GfvFArEkLcMDenqfUqXGh1WRydk1/3gXU5zRf92s99g nesF7a+DV4Fr3cePhoz30/u3bUTO+BM3g+FuGIVJjVOzJe3u2XR+o01AU4NFfB7HOC1IBX KpVvMKB7z0EnXVf3r0PZ+ut3nO8gX7fBr4PgkrC0TLD8H2hV8H3zBuxeIboU9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737478428; a=rsa-sha256; cv=none; b=pSEMvxuC53MBUHjAjj0Yj7nyZvyqvJjHIzlCSkyU2d/7vox4n005KZRn+P31Rb69ddYVe+ OqbCg7RtAZoePLhAZNvXKddN8xlCXlKO/+y1QbSw7mMK27vn4adFdLqBEGpL4kjPsLEIh9 lUrZlPC1tP256NFpZjgy9mFMIOSMvA4ad/nNTWi7zXPNNX/qd95Fr0Ejtth27PG1VWxwT4 K6n74pYW24K4FIjBXTsGCN8q0GQhj2XMoJDxgGp/YTyZcnkz18wZmbojK/bejLZuhBaQ2g cNZ2edmOdO9u1m1oV/pHZ/XRakZVuG2RUDHq0iCnnjpEBiScNIu9rcJLJKCzYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YctZh2r6Kz14M for ; Tue, 21 Jan 2025 16:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50LGrmlr089225 for ; Tue, 21 Jan 2025 16:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50LGrmGw089224 for bugs@FreeBSD.org; Tue, 21 Jan 2025 16:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Tue, 21 Jan 2025 16:53:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 8.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D142786 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #4 from Ed Maste --- (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.=