On Thu, Apr 21, 2011 at 11:36, David Haller <dnh@opensuse.org> wrote:
Hello,
On Mon, 18 Apr 2011, Patrick Shanahan wrote:
* David Haller <dnh@opensuse.org> [01-01-70 12:34]:
The _drives_ don't tell their real sector sizes!
I have a 120gb intel, hdparm -I /dev/sdc:
Logical Sector size: 512 bytes Physical Sector size: 512 bytes
With SSDs, that is definitely wrong, AFAIK most use blocks of 128kB, which have to be "Read-Modified-Write" if say, a 4k Block of a file is modified. See e.g. http://techreport.com/articles.x/15433 Searching for »Intel SSD block size« (or »... blocksize«) yields more results. No software can read the blocksize though, that "blocksize" is "internal" to that SSD (and most current SATA drives with 4K blocks) and they lie to the "outside". A real PITA if you ask me, make it "jumperable" if need be, but there definitely should be a way to ask drives for their real blocksize.
This is because BIOS is not compatible with anything but 512-byte sectors. Anyways all of this is moot. What I've discovered is in openSUSE 11.3 and 11.4 the partitions are aligned to 4kb sectors fine, you will notice that if you issue the command: fdlisk -u=sectors -l All the starting sectors of the partition are divisible by 8. 8 * 512 bytes = 4kb, and that's all there is to it. -- Med Vennlig Hilsen, A. Helge Joakimsen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org