Debian Bug report logs -
#601813
Please provide a more friendly/useful message instead of "Warning: The resulting partition is not properly aligned for best performance."
Acknowledgement sent
to Andras Korn <[email protected]>:
New Bug report received and forwarded. Copy sent to Parted Maintainer Team <[email protected]>.
(Fri, 29 Oct 2010 23:00:05 GMT) (full text, mbox, link).
Subject: Please provide a more friendly/useful message instead of "Warning:
The resulting partition is not properly aligned for best performance."
Date: Sat, 30 Oct 2010 00:57:44 +0200
Package: parted
Version: 2.3-2
Severity: wishlist
Tags: upstream
Hi,
I'm attempting to create a partition on a disk with a GPT.
I have a partition that ends at sector 501535; that was apparently fine
performance-wise, because parted printed no warning.
Now I would like to create a new partition, starting from sector 501536, but
parted tells me that's not optimal. It doesn't tell me what _would_ be
optimal, even though it could.
Seeing that I started parted with -a optimal, which supposedly automatically
aligns partitions optimally, it'd be great if it could at least tell me what
the nearest "optimal" sector to the one I chose is.
The only workaround I found was to switch to some unit larger than sectors,
which resulted in the beginning of the new partition to be shifted forward
by 224.
Please either print the suggested "optimal" value or even offer to use that
instead of what the user supplied.
Thanks.
Andras
--
Andras Korn <korn at elan.rulez.org> - <http://chardonnay.math.bme.hu/~korn/>
Feet smell? Nose runs? Hey, you're upside down!
Information forwarded
to Parted Maintainer Team <[email protected]>: Bug#601813; Package parted.
(Sun, 14 Dec 2014 06:39:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Elliott Mitchell <[email protected]>:
Extra info received and forwarded to maintainer. Copy sent to Parted Maintainer Team <[email protected]>.
(Sun, 14 Dec 2014 06:39:08 GMT) (full text, mbox, link).
found 601813 2.3-12
stop
This is still present in newer versions. In interactive mode you get the
message:
"Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel?"
Reading #643625, this message is given for any disk slice not aligned to
1MB. Given the circumstances it appears in, the message is about as
useful as displaying a gigantic question mark on screen since this leaves
no clue this is based on arbitrary (though not entirely unreasonable)
built-in limit which is neither documented nor findable by looking up
information on the disk drive.
In addition to Andras Korn's suggestion of printing the "optimal" values,
I'd suggest "align", "+align" and "-align" options for the above prompt.
These would be for nearest "optimal" alignment, nearest higher "optimal"
sector, and nearest lower "optimal" sector.
I must also point out it is quite possible 1MB may not be too small to be
optimal with future storage devices. I suspect the technology behind
Western Digital/HGST's "shingled magnetic recording" may well result in
an optimal write size distinctly larger than 1MB (and Flash could
follow).
I'm inclined to rate this as distinctly worse than wishlist given how
often people will run into this and how bad the behavior is.
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | [email protected] PGP 87145445 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.