On Mon, Jan 17, 2011 at 3:42 AM, <benefici@fastmail.fm> wrote:
On 2011. 01. 17., Monday 05:43:29 Andrew Joakimsen wrote:
I've installed a new RAID array in my home server and the disks are using 4KB sectors instead of the traditional 512 byte sectors.
How do I properly align the partitions to this disk? YaST partitioner shows "cylinders" and I can not come up with a formula to convert cylinders to sectors. My understanding is since 8 x 512 = 4096 (4kb) all I need to do is ensure that my partitions are aligned to multiples of 8 sectors.
Unfortunately, it is not that trivial as aligning partition boundaries to multiples of 8. See this article (and comments): http://lwn.net/Articles/377895/
That article is concerned with 4KB physical sector drives with 4KB logical sector addressing. That is highly uncommon. Most drives of concern have 4KB physical and 512 byte logical sectors. For them, alignment is the only issue. hdparm can show you your logical / physical sector size and I think both are in /sys/block/sda/queue/*. You can use a liveCD to look at that I assume prior to installing. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org