URL: <https://savannah.gnu.org/bugs/?68591>
Summary: LUKS2 with 4096 byte data sector size is not
supported?
Group: GNU GRUB
Submitter: jjakob
Submitted: Mon 03 Aug 2026 08:06:47 AM UTC
Category: Filesystem
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Unlocked
Release: other
Release:
Reproducibility: Once
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 03 Aug 2026 08:06:47 AM UTC By: Jernej Jakob <jjakob>
When trying to mount a LUKS2 volume with a 4096 byte data sector size, the
mount fails with the error:
"default segment encryption sector size is not 512 bytes."
The drive is 512e (512 logical, 4096 physical) so I chose a 4k data sector
size for better performance. After this I reformatted to LUKS1 with 512b data
sector size which works fine, I didn't try LUKS2 with a 512b sector so I can't
say if that would work or not.
GRUB version 2.12-9+deb13u2 (Debian Trixie)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68591>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
