At Fri, 30 Oct 2009 11:14:54 -0500 CentOS mailing list
wrote:
>
> Cylinders are largely logical - even in magnetic disks you have no way
> of knowing if the logical cylinder matches up with the physical
> construct of a cylinder on the disk medium - in any modern(15 years ?)
> disk they won'
On 10/30/09, John Doe wrote:
> Hi,
>
> I modified my kickstart to do some custom partioning and formating in a
> pre-install script.
> I am trying to align the partitions on the RAID stripe (and format with a
> correct stride).
> But, sfdisk complains that it does not start/end on a cylinder bound
Cylinders are largely logical - even in magnetic disks you have no way
of knowing if the logical cylinder matches up with the physical
construct of a cylinder on the disk medium - in any modern(15 years ?)
disk they won't. Don't worry about cylinders, just align your fs to the
stripe/sector.
O
> So, for my first partition (96MB):
> begin=256
> size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
> end = 195840 - 1 - 256 = 195583
Oops, I meant:
begin = 256
size = 96 * 1024 * 2 = 196608 sectors
end = ( ( begin + size ) / 8160 ) * 8160 - 1 = 195839
aligned_size = end
4 matches
Mail list logo