GNU bug report logs -
#41577
automatic alignment
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41577 in the body.
You can then email your comments to 41577 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#41577
; Package
parted
.
(Thu, 28 May 2020 15:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Harald Dunkel <harald.dunkel <at> aixigo.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Thu, 28 May 2020 15:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi folks,
Finding a good alignment appears to be a pretty complex task, esp.
for some RAID devices, so I wonder if this could be better supported
in parted? The current
[bzzzzzzzz] The resulting partition is not properly aligned for best performance.
for all 2**n is *more* than annoying. For my lsi RAID I had to use
Number Start End Size File system Name Flags
1 1536s 46880782847s 46880781312s export
following the guidelines on [1].
Obviously the align-check option has some deeper knowledge about
a good alignment, but it doesn't tell. :-(
Regards
Harri
[1] https://bdoga.com/how-to-fix-warning-device-is-not-properly-aligned-with-parted/
Reply sent
to
"Brian C. Lane" <bcl <at> redhat.com>
:
You have taken responsibility.
(Thu, 28 May 2020 23:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Harald Dunkel <harald.dunkel <at> aixigo.com>
:
bug acknowledged by developer.
(Thu, 28 May 2020 23:58:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 41577-close <at> debbugs.gnu.org (full text, mbox):
On Thu, May 28, 2020 at 03:00:43PM +0200, Harald Dunkel wrote:
> Hi folks,
>
> Finding a good alignment appears to be a pretty complex task, esp.
> for some RAID devices, so I wonder if this could be better supported
> in parted? The current
>
> [bzzzzzzzz] The resulting partition is not properly aligned for best performance.
>
> for all 2**n is *more* than annoying. For my lsi RAID I had to use
>
> Number Start End Size File system Name Flags
> 1 1536s 46880782847s 46880781312s export
>
> following the guidelines on [1].
>
> Obviously the align-check option has some deeper knowledge about
> a good alignment, but it doesn't tell. :-(
Yeah, it's complicated :) But if you use the latest parted it will tell
you more if you try to create a mis-aligned partition:
Start? 8s
End? 100%
Warning: You requested a partition from 4096B to 1074MB (sectors 8..2097151).
The closest location we can manage is 17.4kB to 1074MB (sectors 34..2097118).
Is this still acceptable to you?
Yes/No? y
Warning: The resulting partition is not properly aligned for best performance: 34s % 2048s != 0s
Ignore/Cancel?
This means that it needs to be multiples of 2048 sectors to be aligned
(this example is just an example with a disk image).
Brian
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
Information forwarded
to
bug-parted <at> gnu.org
:
bug#41577
; Package
parted
.
(Fri, 29 May 2020 11:18:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 41577 <at> debbugs.gnu.org (full text, mbox):
Much better, but IMHO there is still room for improvement. It could say
(for example)
(parted) mkpart primary 100000s 199999s
Warning: The resulting partition is not properly aligned for best performance.
Suggested is sectors 100352 .. 198655
Accept/Reject?
Just a suggestion, of course.
Regards
Harri
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 26 Jun 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.