[parted-devel] Parted PED_DEFAULT_ALIGNMENT is no more effective for SCSI disks in recent kernel
Brian C. Lane
bcl at redhat.com
Fri Oct 24 17:32:35 BST 2025
On Wed, Oct 08, 2025 at 08:38:48AM +0100, Mike Fleetwood wrote:
> On Mon, 6 Oct 2025 at 19:26, Butenko, Anton <abutenko at akamai.com> wrote:
[snip]
> > With this parted prints just warning and leaves partition unaligned:
> > Warning: The resulting partition is not properly aligned for best performance: 512s % 2048s != 0s
> > But, I think we can optimize the behavior aligning the first block to the optimal sector size (if optimal sector size is bigger).
> >
> > And, instead of creating unaligned partition, provide user with the properly aligned one. This looks better to me as a "best effort" action.
> > What do you think?
> Creating a setup where you align a partition to something other than MiB
> and get a warning for not using the recommended MiB alignment is not
> evidence of an issue.
I agree, I don't think this is an actual problem and there isn't
anything for parted to do.
Brian
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
More information about the parted-devel
mailing list