live-bootstrap icon indicating copy to clipboard operation
live-bootstrap copied to clipboard

Build fstrim in util-linux (and maybe update to newer version)

Open Googulator opened this issue 4 months ago • 0 comments

Our version of util-linux is ancient (e.g. fdisk still creates partitions at odd LBA addresses), and has fstrim disabled, probably due to limitations of the old 4.9 kernel. This caused a strange, disk-related slowdown for me while bootstrapping Azure Linux on top of live-bootstrap, which turned out to be due to TRIM not being used.

We should try to reenable fstrim now that we have a newer kernel, and maybe even update to a version of util-linux that's more SSD-friendly.

Googulator avatar Aug 28 '25 16:08 Googulator