linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] using 160GB IDE drives under linux with LVM.
@ 2002-02-07 15:34 Terje Kvernes
  2002-02-07 16:10 ` Chad C. Walstrom
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Terje Kvernes @ 2002-02-07 15:34 UTC (permalink / raw)
  To: linux-lvm

  first, I'm sorry for asking here, but I'm close enough on topic (I
  hope :) and I know there are bright heads who deal with linux at
  this level out there.  I've also looked through google, and at the
  kernel IDE-documentation.  and the little thing that lingers is
  128GiB.

  fdisk is only able to address 128GiB, that's rather obvious.  if I
  make one partition, it's about that size, and if I make two
  partitions, the first one 100GiB, the last one will only be about
  28GiB.  if I pvcreate the device itself it helps a little, but not
  much.  /proc/lvm/global then returns the size as 134152192KB.

  now, I've added SCSI-devices that where > 500GiB with ease into LVM,
  but here I stumble.  is there some easy solution out there that I've
  missed?

  the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
  from 26/11.  patches or anything people want to toss at this will be
  highly appreciated.  we have two of these beasts from Maxtor, and
  stand to loose about 60GiB of space, which isn't all that neat.

-- 
Terje

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 15:34 [linux-lvm] using 160GB IDE drives under linux with LVM Terje Kvernes
@ 2002-02-07 16:10 ` Chad C. Walstrom
  2002-02-07 21:43   ` Terje Kvernes
  2002-02-07 16:14 ` James Hawtin
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 17+ messages in thread
From: Chad C. Walstrom @ 2002-02-07 16:10 UTC (permalink / raw)
  To: linux-lvm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 1472 bytes --]

On Thu, Feb 07, 2002 at 10:33:46PM +0100, Terje Kvernes wrote:
>   fdisk is only able to address 128GiB, that's rather obvious.  if I
>   make one partition, 

Why make a partition at all?  Why not just make a physical volume out of
the whole disk?

NAME
       pvcreate - initialize a disk or partition for use by LVM

SYNOPSIS
       pvcreate  [-d|--debug] [-f[f]|--force [--force]] [-y|--yes] [-h|--help]
       [-v|--verbose] [-V|--version] PhysicalVolume [PhysicalVolume...]

DESCRIPTION
       pvcreate initializes PhysicalVolume for later use by the Logical Volume
       Manager  (LVM).   Each  PhysicalVolume  can  be a disk partition, whole
       disk, meta device, or loopback file.  For DOS disk partitions, the par­
       tition  id  must be set to 0x8e using fdisk(8), cfdisk(8), or a equiva­
       lent.  For whole disk devices only the partition table must be  erased,
       which will effectively destroy all data on that disk.  This can be done
       by zeroing the first sector with:

       dd if=/dev/zero of=PhysicalVolume bs=512 count=1

       Continue with vgcreate(8) to create a new volume group on  PhysicalVol­
       ume,  or vgextend(8) to add PhysicalVolume to an existing volume group.

-- 
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie@wookimus.net)

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 15:34 [linux-lvm] using 160GB IDE drives under linux with LVM Terje Kvernes
  2002-02-07 16:10 ` Chad C. Walstrom
@ 2002-02-07 16:14 ` James Hawtin
  2002-02-07 21:48   ` Terje Kvernes
  2002-02-07 16:18 ` Andreas Dilger
  2002-02-08  2:47 ` William Blunn
  3 siblings, 1 reply; 17+ messages in thread
From: James Hawtin @ 2002-02-07 16:14 UTC (permalink / raw)
  To: linux-lvm


On 7 Feb 2002, Terje Kvernes wrote:

>   the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
>   from 26/11.  patches or anything people want to toss at this will be
>   highly appreciated.  we have two of these beasts from Maxtor, and
>   stand to loose about 60GiB of space, which isn't all that neat.
> 

Whats your Extent size? if its the default 4MB that allows you to address
256GB in that volume group.... Please do a vgdisplay -v

You only use that disk for linux? do you need it to be partitioned at all?
Do you want the whole of the disk to be available under LVM?  You could do
your pvcreate on the whole device that would get arround partition table
addressing problems.

James

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 15:34 [linux-lvm] using 160GB IDE drives under linux with LVM Terje Kvernes
  2002-02-07 16:10 ` Chad C. Walstrom
  2002-02-07 16:14 ` James Hawtin
@ 2002-02-07 16:18 ` Andreas Dilger
  2002-02-07 16:42   ` John Moser
  2002-02-07 22:08   ` Terje Kvernes
  2002-02-08  2:47 ` William Blunn
  3 siblings, 2 replies; 17+ messages in thread
From: Andreas Dilger @ 2002-02-07 16:18 UTC (permalink / raw)
  To: linux-lvm

On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
>   [ Re: IDE 128GB disk limits ]
> 
>   now, I've added SCSI-devices that where > 500GiB with ease into LVM,
>   but here I stumble.  is there some easy solution out there that I've
>   missed?
> 
>   the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
>   from 26/11.  patches or anything people want to toss at this will be
>   highly appreciated.  we have two of these beasts from Maxtor, and
>   stand to loose about 60GiB of space, which isn't all that neat.

This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
IDE patches to support IDE devices over this size.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:18 ` Andreas Dilger
@ 2002-02-07 16:42   ` John Moser
  2002-02-07 16:50     ` Petro
  2002-02-07 17:03     ` Andreas Dilger
  2002-02-07 22:08   ` Terje Kvernes
  1 sibling, 2 replies; 17+ messages in thread
From: John Moser @ 2002-02-07 16:42 UTC (permalink / raw)
  To: linux-lvm

Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
that the 160 gig drives I was using are also partitioned at only 128Gigs.

-John Moser

-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
Behalf Of Andreas Dilger
Sent: Thursday, February 07, 2002 4:18 PM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.


On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
>   [ Re: IDE 128GB disk limits ]
>
>   now, I've added SCSI-devices that where > 500GiB with ease into LVM,
>   but here I stumble.  is there some easy solution out there that I've
>   missed?
>
>   the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
>   from 26/11.  patches or anything people want to toss at this will be
>   highly appreciated.  we have two of these beasts from Maxtor, and
>   stand to loose about 60GiB of space, which isn't all that neat.

This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
IDE patches to support IDE devices over this size.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:42   ` John Moser
@ 2002-02-07 16:50     ` Petro
  2002-02-07 17:07       ` Kirby C. Bohling
  2002-02-07 17:03     ` Andreas Dilger
  1 sibling, 1 reply; 17+ messages in thread
From: Petro @ 2002-02-07 16:50 UTC (permalink / raw)
  To: linux-lvm

On Thu, Feb 07, 2002 at 04:45:03PM -0600, John Moser wrote:
> Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
> that the 160 gig drives I was using are also partitioned at only 128Gigs.
 
    No, it's at the IDE driver level. There are patches to get around
    this that are being considered for the mainstream kernel (Andrei H.
    I believe). 

    Brave man running 2.5.0, the dot-zero release of a development
    kernel. 
 
> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> Behalf Of Andreas Dilger
> Sent: Thursday, February 07, 2002 4:18 PM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
> 
> 
> On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
> >   [ Re: IDE 128GB disk limits ]
> >
> >   now, I've added SCSI-devices that where > 500GiB with ease into LVM,
> >   but here I stumble.  is there some easy solution out there that I've
> >   missed?
> >
> >   the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
> >   from 26/11.  patches or anything people want to toss at this will be
> >   highly appreciated.  we have two of these beasts from Maxtor, and
> >   stand to loose about 60GiB of space, which isn't all that neat.
> 
> This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
> IDE patches to support IDE devices over this size.
> 
> Cheers, Andreas
> --
> Andreas Dilger
> http://sourceforge.net/projects/ext2resize/
> http://www-mddsp.enel.ucalgary.ca/People/adilger/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
Share and Enjoy. 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:42   ` John Moser
  2002-02-07 16:50     ` Petro
@ 2002-02-07 17:03     ` Andreas Dilger
  1 sibling, 0 replies; 17+ messages in thread
From: Andreas Dilger @ 2002-02-07 17:03 UTC (permalink / raw)
  To: John Moser; +Cc: linux-lvm

On Feb 07, 2002  16:45 -0600, John Moser wrote:
> Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
> that the 160 gig drives I was using are also partitioned at only 128Gigs.

The IDE stuff didn't go into the 2.5 tree until 2.5.2-something.

> Andreas Dilger wrote:
> On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
> >   [ Re: IDE 128GB disk limits ]
> 
> This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
> IDE patches to support IDE devices over this size.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:50     ` Petro
@ 2002-02-07 17:07       ` Kirby C. Bohling
  2002-02-07 17:47         ` Petro
  0 siblings, 1 reply; 17+ messages in thread
From: Kirby C. Bohling @ 2002-02-07 17:07 UTC (permalink / raw)
  To: linux-lvm

Why is he brave, it is just a converted 2.4.15-pre5 with a change to the 
version number if I remember correctly that has a filesystem bug when 
you umount during a reboot.  As long as he doesn't reboot and/or umount 
his data is save. :-)

		Kirby

bzcat patch-2.4.15-to-2.5.0.bz2

diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile
--- linux-2.4.15/Makefile       Thu Nov 22 11:22:58 2001
+++ linux-2.5.0/Makefile        Thu Nov 22 22:23:44 2001
@@ -1,7 +1,7 @@
  VERSION = 2
-PATCHLEVEL = 4
-SUBLEVEL = 15
-EXTRAVERSION =-greased-turkey
+PATCHLEVEL = 5
+SUBLEVEL = 0
+EXTRAVERSION =

  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)


Petro wrote:
> On Thu, Feb 07, 2002 at 04:45:03PM -0600, John Moser wrote:
> 
>>Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
>>that the 160 gig drives I was using are also partitioned at only 128Gigs.
>>
>  
>     No, it's at the IDE driver level. There are patches to get around
>     this that are being considered for the mainstream kernel (Andrei H.
>     I believe). 
> 
>     Brave man running 2.5.0, the dot-zero release of a development
>     kernel. 
>  
> 
>>-----Original Message-----
>>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
>>Behalf Of Andreas Dilger
>>Sent: Thursday, February 07, 2002 4:18 PM
>>To: linux-lvm@sistina.com
>>Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
>>
>>
>>On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
>>
>>>  [ Re: IDE 128GB disk limits ]
>>>
>>>  now, I've added SCSI-devices that where > 500GiB with ease into LVM,
>>>  but here I stumble.  is there some easy solution out there that I've
>>>  missed?
>>>
>>>  the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
>>>  from 26/11.  patches or anything people want to toss at this will be
>>>  highly appreciated.  we have two of these beasts from Maxtor, and
>>>  stand to loose about 60GiB of space, which isn't all that neat.
>>>
>>This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
>>IDE patches to support IDE devices over this size.
>>
>>Cheers, Andreas
>>--
>>Andreas Dilger
>>http://sourceforge.net/projects/ext2resize/
>>http://www-mddsp.enel.ucalgary.ca/People/adilger/
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
>>
>>_______________________________________________
>>linux-lvm mailing list
>>linux-lvm@sistina.com
>>http://lists.sistina.com/mailman/listinfo/linux-lvm
>>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>>
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 17:07       ` Kirby C. Bohling
@ 2002-02-07 17:47         ` Petro
  2002-02-07 18:31           ` Anders Widman
  0 siblings, 1 reply; 17+ messages in thread
From: Petro @ 2002-02-07 17:47 UTC (permalink / raw)
  To: linux-lvm

On Thu, Feb 07, 2002 at 05:05:27PM -0600, Kirby C. Bohling wrote:
> Why is he brave, it is just a converted 2.4.15-pre5 with a change to the 
> version number if I remember correctly that has a filesystem bug when 
> you umount during a reboot.  As long as he doesn't reboot and/or umount 
> his data is save. :-)

    I thought there were more changes than that. 

    2.5.x is the development series, not the stable series. 

> 		Kirby
> 
> bzcat patch-2.4.15-to-2.5.0.bz2
> 
> diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile
> --- linux-2.4.15/Makefile       Thu Nov 22 11:22:58 2001
> +++ linux-2.5.0/Makefile        Thu Nov 22 22:23:44 2001
> @@ -1,7 +1,7 @@
>  VERSION = 2
> -PATCHLEVEL = 4
> -SUBLEVEL = 15
> -EXTRAVERSION =-greased-turkey
> +PATCHLEVEL = 5
> +SUBLEVEL = 0
> +EXTRAVERSION =
> 
>  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
> 
> 
> Petro wrote:
> >On Thu, Feb 07, 2002 at 04:45:03PM -0600, John Moser wrote:
> >
> >>Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
> >>that the 160 gig drives I was using are also partitioned at only 128Gigs.
> >>
> > 
> >    No, it's at the IDE driver level. There are patches to get around
> >    this that are being considered for the mainstream kernel (Andrei H.
> >    I believe). 
> >
> >    Brave man running 2.5.0, the dot-zero release of a development
> >    kernel. 
> > 
> >
> >>-----Original Message-----
> >>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> >>Behalf Of Andreas Dilger
> >>Sent: Thursday, February 07, 2002 4:18 PM
> >>To: linux-lvm@sistina.com
> >>Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
> >>
> >>
> >>On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
> >>
> >>> [ Re: IDE 128GB disk limits ]
> >>>
> >>> now, I've added SCSI-devices that where > 500GiB with ease into LVM,
> >>> but here I stumble.  is there some easy solution out there that I've
> >>> missed?
> >>>
> >>> the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
> >>> from 26/11.  patches or anything people want to toss at this will be
> >>> highly appreciated.  we have two of these beasts from Maxtor, and
> >>> stand to loose about 60GiB of space, which isn't all that neat.
> >>>
> >>This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
> >>IDE patches to support IDE devices over this size.
> >>
> >>Cheers, Andreas
> >>--
> >>Andreas Dilger
> >>http://sourceforge.net/projects/ext2resize/
> >>http://www-mddsp.enel.ucalgary.ca/People/adilger/
> >>
> >>
> >>_______________________________________________
> >>linux-lvm mailing list
> >>linux-lvm@sistina.com
> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >>
> >>
> >>_______________________________________________
> >>linux-lvm mailing list
> >>linux-lvm@sistina.com
> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >>
> >
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
Share and Enjoy. 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 17:47         ` Petro
@ 2002-02-07 18:31           ` Anders Widman
  2002-02-07 18:46             ` Petro
  0 siblings, 1 reply; 17+ messages in thread
From: Anders Widman @ 2002-02-07 18:31 UTC (permalink / raw)
  To: linux-lvm

2002-02-08 00:47:16, Petro <petro@auctionwatch.com> wrote:

>On Thu, Feb 07, 2002 at 05:05:27PM -0600, Kirby C. Bohling wrote:
>> Why is he brave, it is just a converted 2.4.15-pre5 with a change to the 
>> version number if I remember correctly that has a filesystem bug when 
>> you umount during a reboot.  As long as he doesn't reboot and/or umount 
>> his data is save. :-)
>
>    I thought there were more changes than that. 
>
>    2.5.x is the development series, not the stable series. 

Not that the 2.4.x series is very stable anyway, with problems of different sorts (APIC for example)..

//Anders
>
>> 		Kirby
>> 
>> bzcat patch-2.4.15-to-2.5.0.bz2
>> 
>> diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile
>> --- linux-2.4.15/Makefile       Thu Nov 22 11:22:58 2001
>> +++ linux-2.5.0/Makefile        Thu Nov 22 22:23:44 2001
>> @@ -1,7 +1,7 @@
>>  VERSION = 2
>> -PATCHLEVEL = 4
>> -SUBLEVEL = 15
>> -EXTRAVERSION =-greased-turkey
>> +PATCHLEVEL = 5
>> +SUBLEVEL = 0
>> +EXTRAVERSION =
>> 
>>  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
>> 
>> 
>> Petro wrote:
>> >On Thu, Feb 07, 2002 at 04:45:03PM -0600, John Moser wrote:
>> >
>> >>Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
>> >>that the 160 gig drives I was using are also partitioned at only 128Gigs.
>> >>
>> > 
>> >    No, it's at the IDE driver level. There are patches to get around
>> >    this that are being considered for the mainstream kernel (Andrei H.
>> >    I believe). 
>> >
>> >    Brave man running 2.5.0, the dot-zero release of a development
>> >    kernel. 
>> > 
>> >
>> >>-----Original Message-----
>> >>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
>> >>Behalf Of Andreas Dilger
>> >>Sent: Thursday, February 07, 2002 4:18 PM
>> >>To: linux-lvm@sistina.com
>> >>Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
>> >>
>> >>
>> >>On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
>> >>
>> >>> [ Re: IDE 128GB disk limits ]
>> >>>
>> >>> now, I've added SCSI-devices that where > 500GiB with ease into LVM,
>> >>> but here I stumble.  is there some easy solution out there that I've
>> >>> missed?
>> >>>
>> >>> the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
>> >>> from 26/11.  patches or anything people want to toss at this will be
>> >>> highly appreciated.  we have two of these beasts from Maxtor, and
>> >>> stand to loose about 60GiB of space, which isn't all that neat.
>> >>>
>> >>This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
>> >>IDE patches to support IDE devices over this size.
>> >>
>> >>Cheers, Andreas
>> >>--
>> >>Andreas Dilger
>> >>http://sourceforge.net/projects/ext2resize/
>> >>http://www-mddsp.enel.ucalgary.ca/People/adilger/
>> >>
>> >>
>> >>_______________________________________________
>> >>linux-lvm mailing list
>> >>linux-lvm@sistina.com
>> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
>> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>> >>
>> >>
>> >>_______________________________________________
>> >>linux-lvm mailing list
>> >>linux-lvm@sistina.com
>> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
>> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>> >>
>> >
>> 
>> 
>> 
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@sistina.com
>> http://lists.sistina.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>-- 
>Share and Enjoy. 
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 18:31           ` Anders Widman
@ 2002-02-07 18:46             ` Petro
  2002-02-08  4:18               ` Anders Widman
  0 siblings, 1 reply; 17+ messages in thread
From: Petro @ 2002-02-07 18:46 UTC (permalink / raw)
  To: linux-lvm

On Fri, Feb 08, 2002 at 01:30:50AM +0100, Anders Widman wrote:
> 2002-02-08 00:47:16, Petro <petro@auctionwatch.com> wrote:
> 
> >On Thu, Feb 07, 2002 at 05:05:27PM -0600, Kirby C. Bohling wrote:
> >> Why is he brave, it is just a converted 2.4.15-pre5 with a change to the 
> >> version number if I remember correctly that has a filesystem bug when 
> >> you umount during a reboot.  As long as he doesn't reboot and/or umount 
> >> his data is save. :-)
> >    I thought there were more changes than that. 
> >    2.5.x is the development series, not the stable series. 
> Not that the 2.4.x series is very stable anyway, with problems of different sorts (APIC for example)..
    
    And problems with the high memory VM (DAMHIK), and...

    But if the stable series isn't, how is the unstable going to be
    better? 


> //Anders
> >
> >> 		Kirby
> >> 
> >> bzcat patch-2.4.15-to-2.5.0.bz2
> >> 
> >> diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile
> >> --- linux-2.4.15/Makefile       Thu Nov 22 11:22:58 2001
> >> +++ linux-2.5.0/Makefile        Thu Nov 22 22:23:44 2001
> >> @@ -1,7 +1,7 @@
> >>  VERSION = 2
> >> -PATCHLEVEL = 4
> >> -SUBLEVEL = 15
> >> -EXTRAVERSION =-greased-turkey
> >> +PATCHLEVEL = 5
> >> +SUBLEVEL = 0
> >> +EXTRAVERSION =
> >> 
> >>  KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
> >> 
> >> 
> >> Petro wrote:
> >> >On Thu, Feb 07, 2002 at 04:45:03PM -0600, John Moser wrote:
> >> >
> >> >>Is this specific to 2.4.X kernels?  I'm running 2.5.0, and I just noticed
> >> >>that the 160 gig drives I was using are also partitioned at only 128Gigs.
> >> >>
> >> > 
> >> >    No, it's at the IDE driver level. There are patches to get around
> >> >    this that are being considered for the mainstream kernel (Andrei H.
> >> >    I believe). 
> >> >
> >> >    Brave man running 2.5.0, the dot-zero release of a development
> >> >    kernel. 
> >> > 
> >> >
> >> >>-----Original Message-----
> >> >>From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> >> >>Behalf Of Andreas Dilger
> >> >>Sent: Thursday, February 07, 2002 4:18 PM
> >> >>To: linux-lvm@sistina.com
> >> >>Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
> >> >>
> >> >>
> >> >>On Feb 07, 2002  22:33 +0100, Terje Kvernes wrote:
> >> >>
> >> >>> [ Re: IDE 128GB disk limits ]
> >> >>>
> >> >>> now, I've added SCSI-devices that where > 500GiB with ease into LVM,
> >> >>> but here I stumble.  is there some easy solution out there that I've
> >> >>> missed?
> >> >>>
> >> >>> the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
> >> >>> from 26/11.  patches or anything people want to toss at this will be
> >> >>> highly appreciated.  we have two of these beasts from Maxtor, and
> >> >>> stand to loose about 60GiB of space, which isn't all that neat.
> >> >>>
> >> >>This is a kernel IDE driver limit.  You need to patch with Andre Hedrik's
> >> >>IDE patches to support IDE devices over this size.
> >> >>
> >> >>Cheers, Andreas
> >> >>--
> >> >>Andreas Dilger
> >> >>http://sourceforge.net/projects/ext2resize/
> >> >>http://www-mddsp.enel.ucalgary.ca/People/adilger/
> >> >>
> >> >>
> >> >>_______________________________________________
> >> >>linux-lvm mailing list
> >> >>linux-lvm@sistina.com
> >> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
> >> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >> >>
> >> >>
> >> >>_______________________________________________
> >> >>linux-lvm mailing list
> >> >>linux-lvm@sistina.com
> >> >>http://lists.sistina.com/mailman/listinfo/linux-lvm
> >> >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >> >>
> >> >
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> linux-lvm mailing list
> >> linux-lvm@sistina.com
> >> http://lists.sistina.com/mailman/listinfo/linux-lvm
> >> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
> >-- 
> >Share and Enjoy. 
> >
> >_______________________________________________
> >linux-lvm mailing list
> >linux-lvm@sistina.com
> >http://lists.sistina.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> >
> >
> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
Share and Enjoy. 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:10 ` Chad C. Walstrom
@ 2002-02-07 21:43   ` Terje Kvernes
  2002-02-08  3:20     ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 17+ messages in thread
From: Terje Kvernes @ 2002-02-07 21:43 UTC (permalink / raw)
  To: linux-lvm

"Chad C. Walstrom" <chewie@wookimus.net> writes:

> On Thu, Feb 07, 2002 at 10:33:46PM +0100, Terje Kvernes wrote:
> >   fdisk is only able to address 128GiB, that's rather obvious.  if I
> >   make one partition, 
> 
> Why make a partition at all?  Why not just make a physical volume out of
> the whole disk?

  like I said, if I pvcreate the device itself, /dev/hdc,
  /proc/lvm/global then returns the size as 134152192KB.  so it's
  still off.  :/

-- 
Terje

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:14 ` James Hawtin
@ 2002-02-07 21:48   ` Terje Kvernes
  0 siblings, 0 replies; 17+ messages in thread
From: Terje Kvernes @ 2002-02-07 21:48 UTC (permalink / raw)
  To: linux-lvm

James Hawtin <oolon@ankh.org> writes:

> On 7 Feb 2002, Terje Kvernes wrote:
> 
> > the box currently runs vanilla 2.4.16, only patched with LVM-1.0.1
> > from 26/11.  patches or anything people want to toss at this will
> > be highly appreciated.  we have two of these beasts from Maxtor,
> > and stand to loose about 60GiB of space, which isn't all that
> > neat.
> > 
> 
> Whats your Extent size? 

  32MB.

> if its the default 4MB that allows you to address 256GB in that
> volume group.... Please do a vgdisplay -v

--- Volume group ---
VG Name               stuff
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                255
Cur LV                1
Open LV               1
MAX LV Size           1.00 TB
Max PV                255
Cur PV                3
Act PV                3
VG Size               302.66 GB
PE Size               32.00 MB
Total PE              9685
Alloc PE / Size       3204 / 100.12 GB
Free  PE / Size       6481 / 202.53 GB
VG UUID               9FXZZm-T2nv-dw2p-NoRj-9VeI-GVJJ-jzzbCD

--- Logical volume ---
LV Name                /dev/stuff/test
VG Name                stuff
LV Write Access        read/write
LV Status              available
LV #                   1
# open                 1
LV Size                100.12 GB
Current LE             3204
Allocated LE           3204
Allocation             next free
Read ahead sectors     10000
Block device           58:0


--- Physical volumes ---
PV Name (#)           /dev/hdc (3)
PV Status             available / allocatable
Total PE / Free PE    4094 / 4094

PV Name (#)           /dev/hda4 (1)
PV Status             available / allocatable
Total PE / Free PE    2784 / 0

PV Name (#)           /dev/hdb4 (2)
PV Status             available / allocatable
Total PE / Free PE    2807 / 2387
  
  I only get 4094 extents on /dev/hdc.  
 
> You only use that disk for linux? 

  nope.  I have two other 100GB drives in the box.

> do you need it to be partitioned at all?  

  nope.

> Do you want the whole of the disk to be available under LVM?  

  yes, please.  :)

> You could do your pvcreate on the whole device that would get
> arround partition table addressing problems.

  oddly enough, that doesn't seem to work either.  unless 134GB is
  160GiB.  and unless my math is _very_ off, this seems strange.  :)

-- 
Terje

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 16:18 ` Andreas Dilger
  2002-02-07 16:42   ` John Moser
@ 2002-02-07 22:08   ` Terje Kvernes
  1 sibling, 0 replies; 17+ messages in thread
From: Terje Kvernes @ 2002-02-07 22:08 UTC (permalink / raw)
  To: linux-lvm

Andreas Dilger <adilger@turbolabs.com> writes:

> This is a kernel IDE driver limit.  You need to patch with Andre
> Hedrik's IDE patches to support IDE devices over this size.

  at least I'm not the only one who can't spell his name when looking
  for the patches, "Andre Hedrick".  right then.  I'm patching and
  compiling now. 

  aah...  thank you.  152.62GB.  now that looks more like the sort of
  Gib / GB tradeoff I can live with.  

-- 
Terje

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 15:34 [linux-lvm] using 160GB IDE drives under linux with LVM Terje Kvernes
                   ` (2 preceding siblings ...)
  2002-02-07 16:18 ` Andreas Dilger
@ 2002-02-08  2:47 ` William Blunn
  3 siblings, 0 replies; 17+ messages in thread
From: William Blunn @ 2002-02-08  2:47 UTC (permalink / raw)
  To: linux-lvm; +Cc: terjekv

>   first, I'm sorry for asking here, but I'm close enough on topic (I
>   hope :) and I know there are bright heads who deal with linux at
>   this level out there.  I've also looked through google, and at the
>   kernel IDE-documentation.  and the little thing that lingers is
>   128GiB.
> 
>   fdisk is only able to address 128GiB, that's rather obvious.
>   ...
>   if I pvcreate the device itself it helps a little, but not
>   much.

No-one seems to have mentioned the nub of the issue:

    /dev/hda would have been 128 GiB in size.

So trying different tools/techniques won't help you one bit!!!

The problem is the IDE limit. IDE has 28 bits to address the block. The
block is 2^9 bytes. So the maximum device size is

    2^(28+9) B = 128 GiB ~= 137 GB.

Maxtor have addressed this limit with their "Big Drive" scheme
(http://www.maxtor.com/products/bigdrive/ - read the white paper), which
extends the address size from 28 to 48 bits. This extends the maximum
device size to

    2^(48+9) B = 128 PiB ~= 144 PB ~= 144,115,188 GB

This of course means an updated version of the ATA interface
specification, which in turn means that you need different software
drivers.

In the Linux world this means you need kernel patches in order to access
the portion above 128 GiB.

I am very pleased to learn that Andrei has made a patch. Now I can
cheerfully go out and buy 160 GB drives knowing that I can get Linux to
see the whole drive - cool!

One wonders how long it will take the other operating systems to catch
up with Linux (again) :-)

Bill
-- 
William H. Blunn - bill@tao-group.com - Developer Support
Tao
62/63 Suttons Business Park, Earley, READING, RG6 1AZ, United Kingdom
Tel: +44 118 901 2999 - Fax: +44 118 901 2963 - http://tao-group.com/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 21:43   ` Terje Kvernes
@ 2002-02-08  3:20     ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 17+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-08  3:20 UTC (permalink / raw)
  To: linux-lvm

On Fri, Feb 08, 2002 at 04:42:34AM +0100, Terje Kvernes wrote:
> "Chad C. Walstrom" <chewie@wookimus.net> writes:
> 
> > On Thu, Feb 07, 2002 at 10:33:46PM +0100, Terje Kvernes wrote:
> > >   fdisk is only able to address 128GiB, that's rather obvious.  if I
> > >   make one partition, 
> > 
> > Why make a partition at all?  Why not just make a physical volume out of
> > the whole disk?
> 
>   like I said, if I pvcreate the device itself, /dev/hdc,
>   /proc/lvm/global then returns the size as 134152192KB.  so it's
>   still off.  :/

That's just "134152192 KB / 1024 MB/KB / 1024 GB/MB = 127.937 GB"
which is close enough to 128 GB ;-)

> 
> -- 
> Terje
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [linux-lvm] using 160GB IDE drives under linux with LVM.
  2002-02-07 18:46             ` Petro
@ 2002-02-08  4:18               ` Anders Widman
  0 siblings, 0 replies; 17+ messages in thread
From: Anders Widman @ 2002-02-08  4:18 UTC (permalink / raw)
  To: linux-lvm

2002-02-08 01:45:50, Petro <petro@auctionwatch.com> wrote:

>On Fri, Feb 08, 2002 at 01:30:50AM +0100, Anders Widman wrote:
>> 2002-02-08 00:47:16, Petro <petro@auctionwatch.com> wrote:
>> 
>> >On Thu, Feb 07, 2002 at 05:05:27PM -0600, Kirby C. Bohling wrote:
>> >> Why is he brave, it is just a converted 2.4.15-pre5 with a change to the 
>> >> version number if I remember correctly that has a filesystem bug when 
>> >> you umount during a reboot.  As long as he doesn't reboot and/or umount 
>> >> his data is save. :-)
>> >    I thought there were more changes than that. 
>> >    2.5.x is the development series, not the stable series. 
>> Not that the 2.4.x series is very stable anyway, with problems of different sorts (APIC for example)..
>    
>    And problems with the high memory VM (DAMHIK), and...
>
>    But if the stable series isn't, how is the unstable going to be
>    better? 
>

Of course they are not. But if you are having problems with one kernel and can't get around it it might be a good idea to test another kernel...


Oh, by the way... have a look at http://www.linux-ide.org/ -...

//Anders

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-02-08  4:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07 15:34 [linux-lvm] using 160GB IDE drives under linux with LVM Terje Kvernes
2002-02-07 16:10 ` Chad C. Walstrom
2002-02-07 21:43   ` Terje Kvernes
2002-02-08  3:20     ` Heinz J . Mauelshagen
2002-02-07 16:14 ` James Hawtin
2002-02-07 21:48   ` Terje Kvernes
2002-02-07 16:18 ` Andreas Dilger
2002-02-07 16:42   ` John Moser
2002-02-07 16:50     ` Petro
2002-02-07 17:07       ` Kirby C. Bohling
2002-02-07 17:47         ` Petro
2002-02-07 18:31           ` Anders Widman
2002-02-07 18:46             ` Petro
2002-02-08  4:18               ` Anders Widman
2002-02-07 17:03     ` Andreas Dilger
2002-02-07 22:08   ` Terje Kvernes
2002-02-08  2:47 ` William Blunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).