support for drives larger than 2TiB

From: Tejun Heo
Date: Sat Jul 24 2010 - 05:59:18 EST


Hello,

I've been playing with a SATA 2.5T drive and things don't look too
bad. All four controllers I've tested worked fine and the driver and
kernel worked just fine. Even BIOSes don't seem too bad. At least
the two boards I tested (both about three years old) didn't have much
problem recognizing upto 2TiB and could access and boot fine although
I'm fairly sure there will be BIOSes which would behave erratically.

I also tested installing w/ openSUSE 11.3 and it worked fine. It
automatically chose GPT and alignment and everything just worked (tm).
I think the situation shouldn't be too different for any distro which
uses up-to-date parted.

The only problem is that everything which is necessary for booting
needs to be located below 2TiB limit. Please note that this is much
stricter restriction than the 128GiB limit we had due to LBA28. That
limit was caused by BIOSes using LBA28 and vendors could and did
update and be done with it in many cases. However, 2TiB limit is
inherent in the BIOS programming interface and currently the only way
to overcome it is using a completely different BIOS interface (EFI,
that is). Vendors are not likely to introduce EFI for already
released products although they're much more likely to release updates
so that BIOSes can access upto 2TiB if they don't work already. We'll
be stuck with 2TiB limit on much more configurations for longer period
of time.

So, distro installers need to try to locate everything needed for
bootstrapping below 2TiB limit (ie. a dedicated boot partition below
the limit). Drives > 2TiB aren't on the market yet but aren't too far
away. Let's make sure things will be ready by the next distro release
cycle.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/