* [linux-lvm] Help with redhat install
@ 2001-08-15 18:45 Chris Bourne
2001-08-15 21:47 ` gerry
2001-08-18 14:23 ` Johan van den Berg
0 siblings, 2 replies; 9+ messages in thread
From: Chris Bourne @ 2001-08-15 18:45 UTC (permalink / raw)
To: linux-lvm
Hello!!
I am trying to get lvm working on redhat 7.1 with kernel
2.4.2-2. I down loaded the source rpm's 1)
lvm-iop-0.9.1_beta6-1.src.rpm 2)
lvm-iop-patchgen-0.9.1_beta6-1.src.rpm and the base rpm 3)
lvm-base-1.1-1.i386.rpm. I did a rpm --rebuild and ran the rpm command
and all seemed to install well with no problems. The problem I did
discover is that there is no lvm dir. in /proc and the lvm-mod is
nowhere to be found. I was under the impression that kernel 2.4 has lvm
already built in. I did a insmod lvm-mod and modprobe lvm-mod and nada.
I cannot figure out what I am doing wrong or if I should not be using
this version of lvm and use lvm 1.0 instaed (will it work on redhat?).
Thanks, Chris.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Help with redhat install
2001-08-15 18:45 [linux-lvm] Help with redhat install Chris Bourne
@ 2001-08-15 21:47 ` gerry
2001-08-15 22:19 ` Jason Tackaberry
2001-08-18 14:23 ` Johan van den Berg
1 sibling, 1 reply; 9+ messages in thread
From: gerry @ 2001-08-15 21:47 UTC (permalink / raw)
To: linux-lvm
Although 2.4.2-2 has lvm support built in I don't believe it is enabled in
the default kernel. I think you have to recompile the kernel and enable
it.
I forget what version is in the kernel. With lvm 1.0 just released you
may wish to patch the kernel source to the latest level so it will work
with lvm 1.0 and then recompile.
Gerry
On Wed, 15 Aug 2001, Chris Bourne wrote:
> Hello!!
> I am trying to get lvm working on redhat 7.1 with kernel
> 2.4.2-2. I down loaded the source rpm's 1)
> lvm-iop-0.9.1_beta6-1.src.rpm 2)
> lvm-iop-patchgen-0.9.1_beta6-1.src.rpm and the base rpm 3)
> lvm-base-1.1-1.i386.rpm. I did a rpm --rebuild and ran the rpm command
> and all seemed to install well with no problems. The problem I did
> discover is that there is no lvm dir. in /proc and the lvm-mod is
> nowhere to be found. I was under the impression that kernel 2.4 has lvm
> already built in. I did a insmod lvm-mod and modprobe lvm-mod and nada.
> I cannot figure out what I am doing wrong or if I should not be using
> this version of lvm and use lvm 1.0 instaed (will it work on redhat?).
> Thanks, Chris.
>
> _______________________________________________
> 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
>
Gerry
--
"The lyfe so short, the craft so long to learne" Geoffrey Chaucer
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Help with redhat install
2001-08-15 21:47 ` gerry
@ 2001-08-15 22:19 ` Jason Tackaberry
2001-08-15 22:23 ` Jason Tackaberry
0 siblings, 1 reply; 9+ messages in thread
From: Jason Tackaberry @ 2001-08-15 22:19 UTC (permalink / raw)
To: linux-lvm
> Although 2.4.2-2 has lvm support built in I don't believe it is enabled in
> the default kernel. I think you have to recompile the kernel and enable
> it.
If you have to recompile the kernel to get LVM support and download the
userland lvm tools (since I don't see an lvm rpm), I don't think that
quite qualifies as "built in."
Jason.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Help with redhat install
2001-08-15 22:19 ` Jason Tackaberry
@ 2001-08-15 22:23 ` Jason Tackaberry
0 siblings, 0 replies; 9+ messages in thread
From: Jason Tackaberry @ 2001-08-15 22:23 UTC (permalink / raw)
To: linux-lvm
* Jason Tackaberry (tack@linux.com) [010815 18:21]:
> > Although 2.4.2-2 has lvm support built in I don't believe it is enabled in
> > the default kernel. I think you have to recompile the kernel and enable
> > it.
>
> If you have to recompile the kernel to get LVM support and download the
> userland lvm tools (since I don't see an lvm rpm), I don't think that
> quite qualifies as "built in."
Nevermind. I guess I would have been right if you were talking about
RedHat, and not the kernel that comes with it. :)
Sorry,
Jason.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Help with redhat install
2001-08-15 18:45 [linux-lvm] Help with redhat install Chris Bourne
2001-08-15 21:47 ` gerry
@ 2001-08-18 14:23 ` Johan van den Berg
1 sibling, 0 replies; 9+ messages in thread
From: Johan van den Berg @ 2001-08-18 14:23 UTC (permalink / raw)
To: linux-lvm
Hello!!
I encountered the same pronlems. I was in the
supposition the kernel 2.4.2 was already fit for
lvm-iop-0.9.1_beta6-1.
The source is indeed suitable for lvm, but it still
has to be patched with the patchgenerator.
I have the same kernel as yours, and all has to be
patched and recompiled
0) make a bootable floppy (rescuefloppy) of the existing kernel
1) patch the sources (you must have the sources)
`patch -p1 < /../../../lvm-0.9.1_beta?-2.2.18.patch'
2.2.18. may be another version, coming from
the rpm-package chosen.
This step is necessary, the source still needs to
be patched. I skpped this step once, because I
assumed the soures were fit for LVM, but this
step needs to be done however.
2) cd ../../source-directory of linux/
make mrproper
make xconfig
NOW load from ../configs/<your kernel-configuration>
Next to your kernel-source there has to be a
directory, named configs.
In that directory, configs, there is a configuration-file,
for diverse architectures and usages (BOOT, normal)
Choose the desired architecture and usage (probably *-i386-)
AFTER loading the configurationfile from ../configs,
choose the submenu of `RAID and LVM support'
THEN choose how you want to compile, as a module or
directly into the kernel.
3) make dep
4) make bzImage
5) make bzdisk - if you use a floppy -
OR
make install - if you have lilo installed.
6) if have chosen the lvm (in make xconfig) to be used as a module
make modules
make modules install
7) copy the kernel image (bzImage) to the place were your regular
bootable kernel is found
8) eventually have a bootable floppy readyof the new kernel
OR/AND update the /etc/lilo.conf, to have one or both kernels
available.
Johan van den Berg,
's Hertogenbosch,
Holland
----- Original Message -----
From: Chris Bourne <cbourne@xapnet.com>
To: <linux-lvm@sistina.com>
Sent: Wednesday, August 15, 2001 8:45 PM
Subject: [linux-lvm] Help with redhat install
> Hello!!
> I am trying to get lvm working on redhat 7.1 with kernel
> 2.4.2-2. I down loaded the source rpm's 1)
> lvm-iop-0.9.1_beta6-1.src.rpm 2)
> lvm-iop-patchgen-0.9.1_beta6-1.src.rpm and the base rpm 3)
> lvm-base-1.1-1.i386.rpm. I did a rpm --rebuild and ran the rpm command
> and all seemed to install well with no problems. The problem I did
> discover is that there is no lvm dir. in /proc and the lvm-mod is
> nowhere to be found. I was under the impression that kernel 2.4 has lvm
> already built in. I did a insmod lvm-mod and modprobe lvm-mod and nada.
> I cannot figure out what I am doing wrong or if I should not be using
> this version of lvm and use lvm 1.0 instaed (will it work on redhat?).
> Thanks, Chris.
>
> _______________________________________________
> 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] 9+ messages in thread
* [linux-lvm] help with redhat install
@ 2002-03-13 22:04 Ed Jackson
2002-03-14 9:48 ` Vincent AE Scott
0 siblings, 1 reply; 9+ messages in thread
From: Ed Jackson @ 2002-03-13 22:04 UTC (permalink / raw)
To: linux-lvm
I'm trying to install and use LVM on my redhat - but I'm having
difficulties getting started.
I've tried to download and use the binaries at ftp.msede.com:
ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.i386.rpm
ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.src.rpm
and also all of the following files in:
ftp://linux.msede.com//lvm/0.9.1_beta/binaries/redhat/
lvm-iop10-0.9.1_beta7-1.i386.rpm
lvm-iop10-lib-0.9.1_beta7-1.i386.rpm
lvm-iop10-man-0.9.1_beta7-1.i386.rpm
lvm-iop10-patchgen-0.9.1_beta7-1.i386.rpm
When I install all of those RPMs with gnorpm, and try to run the wrapped
shell scripts for anything to do with LVM (like pvcreate) I get an error
message stating:
-------------- sample message --------------
vgcreate
lvmiopversion -- LVM driver/module not loaded?
vgcreate: /lib/lvm-iop not found. Is lvm-iop installed?
-----------------------------------------------
And when I search the current filesystem for anything named *lvm-iop* I get
nothing.
I have added the following to /etc/modules.conf
alias block-major-58 lvm-mod
alias char-major-109 lvm-mod
Since that didn't seem to work - I removed those RPMs and tried to download
the latest from ftp://ftp.sistina.com/pub/LVM/1.0/ and unpacked all
files. When I follow the instructions in the lvm-howto doc.. I run
LVM/1.0.1-rc4/configure script, which seems to complete fine.
I then cd into PATCHES and try to run 'make' and get the following error:
-------------
make
You haven't applied the rawio patch, please see the README
make: *** [check_rawio] Error 1
---------------
The README file only discusses the raw_io patch if I'm using a 2.2
kernel. But i'm currently using 2.4.9-31
Can anyone please help me out with this? I'd like to just use the RPMs if
possible - and the source code next if the RPMs don't work out.
Thanks, Ed
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] help with redhat install
[not found] <200203140409.g2E49OY06946@blok14b.gimmie.tudelft.nl>
@ 2002-03-14 3:58 ` Denie Andriessen
0 siblings, 0 replies; 9+ messages in thread
From: Denie Andriessen @ 2002-03-14 3:58 UTC (permalink / raw)
To: linux-lvm
Hi
sounds like you need to recompile the kernel with the LVM support in it..
Denie
----- Original Message -----
From: "Ed Jackson" <ej_external@bigfoot.com>
To: <linux-lvm@sistina.com>
Sent: Thursday, March 14, 2002 5:03 AM
Subject: [linux-lvm] help with redhat install
> I'm trying to install and use LVM on my redhat - but I'm having
> difficulties getting started.
>
> When I install all of those RPMs with gnorpm, and try to run the wrapped
> shell scripts for anything to do with LVM (like pvcreate) I get an error
> message stating:
>
> -------------- sample message --------------
> vgcreate
> lvmiopversion -- LVM driver/module not loaded?
>
> vgcreate: /lib/lvm-iop not found. Is lvm-iop installed?
> -----------------------------------------------
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] help with redhat install
2002-03-13 22:04 [linux-lvm] help " Ed Jackson
@ 2002-03-14 9:48 ` Vincent AE Scott
2002-03-14 13:14 ` Tim
0 siblings, 1 reply; 9+ messages in thread
From: Vincent AE Scott @ 2002-03-14 9:48 UTC (permalink / raw)
To: linux-lvm
Ed Jackson(ej_external@bigfoot.com)@Wed, Mar 13, 2002 at 11:03:47PM -0500:
> I'm trying to install and use LVM on my redhat - but I'm having
> difficulties getting started.
>
> I've tried to download and use the binaries at ftp.msede.com:
>
> ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.i386.rpm
> ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.src.rpm
>
> and also all of the following files in:
>
> ftp://linux.msede.com//lvm/0.9.1_beta/binaries/redhat/
>
> lvm-iop10-0.9.1_beta7-1.i386.rpm
> lvm-iop10-lib-0.9.1_beta7-1.i386.rpm
> lvm-iop10-man-0.9.1_beta7-1.i386.rpm
> lvm-iop10-patchgen-0.9.1_beta7-1.i386.rpm
>
>
> When I install all of those RPMs with gnorpm, and try to run the wrapped
> shell scripts for anything to do with LVM (like pvcreate) I get an error
> message stating:
>
> -------------- sample message --------------
> vgcreate
> lvmiopversion -- LVM driver/module not loaded?
>
> vgcreate: /lib/lvm-iop not found. Is lvm-iop installed?
> -----------------------------------------------
i'm unsure as to what it's trying to load a file from /lib, but i can
only guess it's looking for the lvm kernel module.
> And when I search the current filesystem for anything named *lvm-iop* I get
> nothing.
>
> I have added the following to /etc/modules.conf
>
> alias block-major-58 lvm-mod
> alias char-major-109 lvm-mod
>
>
>
>
> Since that didn't seem to work - I removed those RPMs and tried to download
> the latest from ftp://ftp.sistina.com/pub/LVM/1.0/ and unpacked all
> files. When I follow the instructions in the lvm-howto doc.. I run
> LVM/1.0.1-rc4/configure script, which seems to complete fine.
>
> I then cd into PATCHES and try to run 'make' and get the following error:
>
> -------------
> make
> You haven't applied the rawio patch, please see the README
> make: *** [check_rawio] Error 1
> ---------------
>
> The README file only discusses the raw_io patch if I'm using a 2.2
> kernel. But i'm currently using 2.4.9-31
>
>
> Can anyone please help me out with this? I'd like to just use the RPMs if
> possible - and the source code next if the RPMs don't work out.
>
i know that mandrake ship an LVM enabled kernel, but maybe redhat dont?
i dont use redhat, so i cant say eaitehr way. but if in doubt of such
things, it's always worth compiling your own. get a recent kernel
source tree, and get the latest LVM 1.0.3 ( at present ). IIRC when you
run make in the patches directory, it checks to see what patches have
already been applied to /usr/src/linux. and then whatever's new and
needs to be included get's built into a custom patch. which you then
apply to the source tree.
oh, and make sure you enable the kernel option for LVM support when you
recompile.
i've had a few problems getting LVM to work, and on the whole, if i'd
started with a clean kernel, + lvm patch, and LVM userspace tools it'd
have been a lot easier.
HTH,
-vince
--
PGP key: http://codex.net/pgp/pgp.asc
It matters not whether you win or lose;
what matters is whether I win or lose.
-- Darrin Weinberg
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] help with redhat install
2002-03-14 9:48 ` Vincent AE Scott
@ 2002-03-14 13:14 ` Tim
0 siblings, 0 replies; 9+ messages in thread
From: Tim @ 2002-03-14 13:14 UTC (permalink / raw)
To: linux-lvm
I prefer to do things statically when possible, but I do recall that LVM
is NOT enabled in the default RH7.2 kernel. You should upgrade to
2.4.19 or at least 2.4.9-31 (RedHat patched) anyways, for various
reasons. Use the opportunity to compile in LVM while you're at it. :-)
Quoth Vincent AE Scott:
> Ed Jackson(ej_external@bigfoot.com)@Wed, Mar 13, 2002 at 11:03:47PM -0500:
> > I'm trying to install and use LVM on my redhat - but I'm having
> > difficulties getting started.
> >
> > I've tried to download and use the binaries at ftp.msede.com:
> >
> > ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.i386.rpm
> > ftp://linux.msede.com/lvm/binaries/redhat/base/lvm-base-1.1-1.src.rpm
> >
> > and also all of the following files in:
> >
> > ftp://linux.msede.com//lvm/0.9.1_beta/binaries/redhat/
> >
> > lvm-iop10-0.9.1_beta7-1.i386.rpm
> > lvm-iop10-lib-0.9.1_beta7-1.i386.rpm
> > lvm-iop10-man-0.9.1_beta7-1.i386.rpm
> > lvm-iop10-patchgen-0.9.1_beta7-1.i386.rpm
> >
> >
> > When I install all of those RPMs with gnorpm, and try to run the wrapped
> > shell scripts for anything to do with LVM (like pvcreate) I get an error
> > message stating:
> >
> > -------------- sample message --------------
> > vgcreate
> > lvmiopversion -- LVM driver/module not loaded?
> >
> > vgcreate: /lib/lvm-iop not found. Is lvm-iop installed?
> > -----------------------------------------------
>
>
> i'm unsure as to what it's trying to load a file from /lib, but i can
> only guess it's looking for the lvm kernel module.
>
>
>
> > And when I search the current filesystem for anything named *lvm-iop* I get
> > nothing.
> >
> > I have added the following to /etc/modules.conf
> >
> > alias block-major-58 lvm-mod
> > alias char-major-109 lvm-mod
> >
> >
> >
> >
> > Since that didn't seem to work - I removed those RPMs and tried to download
> > the latest from ftp://ftp.sistina.com/pub/LVM/1.0/ and unpacked all
> > files. When I follow the instructions in the lvm-howto doc.. I run
> > LVM/1.0.1-rc4/configure script, which seems to complete fine.
> >
> > I then cd into PATCHES and try to run 'make' and get the following error:
> >
> > -------------
> > make
> > You haven't applied the rawio patch, please see the README
> > make: *** [check_rawio] Error 1
> > ---------------
> >
> > The README file only discusses the raw_io patch if I'm using a 2.2
> > kernel. But i'm currently using 2.4.9-31
> >
> >
> > Can anyone please help me out with this? I'd like to just use the RPMs if
> > possible - and the source code next if the RPMs don't work out.
> >
>
>
> i know that mandrake ship an LVM enabled kernel, but maybe redhat dont?
> i dont use redhat, so i cant say eaitehr way. but if in doubt of such
> things, it's always worth compiling your own. get a recent kernel
> source tree, and get the latest LVM 1.0.3 ( at present ). IIRC when you
> run make in the patches directory, it checks to see what patches have
> already been applied to /usr/src/linux. and then whatever's new and
> needs to be included get's built into a custom patch. which you then
> apply to the source tree.
>
> oh, and make sure you enable the kernel option for LVM support when you
> recompile.
>
> i've had a few problems getting LVM to work, and on the whole, if i'd
> started with a clean kernel, + lvm patch, and LVM userspace tools it'd
> have been a lot easier.
>
> HTH,
> -vince
>
>
> --
> PGP key: http://codex.net/pgp/pgp.asc
>
> It matters not whether you win or lose;
> what matters is whether I win or lose.
> -- Darrin Weinberg
>
>
> _______________________________________________
> 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
--
"Make it ten... I am only a poor corrupt official."
--Capt. Louis Renault, _Casablanca_
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-03-14 13:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-15 18:45 [linux-lvm] Help with redhat install Chris Bourne
2001-08-15 21:47 ` gerry
2001-08-15 22:19 ` Jason Tackaberry
2001-08-15 22:23 ` Jason Tackaberry
2001-08-18 14:23 ` Johan van den Berg
-- strict thread matches above, loose matches on Subject: below --
2002-03-13 22:04 [linux-lvm] help " Ed Jackson
2002-03-14 9:48 ` Vincent AE Scott
2002-03-14 13:14 ` Tim
[not found] <200203140409.g2E49OY06946@blok14b.gimmie.tudelft.nl>
2002-03-14 3:58 ` Denie Andriessen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.