[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#269383: kernel-image-2.4.27-1-686: Problem with devicemapper.



On Thu, 2004-09-02 at 01:55, Joshua Kwan wrote:
> alister.winfield wrote:
> >   LV Size                1.95 TB
> 
> I was under the impression that 2.4 could only handle <= 1TB sanely, not 
> 2. So probably the support here is iffy.
> 
> Correct me if I'm wrong...

man vgcreate...

There is also (as
       of Linux 2.4) a kernel limitation of 2TB per block device.

Thats exactly what you get with 512 byte sectors and a 32bit counter.
(UINT_MAX * 512) = 2TB.

If I was going to bet anything I would look for crap being copied into
the 64bit size returned by the ioctl in the metadevice driver. It would
only need one case of only clearing the bottom 32bits to get a stupid
size back.

-- 
Alister Winfield <alister.winfield@uk.easynet.net>
Easynet Limited



Reply to: