[Parted-maintainers] Bug#601813: Parted's problematic alignment message

Elliott Mitchell ehem+debian at m5p.com
Sun Dec 14 05:36:35 UTC 2014


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 (    |         EHeM+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445



More information about the Parted-maintainers mailing list