lueschem / edi-cl

This repository contains an edi project configuration for Compulab embedded devices.
https://www.get-edi.io
Other
10 stars 2 forks source link

Partition 4 is not aligned to 1MiB boundaries #14

Closed lueschem closed 3 years ago

lueschem commented 3 years ago

The edi-resize-rootfs script automatically resizes partition 3 and adds partition 4. When preparing the migration to gpt I found out that partition 4 does not get properly aligned to 1MiB boundaries as recommended e.g. here. This could result in reduced performance.

The alignment can be checked as follows:

compulab@iot-gate-imx8:/$ sudo parted /dev/mmcblk2 align-check optimal 3
3 aligned
compulab@iot-gate-imx8:/$ sudo parted /dev/mmcblk2 align-check optimal 4
4 not aligned