[bug #68591] LUKS2 with 4096 byte data sector size is not supported?

Jernej Jakob <[email protected]> Mon, 3 Aug 2026 04:06:52 -0400 (EDT)
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
--8323329-1714636915-1785744412=:1058335
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?68591>=0A=0A                 Summa=
ry: LUKS2 with 4096 byte data sector size is not=0Asupported?=0A           =
        Group: GNU GRUB=0A               Submitter: jjakob=0A              =
 Submitted: Mon 03 Aug 2026 08:06:47 AM UTC=0A                Category: Fil=
esystem=0A                Severity: Major=0A                Priority: 5 - N=
ormal=0A              Item Group: None=0A                  Status: None=0A =
                Privacy: Public=0A             Assigned to: None=0A        =
 Originator Name:=0A        Originator Email:=0A             Open/Closed: O=
pen=0A         Discussion Lock: Unlocked=0A                 Release: other=
=0A                 Release:=0A         Reproducibility: Once=0A         Pl=
anned Release: None=0A=0A=0A    ___________________________________________=
____________=0A=0AFollow-up Comments:=0A=0A=0A-----------------------------=
--------------------------=0ADate: Mon 03 Aug 2026 08:06:47 AM UTC By: Jern=
ej Jakob <jjakob>=0AWhen trying to mount a LUKS2 volume with a 4096 byte da=
ta sector size, the=0Amount fails with the error:=0A"default segment encryp=
tion sector size is not 512 bytes."=0A=0AThe drive is 512e (512 logical, 40=
96 physical) so I chose a 4k data sector=0Asize for better performance. Aft=
er this I reformatted to LUKS1 with 512b data=0Asector size which works fin=
e, I didn't try LUKS2 with a 512b sector so I can't=0Asay if that would wor=
k or not.=0A=0AGRUB version 2.12-9+deb13u2 (Debian Trixie)=0A=0A=0A=0A=0A=
=0A=0A=0A    _______________________________________________________=0A=0AR=
eply to this item at:=0A=0A  <https://savannah.gnu.org/bugs/?68591>=0A=0A__=
_____________________________________________=0AMessage sent via Savannah=
=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1785744412=:1058335
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCanBMHAAKCRCqLAuaBUf3
Tpi+AQDmuXH6wIT1OYEpPgdYqYxIoQjwpWdlLzEzVxjpTr3WjQEAjywJho9DW9H3
dT4AWSitwA5IsI7FSQm6cUZbgDw0KQU=
=smU6
-----END PGP SIGNATURE-----

--8323329-1714636915-1785744412=:1058335--