Skip to contentSkip to conversation

using 160GB IDE drives under linux with LVM.

linux-lvm Terje Kvernes 10 participants 17 messages Feb 7, 2002 – Feb 8, 2002 Kbuild

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Terje
#1 lore raw
Quoted 2 lines · Terje Kvernes

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.

Signature · 3 lines
Chad Walstrom <[email protected]>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' [email protected])
#2 lore raw
Quoted 6 lines · Chad C. Walstrom
Quoted 2 lines · Terje Kvernes

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. :/

Signature · 1 line
Terje
#3 lore raw
Quoted 6 lines · Terje Kvernes
Quoted 4 lines · Chad C. Walstrom
Quoted 2 lines · Terje Kvernes

fdisk is only able to address 128GiB, that's rather obvious. if I make one partition,

Quoted 6 lines
Quoted 2 lines

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 ;-)

Quoted 9 lines
Signature · 8 lines
-- 
Terje

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
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
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#4 lore raw
In reply to Terje Kvernes
Quoted 5 lines · Terje Kvernes

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

#5 lore raw
Quoted 10 lines · James Hawtin
Quoted 6 lines · Terje Kvernes

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.

Quoted 2 lines

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.

Quoted 1 line

You only use that disk for linux?

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

Quoted 1 line

do you need it to be partitioned at all?

nope.

Quoted 1 line

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

yes, please. :)

Quoted 2 lines

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. :)

Signature · 1 line
Terje
#6 lore raw
In reply to Terje Kvernes
Quoted 10 lines · Terje Kvernes

[ 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/

#7 lore raw

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: [email protected] [mailto:[email protected]]On Behalf Of Andreas Dilger
Sent: Thursday, February 07, 2002 4:18 PM
To: [email protected]
Subject: Re: [linux-lvm] using 160GB IDE drives under linux with LVM.

Quoted 10 lines · Terje Kvernes

[ 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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

#8 lore raw
Quoted 2 lines · John Moser

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.

Quoted 42 lines

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

Quoted 10 lines · Terje Kvernes

[ 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
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 1 line
Share and Enjoy. 
#9 lore raw

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

Makefile Thu Nov 22 22:23:44 2001 renamed from Makefile Thu Nov 22 11:22:58 2001 +3 -3
diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
-PATCHLEVEL = 4
-SUBLEVEL = 15
-EXTRAVERSION =-greased-turkey
+PATCHLEVEL = 5
+SUBLEVEL = 0
+EXTRAVERSION =
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Quoted 59 lines · Petro
Quoted 3 lines · John Moser

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.

Quoted 44 lines

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

Quoted 11 lines · Terje Kvernes

[ 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
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

#10 lore raw
Quoted 4 lines · Kirby C. Bohling

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.

Quoted 87 lines

Kirby

bzcat patch-2.4.15-to-2.5.0.bz2

diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile

Makefile Thu Nov 22 22:23:44 2001 renamed from Makefile Thu Nov 22 11:22:58 2001 +3 -3
@@ -1,7 +1,7 @@
 VERSION = 2
-PATCHLEVEL = 4
-SUBLEVEL = 15
-EXTRAVERSION =-greased-turkey
+PATCHLEVEL = 5
+SUBLEVEL = 0
+EXTRAVERSION =
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Quoted 6 lines · Petro
Quoted 3 lines · John Moser

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.

Quoted 53 lines

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.

Quoted 44 lines

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

Quoted 11 lines · Terje Kvernes

[ 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
[email protected]
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
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 1 line
Share and Enjoy. 
#11 lore raw
2002-02-08 00:47:16, Petro <[email protected]> wrote:
Quoted 9 lines · Kirby C. Bohling
Quoted 4 lines

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

Quoted 99 lines
Quoted 88 lines

Kirby

bzcat patch-2.4.15-to-2.5.0.bz2

diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile

Makefile Thu Nov 22 22:23:44 2001 renamed from Makefile Thu Nov 22 11:22:58 2001 +3 -3
@@ -1,7 +1,7 @@
 VERSION = 2
-PATCHLEVEL = 4
-SUBLEVEL = 15
-EXTRAVERSION =-greased-turkey
+PATCHLEVEL = 5
+SUBLEVEL = 0
+EXTRAVERSION =
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Quoted 6 lines · Petro
Quoted 3 lines · John Moser

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.

Quoted 53 lines

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.

Quoted 44 lines

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

Quoted 11 lines · Terje Kvernes

[ 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
[email protected]
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
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 7 lines
Share and Enjoy. 

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
#12 lore raw
Quoted 10 lines · Anders Widman
2002-02-08 00:47:16, Petro <[email protected]> wrote:
Quoted 7 lines · Kirby C. Bohling
Quoted 4 lines

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?

Quoted 109 lines

//Anders

Quoted 83 lines
Quoted 83 lines

Kirby

bzcat patch-2.4.15-to-2.5.0.bz2

diff -urN linux-2.4.15/Makefile linux-2.5.0/Makefile

Makefile Thu Nov 22 22:23:44 2001 renamed from Makefile Thu Nov 22 11:22:58 2001 +3 -3
@@ -1,7 +1,7 @@
 VERSION = 2
-PATCHLEVEL = 4
-SUBLEVEL = 15
-EXTRAVERSION =-greased-turkey
+PATCHLEVEL = 5
+SUBLEVEL = 0
+EXTRAVERSION =
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Quoted 59 lines · Petro
Quoted 3 lines · John Moser

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.

Quoted 44 lines

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

Quoted 11 lines · Terje Kvernes

[ 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
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Quoted 16 lines
Quoted 5 lines

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

Signature · 7 lines
Share and Enjoy. 

_______________________________________________
linux-lvm mailing list
[email protected]
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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 1 line
Share and Enjoy. 
#13 lore raw
2002-02-08 01:45:50, Petro <[email protected]> wrote:
Quoted 8 lines · Anders Widman
Quoted 7 lines
2002-02-08 00:47:16, Petro <[email protected]> wrote:
Quoted 5 lines · Kirby C. Bohling
Quoted 4 lines

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. :-)

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

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

#14 lore raw
In reply to John Moser
Quoted 2 lines · John Moser

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.

Quoted 6 lines

Andreas Dilger wrote:

Quoted 1 line · Terje Kvernes

[ 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/

#15 lore raw
In reply to Andreas Dilger
Quoted 2 lines · Andreas Dilger

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.

Signature · 1 line
Terje
#16 lore raw
In reply to Terje Kvernes
Quoted 10 lines

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

Signature · 4 lines
William H. Blunn - [email protected] - 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/