Re: OT - parted guidance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 02.08.2015 um 19:12 schrieb Ken Smith <kens@xxxxxxxxxxx>:
> Chris Murphy wrote:
>> On Sat, Aug 1, 2015 at 3:34 PM, Robert Nichols
>> <rnicholsNOSPAM@xxxxxxxxxxx> 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

--
LF
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux