Aligning entire LUKS/LVM/Ext4 filesystem stack to 4K sectors
Maksim Fomin <[email protected]> Fri, 19 Mar 2021 18:37:27 +0000
| Newsgroups | gmane.linux.kernel.device-mapper.dm-crypt |
|---|---|
| Message-ID | <ORDtENr6aBENCEKNaBoLivcFJL2TWrcPLZcM1NDn9mSyDJlbXgdwUR5HbCRsw9etKJIKiByQV4qkuFO1h9pVyX4_wv89xQUFNc2CcU8mqug=@fomin.one> |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Friday, 19 March 2021 г., 19:09, Johnny Dahlberg <[email protected]> wrote: > >> Hello everyone! >> >> Is there anything I am missing here, or anything that you would suggest changing? For example, perhaps I should change "--align-payload 2048" to "--align-payload 4096" (what would that do/improve?), which I've seen a few mentions of? >> >> Grateful for any help in clearing this up, or clarifying that my steps are ready to use. It's been a very long research and I'd like to be sure that I am doing everything correctly. >> >> With best regards, >> >> Johnny I think if LVM is partioned on 4k sectors, setting 4k at cryptsetup layer is not needed - all io requests will be done by lvm with 4k. However, I doubt there is a way to test this. Btw, I also have multilayer setup with traditional 512b at plain dm-crypt layer and 4k lvm. _______________________________________________ dm-crypt mailing list -- [email protected] To unsubscribe send an email to [email protected]