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

Fri Apr 22 14:43:39 UTC 2016
g <geleem at bellsouth.net>


On 04/22/16 08:19, Leon Fauster wrote:
<<>>

> check it with:
>
> blockdev --getalignoff /dev/sd 
> 
> (if a '0' is returned, the partition is aligned)
>
===>

Leon,
thank you for reply.

]$ sudo blockdev --getalignoff /dev/sdc1
0
]$ sudo blockdev --getalignoff /dev/sdc2
0
]$ sudo blockdev --getalignoff /dev/sdc5
2560
]$ sudo blockdev --report /dev/sdc1
RO    RA   SSZ   BSZ   StartSec            Size   Device
rw   256   512  4096       2048       838860800   /dev/sdc1
]$ sudo blockdev --report /dev/sdc2
RO    RA   SSZ   BSZ   StartSec            Size   Device
rw   256   512  4096    1640448      1048576000   /dev/sdc2
]$ sudo blockdev --report /dev/sdc5
RO    RA   SSZ   BSZ   StartSec            Size   Device
rw   256   512  4096   33848955    328282081792   /dev/sdc5

so, blockdev does not show end, but does confirm sdc5 start is off
by 2560, same as fdisk.

all of which indicates i should repartition drive with fdisk.

is there any easier way such as using gparted or sparted so that
partitioning will be by cylinder and not sector?

thank you again. much appreciate.

-- 
peace out.

If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.

CentOS GNU/Linux 6.7

tc,hago.

g
.