[CentOS] ext4, 4k sector alignment

John R Pierce pierce at hogranch.com
Mon Jul 25 21:26:22 UTC 2011


On 07/25/11 2:17 PM, Les Mikesell wrote:
> The disk I want to add is the same size as the existing disks if
> expressed in 512 byte sectors - and they have one partition taking all
> of the disk space.  If I add a leading offset to get the 4k alignment,
> there won't be enough room for the existing partition size.

you sure its that tight?    different brand and model 1TB (or whatever) 
drives vary all over the place in actual size.   generally newer ones 
are a hair bigger than older ones.  you need at most 7 sectors to 
achieve 4 kilobyte alignment.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast




More information about the CentOS mailing list