Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Posted Feb 23, 2011 12:11 UTC (Wed) by alex (subscriber, #1355)
Posted Feb 24, 2011 16:14 UTC (Thu) by mgedmin (subscriber, #34497)
I'm guessing 63 sectors (of 512 bytes) is not a good alignment?
Are there any tools for fixing partition alignment? Does parted's "move" command shift the data in the partition, or just adjust the boundaries in the partition table?
Posted Feb 24, 2011 18:53 UTC (Thu) by meyering (guest, #48285)
For example, here all partitions are MiB-aligned, except
for the first one, which is only 32KiB-aligned. But since it's
only for grub, that is ok:
$ parted -m -s -- /dev/sdb u s p free
Please do not use parted's "move" command. It is risky since it tries
to be smart and is file-system aware. In addition to moving the partition
it may try to move an embedded file system, too, but its built-in FS-aware
code is so old and unreliable that it is slated to be removed altogether.
If you try to use that sub-command (or e.g., mkpartfs which is in the same
boat), recent versions of parted will emit a big warning telling you some
of the above.
Posted Feb 25, 2011 0:15 UTC (Fri) by jnh (subscriber, #69758)
I recommend reading Martin K. Petersen's advanced storage papers from
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds