Aligning entire LUKS/LVM/Ext4 filesystem stack to 4K sectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, 19 March 2021 г., 19:09, Johnny Dahlberg <svartchimpans@xxxxxxxxx> 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 -- dm-crypt@xxxxxxxx
To unsubscribe send an email to dm-crypt-leave@xxxxxxxx

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux