- Joined
- Jan 27, 2011
- Location
- Beautiful Sunny Winfield
It gives me a headache. The problem results because the drives lie to the BIOS/OS about sector size because some vendors were slow to accommodate 2048 byte sectors.
I thought that if I kept (512 byte) sectors on 8 sector boundaries, everything was good. I'm trying to fix this on one of my drives and am getting the following result (with units in sectors)
I don't understand why this is not aligned.
Start => 3901074272/8 => 487634284 - evenly divisible by 8.
End => (3907029127 +1) => 488378641 - evenly divisible by 8
488378641 - 487634284 => 744357 - ???
Are there other rules for partition size? Does the resulting partition have to be some certain multiple of sectors? (This is swap but I'll also need to move some EXT4 partitions.)
I'm working at the sector level because this is half of a mirrored set. It is going to be a lot easier to complete this work if I do not resize the partitions when I move them.
I've searched on this and cannot find the rules for determining good partition alignment (at least in terms of sector counts.)
thanks,
hank
I thought that if I kept (512 byte) sectors on 8 sector boundaries, everything was good. I'm trying to fix this on one of my drives and am getting the following result (with units in sectors)
Code:
(parted) mkpart logical linux-swap 3901074272 3907029127
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel?
I don't understand why this is not aligned.
Start => 3901074272/8 => 487634284 - evenly divisible by 8.
End => (3907029127 +1) => 488378641 - evenly divisible by 8
488378641 - 487634284 => 744357 - ???
Are there other rules for partition size? Does the resulting partition have to be some certain multiple of sectors? (This is swap but I'll also need to move some EXT4 partitions.)
I'm working at the sector level because this is half of a mirrored set. It is going to be a lot easier to complete this work if I do not resize the partitions when I move them.
I've searched on this and cannot find the rules for determining good partition alignment (at least in terms of sector counts.)
thanks,
hank