Elektrine lite

← Feed

@bizdelnick@lemmy.ml

Post #4012656

2026-07-22 13:08 UTC

TL;DR: Everything should work well with default settings, no special actions required. First of all, partitions must be aligned to sector size (multiples of 4096). Most partitioning tools align partitions to 1MiB by default nowadays, so this shouldn’t be a problem, however if the disk is already partitioned, check the partition offset. For ext4, as well as most modern filesystems, default block size is 4KiB, so you don’t need to pass optional parameters to mkfs. For cryptsetup luksFormat there are also two things that must be set correctly: –align-payload (2048 512-byte sectors by default, equal to 256 4096-byte sectors, no need to change), and –sector-size (for 512e device it should be set to 4096 bytes automatically, no need to set manually).

Replies (1)

  • Sweet! I feel this kind of “proves” Seagate’s stance, in other words, that a quick format will suffice, since most tools these days defualt to 4096 byte sectors. Although one has to read between the lines a bit… Thanks for your help!

    Open ##4012745