SHARE
Facebook X Pinterest WhatsApp

Kernel Log: Linux and hard disks with 4-KByte sectors

Written By
thumbnail
Web Webster
Web Webster
Feb 25, 2010

“In future, fdisk will arrange partitions in such a way that the
new hard disks with 4-KByte sectors can achieve optimum performance
– although, for now, users will still need to select fdisk’s
appropriate mode of operation manually. The developers of Realtime
Linux have released new kernel versions, and the completion of
2.6.32.9 and 2.6.33 is also approaching.

“Red Hat developer Karel Zak has released version 2.17.1 of the
util-linux-ng tool collection used in many Linux distributions. It
includes the “fdisk” command line program which, in its
sector-based mode of operation, activated via the “-u” option, will
from now on try to align partitions along megabyte boundaries in
the same way as Windows 7 and Vista have done for some time. While
this sounds like a minor change, it is essential for the gradually
emerging large hard disks that work with 4-KByte sectors internally
while, for compatibility reasons, externally pretending to use
512-Byte sectors like any other desktop hard disk released in the
past 20 years.

“Linux file systems prefer to read and write in 4-KByte blocks,
but older versions of fdisk arrange the first partition in such a
way that it begins with the (512-Byte) sector 63 by default –
which is right in the middle of a physical (4-KByte) sector.
Writing 4 KBytes of data to the beginning of the partition
consequently requires the hard disk to read two physical sectors of
4 KBytes, distribute the 4 KBytes of data across these two physical
sectors, wait for the disks to do an extra round and then write the
two sectors back to disk.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.