[CentOS] [OT] disk utility showing message "the partition is misaligned by"

Fri Apr 22 14:21:02 UTC 2016
m.roth at 5-cent.us <m.roth at 5-cent.us>

Leon Fauster wrote:
> Am 22.04.2016 um 12:40 schrieb g <geleem at bellsouth.net>:
>> centos 6.7 [current]
>> 'disk utility' has started showing message;
>>  WARNING: The partition is misaligned by 2560 bytes. This may
>>  result in very poor performance. Repartitioning is suggested.
>> for sdc5 - /home partition.
>>  /dev/sdc5      302243312 156348604 130534968  55% /home
>>  /dev/sdc7       80854912     57088  76683952   1% /hdd/c/07
>> gparted was used to partition drive. is pmagic live a better choice,
>> or should i return fdisk because;
1. fsck won't do anything at the lower level of partitioning.
2. A few years ago I personally tested this, and yes, an aligned partition
*does* make a significant difference in access time.
3. I've only used gparted once or twice. In user-surly parted, you want to
run it as
      $ parted -a opt /dev/sdc
    then, when mkpart, be sure to use start and end as something like
x.0GB, +x.0GB,
    and parted will do the alignment correctly. (As opposed to only
telling you
    that the alignment is not optimal, rather than *telling* you what you
should be
    doing to make it optimal.)