[CentOS] OT - parted guidance

Sun Aug 2 21:28:37 UTC 2015
Leon Fauster <leonfauster at googlemail.com>

Am 02.08.2015 um 19:12 schrieb Ken Smith <kens at kensnet.org>:
> Chris Murphy wrote:
>> On Sat, Aug 1, 2015 at 3:34 PM, Robert Nichols
>> <rnicholsNOSPAM at comcast.net> wrote:
>>> On 08/01/2015 12:05 PM, Chris Murphy wrote:
>>> The problem with gparted is that it works only in units of megabytes.
>>> There is no way to move a partition to a particular sector or, for
>>> that matter, do much of anything _exactly_.
>> I'm not sure why granularity finer than 1MiB is necessary. But setting
>> that aside, with a rotational drive with 4KiB sectors, you're better
>> off with 1MiB alignment than not being 4KiB aligned at all. Depending
>> on the drive and workload misalignment can cause a brutally bad
>> performance hit. And if it doesn't then I wouldn't worry about
>> changing anything.
> Thanks everyone. That's the advice I need. The partition is ext4. I'll copy it to other media and rearrange the partitions and copy it back.

the alignment can be checked with: 

blockdev --getalignoff /dev/foo

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