All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Need help with LVM on RedHat 7.1
@ 2001-04-23 17:56 Medi Montaseri
  2001-04-24  1:33 ` Carlo Marcelo Arenas Belon
  0 siblings, 1 reply; 7+ messages in thread
From: Medi Montaseri @ 2001-04-23 17:56 UTC (permalink / raw)
  To: LVM

I have been holding my breath for 2.4 for so long and as I download and
install RedHat 7.1 with 2.4.2-2, I find that LVM is not by default
configured.
vgscan(1) reports no lvm.o module found.

So I get the sources and compile with RAID and LVM marked as modules.

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
# CONFIG_MD_MULTIPATH is not set
CONFIG_BLK_DEV_LVM=m

My make menuconfig; make dep; make clean; make bzImage are all fine.
Based on some docs, I was now supposed to do 'make modules'.
this part is breaking with some errors from 'drivers/md/linear.c"

Other documents say, one has to install the kernel and reboot and then
make modules.

Can someone help me with this.
Is RedHat planning to include LVM in their kernel. I don't like to have
to build kernel
for production. (just in case I have to bring one up fast as a
replacement).

Thanks

--
=======================================================================
Medi Montaseri, medi@prepass.com, 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [linux-lvm] Need help with LVM on RedHat 7.1
@ 2001-04-24 20:37 Paulo Fessel
  0 siblings, 0 replies; 7+ messages in thread
From: Paulo Fessel @ 2001-04-24 20:37 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

[-- Attachment #1: Type: text/plain, Size: 4170 bytes --]

Opposed to RAID-0 or Linear, the LVM allows you to grow both your physical
and logical storage dynamically. Without (very) alpha patches, md drivers
won't permit you to do this. Also, Mandrake 8.0 permits you to create PV's
and LV's at installation time (no / in rootvg yet, though; also, no
ext2resize installed per default nor 2.4.3-20mdk supports ext2online).
 
Also, I work on an IDC, and here we have EMC equipment. I've found that md
(at least that of kernel 2.2.18-linus) refuses to work with direct
attachment (Emulex LP8000 FCAL board), and thus it's impossible to join
multiple 50 GB volumes in one (for database storage, for example). So, I am
researching LVM to do this noble task.
 
(I know, I know, I could use QLogic that has built-in kernels and the like,
but people here hate QLogic for a number of reasons. And here in Brazil,
FCAL boards have tag prices of multiple thousand dollars.)
 
HugZ,
Paulo

Paulo Afonso Graner Fessel 
Suporte de Sistemas 
OptiGlobe Telecom, Ltda. - The Internet Lives Here 
R.Bento Branco de Andrade Filho, 621 
São Paulo, SP, 04757-000 
Brasil 
http://www.optiglobe.com.br <http://www.optiglobe.com.br/>  

Tel.:+55 11 3365-4478 
Fax:+55 11 3365-4445 
Cel.:+55 11 9198-9985 
E-mail: paulo_fessel@optiglobe.com.br 

-----Original Message-----
From: Medi Montaseri [mailto:medi@sc.prepass.com]
Sent: Tuesday, April 24, 2001 9:09 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Need help with LVM on RedHat 7.1


I appreciate your support on this... 

What is your opinion on RAID-0 or Linear vs LVM. 
In my application, I was simply trying to concatnate four 75Gig disks to
create 
one large disk for a backup server. I decided on RAID-0. 


Carlo Marcelo Arenas Belon wrote: 


> Thanks, but I usually don't use Beta on a production box and 
> also RedHat 7.1 comes with a rather old version of lvm, I think 0.8final. 

sorry, i think i didn't make myself clear. 


RedHat 7.1 DOESN'T come with lvm enabled, because the lvm that is inside 
the kernel (not RedHat's but the one from Linus) and that they ship 
(2.4.2-2) is a broken one (0.9.1beta2) 


they didn't package the lvm userland utilities neither, i guess because of 
that. 


BUT, you can make it work easily if you download the kernel module and 
userland utilities and patch your kernel as explained on sistina's 
documentation. 


i just happened to make it work this way on a Red Hat 7.1 beta system 
using the 0.9.1beta6 tar from sistina, so i think this should work on a 
Red Hat 7.1 final system. 


> But the compile errors I'm getting are two basics to have passed QA of 
> any distributor...I just recompiled again with only LVM enabled and not
RAID 
> and MD 
> and was getting syntactical errors (compile errors) leaving to belive that

> some .h 
> file is missing. 


i guess just because noone even QA this kind of configuration ;) 


> I will try the 'make mrproprer', maybe that'll fix it... 


i hope so, as the kernel should compile, after all, RedHat need to compile 
it in order to package. 


but as i explained before, having an lvm module on your kernel is just one 
step on having an lvm working system, you are going to need the lvm 
userland utilities, and the ones that match your kernel module. 


that is why i sugested to better download a new kernel module/userland and 
patch your kernel before even compiling. 


also don't forget to change your /etc/init.d/halt script as explained on 
the sistina's documentation. 


and as for running "betas" on production, don't forget that the 0.9.1lvm 
is still on beta. 


best regards, 


Carlo 


_______________________________________________ 
linux-lvm mailing list 
linux-lvm@sistina.com 
http://lists.sistina.com/mailman/listinfo/linux-lvm
<http://lists.sistina.com/mailman/listinfo/linux-lvm> 

-- 

=======================================================================

Medi Montaseri, medi@prepass.com, 408-450-7114

Prepass Inc, IT/Operations, Software Eng.

=======================================================================
  


[-- Attachment #2: Type: text/html, Size: 6263 bytes --]

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

end of thread, other threads:[~2001-04-24 20:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-23 17:56 [linux-lvm] Need help with LVM on RedHat 7.1 Medi Montaseri
2001-04-24  1:33 ` Carlo Marcelo Arenas Belon
2001-04-23 19:04   ` Medi Montaseri
2001-04-24  2:47     ` Carlo Marcelo Arenas Belon
2001-04-24 12:09       ` Medi Montaseri
2001-04-24  6:49     ` Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2001-04-24 20:37 Paulo Fessel

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.