[CentOS] ext4, 4k sector alignment

m.roth at 5-cent.us m.roth at 5-cent.us
Mon Jul 25 18:19:16 UTC 2011


Devin Reade wrote:
> --On Monday, July 25, 2011 01:56:38 PM -0400 m.roth at 5-cent.us wrote:
>
>> I think it was when I was building a 6.0 box a couple weeks ago, but I'd
>> partition, it would do an mkfs... and *then* tell me it wasn't aligned,
>> and I played with it several times, and it absolutely would NOT align
>> it, nor offer to do so.
>
> When I was building out a 6.0 box a few days ago using 4k sector
> drives, I first booted into rescue mode and partitioned using
> fdisk via:
>       fdisk -uc -H 224 -S 56 /dev/sd{a,b,c,d}
> (I'm not sure, but the -H and -S might be irrelevent due to the -uc.)
<snip>
No joy - I think I have to use parted - the drive was too big for fdisk.

       mark




More information about the CentOS mailing list