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

Fri Apr 22 13:19:57 UTC 2016
Leon Fauster <leonfauster at googlemail.com>

Am 22.04.2016 um 12:40 schrieb g <geleem at bellsouth.net>:
> greetings.
> 
> 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
> 
> other than time involved to backup sdc5, repartition is not a problem.
> 
> to my thinking, but not recalling,  with fsck;
> 
>  fsck -rN -t ext4 /dev/sdc5  * to check repairs
>  fsck -r -t ext4 /dev/sdc5   * to repair
> 
> 
> gparted was used to partition drive. is pmagic live a better choice,
> or should i return fdisk because;
> 
> =+=+=
> $ sudo fdisk -l /dev/sdc
> [sudo] password for geo:
> 
> Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x0009ede7
> 
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1   *           1         103      819200   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sdc2             103         230     1024000   82  Linux swap / Solaris
> Partition 2 does not end on cylinder boundary.
> /dev/sdc3             230        2107    15073280   83  Linux
> /dev/sdc4            2107      121602   959844352    5  Extended
> /dev/sdc5            2108       42019   320587970+  83  Linux
> Partition 5 does not start on physical sector boundary.
> =+=+=
> 
> suggestions for correcting above boundaries also appreciated.
> 
> help needed and greatly appreciated.



check it with:

blockdev --getalignoff /dev/sd 

(if a '0' is returned, the partition is aligned)

--
LF