Re: 2 TB partition support

From: Peter Chubb
Date: Wed Nov 12 2003 - 14:36:22 EST


>>>>> "Bernd" == Bernd Schubert <Bernd.Schubert@xxxxxxxxxxxxxxxxxxxxxxxx> writes:

Bernd> On Mon, Nov 10, 2003 at 06:12:06PM -0800, Joseph Shamash wrote:
>> Hello Peter,
>>
>> Forgive another quick Q or two.
>>
>> What is the maximum partition size for a patched 2.4.x kernel, and
>> where are those patches?
>>

Bernd> Hello,

Bernd> Are 2TB possible with an unpatched 2.4.x 64bit-AMD64 kernel?

On unpatched 2.4, the limit (depending on your driver) for a single
block device is either 2TB-1k or 1TB - 512b.

The 2.4 kernel keeps the block device sizes in an unsigned int, in 1k
units, so the maximum size is (2^32-1)*1k.

I forget which subsystem does it,but one of them tries to keep the
capacity of a disc in an unsigned int in 512byte units; if you're using
that subsystem, the macimum size you can use is (2^31-1)*512b

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
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/