All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] question about lvm
@ 1999-09-02 14:42 Andrew Sutton
  1999-09-02 16:26 ` Heinz Mauelshagen
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Sutton @ 1999-09-02 14:42 UTC (permalink / raw)
  To: linux-lvm

i'm not really certain if this is the appropriate place to air a 
question about lvm problems, but since i couldn't find any other 
documented support - i figured i'd just go to the source.

i'm fairly new at using lvm (yesterday) so this is probably just a 
newbie question... anyway, i installed lvm, rebuilt my kernel (with lvm
in the kernel), compiled the utilities, the whole thing. i then 
proceeded to drop 2 pv's into a volume group (vda) and allocate one 
logical volume (lvol1) consisting of all my disk space. and it worked 
(at which point i was ecstatic). so i built an ext2fs on the lv and 
mounted it, and again it worked fine. i then put a line in my fstab to 
mount it on boot, and rebooted.

when the machine came back up, the drive was not mounted. when i tried 
mounting it by hand, i kept getting a "/dev/vda/lvol1 is not a valid 
block driver" error. using some of the lvm utils, i uncovered the fact 
that the entire volume group was "inactive".

i'm not entirely certain what went wrong or where, but i couldn't find 
any documentation about this particular problem. does anybody have any 
idea where i might have gone wrong?

thanks in advance,

-------------------
Andrew Sutton
	ansutton@sep.com

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

* Re: [linux-lvm] question about lvm
  1999-09-02 14:42 [linux-lvm] question about lvm Andrew Sutton
@ 1999-09-02 16:26 ` Heinz Mauelshagen
  0 siblings, 0 replies; 9+ messages in thread
From: Heinz Mauelshagen @ 1999-09-02 16:26 UTC (permalink / raw)
  To: Andrew Sutton; +Cc: mge, linux-lvm

> 
> i'm not really certain if this is the appropriate place to air a 
> question about lvm problems, but since i couldn't find any other 
> documented support - i figured i'd just go to the source.
> 
> i'm fairly new at using lvm (yesterday) so this is probably just a 
> newbie question... anyway, i installed lvm, rebuilt my kernel (with lvm
> in the kernel), compiled the utilities, the whole thing. i then 
> proceeded to drop 2 pv's into a volume group (vda) and allocate one 
> logical volume (lvol1) consisting of all my disk space. and it worked 
> (at which point i was ecstatic). so i built an ext2fs on the lv and 
> mounted it, and again it worked fine. i then put a line in my fstab to 
> mount it on boot, and rebooted.
> 
> when the machine came back up, the drive was not mounted. when i tried 
> mounting it by hand, i kept getting a "/dev/vda/lvol1 is not a valid 
> block driver" error. using some of the lvm utils, i uncovered the fact 
> that the entire volume group was "inactive".

you have to insert a "vgscan" and a "vgchange -ay" into your 
startup files (see step 9 in file INSTALL in the LVM source top directory)

> 
> i'm not entirely certain what went wrong or where, but i couldn't find 
> any documentation about this particular problem. does anybody have any 
> idea where i might have gone wrong?
> 

Regards,
Heinz

--

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

Systemmanagement CS-TS                           T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge@ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* [linux-lvm] Question about LVM
@ 2001-05-08  1:29 이홍석
  2001-05-08  9:36 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 9+ messages in thread
From: 이홍석 @ 2001-05-08  1:29 UTC (permalink / raw)
  To: Linux-LVM

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2485 bytes --]

HI! Heinz Manelshagen

I am hongseok Lee.
I am a student working on sungkyunkwan Univ. in korea.
I tried to construct Logical Volume Management (LVM) in my PC,
 but I don't know how I can't do anymore.

First I pactched Linux-version 2.4.0 and uploaded LVM 0.9.1-Beta5.
It is successfully.
So I maked 3 Physical volume. (/dev/hdb1, /dev/hdb2, /dev/hdb3)
And I tried to make VG, But it is not available.
I think PV's state are inactive is primary problem.
Therfore I can't do any progress.
How can I change this PV state is active and VG state is available?
Plz, check next text result and give me some advice.
I red LVM HOWTO. But there is no describe this problem.

- RESULT

pvscan.txt
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdb1" of VG "group1" [3.84 GB / 3.84 GB free]
pvscan -- inactive PV "/dev/hdb2" of VG "group1" [3.84 GB / 3.84 GB free]
pvscan -- inactive PV "/dev/hdb3" of VG "group1" [5.03 GB / 5.03 GB free]
pvscan -- total: 3 [12.72 GB] / in use: 3 [12.72 GB] / in no VG: 0 [0]


pvdisplay_hdb1.txt
--- Physical volume ---
PV Name               /dev/hdb1
VG Name               group1
PV Size               3.85 GB / NOT usable 1.47 MB [LVM: 124 KB]
PV#                   1
PV Status             NOT available
Allocatable           yes
Cur LV                0
PE Size (KByte)       4096
Total PE              984
Free PE               984
Allocated PE          0
PV UUID               FSebAC-CooV-3wl2-bAcm-k17y-vUFD-zbByTu


vgscan.txt
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "group1"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group


vgdisplay.txt
--- Volume group ---
VG Name               group1
VG Access             read/write
VG Status             NOT available/resizable
VG #                  0
MAX LV                256
Cur LV                0
Open LV               0
MAX LV Size           255.99 GB
Max PV                256
Cur PV                3
Act PV                3
VG Size               12.72 GB
PE Size               4 MB
Total PE              3256
Alloc PE / Size       0 / 0
Free  PE / Size       3256 / 12.72 GB
VG UUID               3i0sjU-p0iT-azB5-FKeI-lNss-AB6G-uDmolp






-------------------------------------------------
DreamWiz Free Mail @ http://www.dreamwiz.com/
DreamSearch Click the world!!! http://search.dreamwiz.com/


[-- Attachment #2: Type: TEXT/HTML, Size: 3840 bytes --]

<HTML>
<BODY>

<BR>HI! Heinz Manelshagen
<BR>
<BR>I am hongseok Lee.
<BR>I am a student working on sungkyunkwan Univ. in korea.
<BR>I tried to construct Logical Volume Management (LVM) in my PC,
<BR>&nbsp;but I don't know how I can't do anymore.
<BR>
<BR>First I pactched Linux-version 2.4.0 and uploaded LVM 0.9.1-Beta5.
<BR>It is successfully.
<BR>So I maked 3 Physical volume. (/dev/hdb1, /dev/hdb2, /dev/hdb3)
<BR>And I tried to make VG, But it is not available.
<BR>I think PV's state are inactive is primary problem.
<BR>Therfore I can't do any progress.
<BR>How can I change this PV state is active and VG state is available?
<BR>Plz, check next text result and give me some advice.
<BR>I red LVM HOWTO. But there is no describe this problem.
<BR>
<BR>- RESULT
<BR>
<BR>pvscan.txt
<BR>pvscan -- reading all physical volumes (this may take a while...)
<BR>pvscan -- inactive PV "/dev/hdb1" of VG "group1" [3.84 GB / 3.84 GB free]
<BR>pvscan -- inactive PV "/dev/hdb2" of VG "group1" [3.84 GB / 3.84 GB free]
<BR>pvscan -- inactive PV "/dev/hdb3" of VG "group1" [5.03 GB / 5.03 GB free]
<BR>pvscan -- total: 3 [12.72 GB] / in use: 3 [12.72 GB] / in no VG: 0 [0]
<BR>
<BR>
<BR>pvdisplay_hdb1.txt
<BR>--- Physical volume ---
<BR>PV Name               /dev/hdb1
<BR>VG Name               group1
<BR>PV Size               3.85 GB / NOT usable 1.47 MB [LVM: 124 KB]
<BR>PV#                   1
<BR>PV Status             NOT available
<BR>Allocatable           yes
<BR>Cur LV                0
<BR>PE Size (KByte)       4096
<BR>Total PE              984
<BR>Free PE               984
<BR>Allocated PE          0
<BR>PV UUID               FSebAC-CooV-3wl2-bAcm-k17y-vUFD-zbByTu
<BR>
<BR>
<BR>vgscan.txt
<BR>vgscan -- reading all physical volumes (this may take a while...)
<BR>vgscan -- found inactive volume group "group1"
<BR>vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
<BR>vgscan -- WARNING: This program does not do a VGDA backup of your volume group
<BR>
<BR>
<BR>vgdisplay.txt
<BR>--- Volume group ---
<BR>VG Name               group1
<BR>VG Access             read/write
<BR>VG Status             NOT available/resizable
<BR>VG #                  0
<BR>MAX LV                256
<BR>Cur LV                0
<BR>Open LV               0
<BR>MAX LV Size           255.99 GB
<BR>Max PV                256
<BR>Cur PV                3
<BR>Act PV                3
<BR>VG Size               12.72 GB
<BR>PE Size               4 MB
<BR>Total PE              3256
<BR>Alloc PE / Size       0 / 0
<BR>Free  PE / Size       3256 / 12.72 GB
<BR>VG UUID               3i0sjU-p0iT-azB5-FKeI-lNss-AB6G-uDmolp
<BR>
<BR>
<BR>
<BR>
<BR></BODY>
</HTML>

<BR>

<BR>
<BR>

<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img SRC="http://mail.dreamwiz.com/juspeace/cgi-bin/receive_check.cgi?mailbox=Sent&uid_validity=00000000000953128345&uid=00000000000000000072,X00000&key=31f80147f77639b082b0be3fbf617f2f" BORDER="0"></a> <FONT SIZE=2><B>Your life on the net</FONT></B><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=7 border="0"><br>
<span style="font-size: 8pt;">
DreamWiz Free Mail @ <a href="http://www.dreamwiz.com/" TARGET=_blank>http://www.dreamwiz.com/</a><br>
DreamSearch Click the world!!! &nbsp;<a href="http://search.dreamwiz.com/" TARGET=_blank>http://search.dreamwiz.com/</a></span>
<br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=8 border="0"><br>
<IMG SRC="http://i.dreamwiz.com/dw/ko/ma/pluscon.gif" width=491 HEIGHT=12 BORDER=0 usemap="#plus"> 
<map name="plus">
  <area shape="rect" coords="396,0,490,11" href="http://www.dreamwiz.com/is/backicon.htm" target=_top>
  <area shape="rect" coords="268,1,389,11" href="http://www.dreamwiz.com/is/dreamstart.htm" target=_top>
  <area shape="rect" coords="1,1,264,11" href="http://www.dreamwiz.com/gn/main.htm" target=_top>
</map>


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

* Re: [linux-lvm] Question about LVM
  2001-05-08  1:29 [linux-lvm] Question about LVM 이홍석
@ 2001-05-08  9:36 ` Heinz J. Mauelshagen
  0 siblings, 0 replies; 9+ messages in thread
From: Heinz J. Mauelshagen @ 2001-05-08  9:36 UTC (permalink / raw)
  To: linux-lvm

On Tue, May 08, 2001 at 10:29:06AM +0900, ��ȫ�� wrote:
> HI! Heinz Manelshagen
> 
> I am hongseok Lee.
> I am a student working on sungkyunkwan Univ. in korea.
> I tried to construct Logical Volume Management (LVM) in my PC,
>  but I don't know how I can't do anymore.
> 

Hi,

the output shows that you were able to create a volume group.

It looks like you don't have the LVM driver set up properly though
which is necessary to activate your volume group in order to proceed
and make logical volumes.


Did you follow the instructions in PATCHES/README contained in the LVM
tarball to patch your kernel and build the driver?

Did you activate the LVM driver in the kernel configuration?

It doesn't matter in principle if you choose driver or module during
kernel configuration.

If you choosed module: did you load the module or configured the module
                       loader to do it?


BTW: I recommend that you get the actual LVM software 0.9.1 Beta 7 from
     www.sistina.com/lvm before you retry, because it fixes some bugs
     you otherwise would still have with 0.9.1 Beta 5.

Regards,
Heinz    -- The LVM Guy --


> First I pactched Linux-version 2.4.0 and uploaded LVM 0.9.1-Beta5.
> It is successfully.
> So I maked 3 Physical volume. (/dev/hdb1, /dev/hdb2, /dev/hdb3)
> And I tried to make VG, But it is not available.
> I think PV's state are inactive is primary problem.
> Therfore I can't do any progress.
> How can I change this PV state is active and VG state is available?
> Plz, check next text result and give me some advice.
> I red LVM HOWTO. But there is no describe this problem.
> 
> - RESULT
> 
> pvscan.txt
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/hdb1" of VG "group1" [3.84 GB / 3.84 GB free]
> pvscan -- inactive PV "/dev/hdb2" of VG "group1" [3.84 GB / 3.84 GB free]
> pvscan -- inactive PV "/dev/hdb3" of VG "group1" [5.03 GB / 5.03 GB free]
> pvscan -- total: 3 [12.72 GB] / in use: 3 [12.72 GB] / in no VG: 0 [0]
> 
> 
> pvdisplay_hdb1.txt
> --- Physical volume ---
> PV Name               /dev/hdb1
> VG Name               group1
> PV Size               3.85 GB / NOT usable 1.47 MB [LVM: 124 KB]
> PV#                   1
> PV Status             NOT available
> Allocatable           yes
> Cur LV                0
> PE Size (KByte)       4096
> Total PE              984
> Free PE               984
> Allocated PE          0
> PV UUID               FSebAC-CooV-3wl2-bAcm-k17y-vUFD-zbByTu
> 
> 
> vgscan.txt
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "group1"
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume group
> 
> 
> vgdisplay.txt
> --- Volume group ---
> VG Name               group1
> VG Access             read/write
> VG Status             NOT available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                0
> Open LV               0
> MAX LV Size           255.99 GB
> Max PV                256
> Cur PV                3
> Act PV                3
> VG Size               12.72 GB
> PE Size               4 MB
> Total PE              3256
> Alloc PE / Size       0 / 0
> Free  PE / Size       3256 / 12.72 GB
> VG UUID               3i0sjU-p0iT-azB5-FKeI-lNss-AB6G-uDmolp
> 
> 
> 
> 
> 
> 
> -------------------------------------------------
> DreamWiz Free Mail @ http://www.dreamwiz.com/
> DreamSearch Click the world!!! http://search.dreamwiz.com/
> 


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

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] 9+ messages in thread

* [linux-lvm] Question about LVM
@ 2001-07-11 12:43 fox
  2001-07-11 13:06 ` Heinz J. Mauelshagen
  2001-07-11 15:15 ` Steven Lembark
  0 siblings, 2 replies; 9+ messages in thread
From: fox @ 2001-07-11 12:43 UTC (permalink / raw)
  To: linux-lvm

Hi;

I ran into this issue with AIX lvm.  A hard drive died and the IBM
hardware monkeys removed the drive before mirroring could be broken
(removing lv copies down to one, and reducing the volume group by the one
dead drive)

However, because the drive had been removed before this could be done, the
VGDA still had the old PVID of the old hdisk and would not let me remove
it by the cannonical hdisk name.  The eventual solution was to run the
rmlvcopy command and reducevg command with the PVID instead of the
cannonical hdisk name.  There is no such command as rmlvcopy (or anything
related as far as I can tell with Linux) but the reducevg is the same as
vgreduce.  I am wondering if it's possible for a PV to be removed from the
VG in such a way that the PV path (device name?) no longer exists in the
system and thus, you wouldn't be able to do a vgreduce with the PV path
(device name?)  In this case, is it possible to run the vgreduce command
with the PVID of the removed drive?  Or does the Linux LVM handle this
automagically?  Is this even a possible case under Linux?  I have to admit
I'm still new to the Linux LVM after having worked with AIX LVM for years
now.

Thanks,

Tren.

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

* Re: [linux-lvm] Question about LVM
  2001-07-11 12:43 [linux-lvm] Question about LVM fox
@ 2001-07-11 13:06 ` Heinz J. Mauelshagen
  2001-07-11 15:15 ` Steven Lembark
  1 sibling, 0 replies; 9+ messages in thread
From: Heinz J. Mauelshagen @ 2001-07-11 13:06 UTC (permalink / raw)
  To: linux-lvm

On Wed, Jul 11, 2001 at 06:43:09AM -0600, fox@theendoftime.net wrote:
> Hi;
> 
> I ran into this issue with AIX lvm.  A hard drive died and the IBM
> hardware monkeys removed the drive before mirroring could be broken
> (removing lv copies down to one, and reducing the volume group by the one
> dead drive)

Tren,

Linux LVM doesn't support mirroring so far.
Therefore the AIX case you faced is not possible today.

You can achive mirroring by using Multiple Devices as PVs or hardware
raid systems.


> 
> However, because the drive had been removed before this could be done, the
> VGDA still had the old PVID of the old hdisk and would not let me remove
> it by the cannonical hdisk name.  The eventual solution was to run the
> rmlvcopy command and reducevg command with the PVID instead of the
> cannonical hdisk name.  There is no such command as rmlvcopy (or anything
> related as far as I can tell with Linux) but the reducevg is the same as
> vgreduce.  I am wondering if it's possible for a PV to be removed from the
> VG in such a way that the PV path (device name?) no longer exists in the
> system and thus, you wouldn't be able to do a vgreduce with the PV path
> (device name?)
> In this case, is it possible to run the vgreduce command
> with the PVID of the removed drive?

vgreduce accesses the *empty* PV to be reduced from some VG by device node.
In case it doesn't exist -> mknod it again.

> Or does the Linux LVM handle this
> automagically?  Is this even a possible case under Linux?  I have to admit
> I'm still new to the Linux LVM after having worked with AIX LVM for years
> now.

It's not a big deal with Linux LVM. As mentioned, the PV needs to be empty
in order to remove it from a VG. If the device node doesn't exist when trying
vgreduce, the admin probably has removed it by accident.

> 
> Thanks,
> 
> Tren.
> 
> _______________________________________________
> 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] 9+ messages in thread

* Re: [linux-lvm] Question about LVM
  2001-07-11 12:43 [linux-lvm] Question about LVM fox
  2001-07-11 13:06 ` Heinz J. Mauelshagen
@ 2001-07-11 15:15 ` Steven Lembark
  1 sibling, 0 replies; 9+ messages in thread
From: Steven Lembark @ 2001-07-11 15:15 UTC (permalink / raw)
  To: linux-lvm

- fox@theendoftime.net on 07/11/01 06:43:09 -0600:

> Hi;
> 
> I ran into this issue with AIX lvm.  A hard drive died and the IBM
> hardware monkeys removed the drive before mirroring could be broken
> (removing lv copies down to one, and reducing the volume group by the one
> dead drive)
> 
> However, because the drive had been removed before this could be done, the
> VGDA still had the old PVID of the old hdisk and would not let me remove
> it by the cannonical hdisk name.  The eventual solution was to run the
> rmlvcopy command and reducevg command with the PVID instead of the
> cannonical hdisk name.  There is no such command as rmlvcopy (or anything
> related as far as I can tell with Linux) but the reducevg is the same as
> vgreduce.  I am wondering if it's possible for a PV to be removed from the
> VG in such a way that the PV path (device name?) no longer exists in the
> system and thus, you wouldn't be able to do a vgreduce with the PV path
> (device name?)  In this case, is it possible to run the vgreduce command
> with the PVID of the removed drive?  Or does the Linux LVM handle this
> automagically?  Is this even a possible case under Linux?  I have to admit
> I'm still new to the Linux LVM after having worked with AIX LVM for years
> now.

Usual fix for this is to export the VG and re-import it w/
the required PV's.  At that point your VG comes back with 
a legit set of disks.  Then you can vgextent onto the new
device.

sl

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

* [linux-lvm] Question about lvm
@ 2003-07-29 15:42 tv fw
  2003-07-30  5:49 ` Paul Furness
  0 siblings, 1 reply; 9+ messages in thread
From: tv fw @ 2003-07-29 15:42 UTC (permalink / raw)
  To: linux-lvm

I want to install LVM together with Redhat 7.3

I tried invain to read the manual but didn't figure out how to careate the 
logican and phisical
drives if you don't have a system running (the disks have red hat installed 
on them so
all the changes to the partitutions are deleting data)

is the only way to install lvm is to install redhat and then change root 
file system to lvm system
It looked scary and complicated in the lvm-howto??

Is there a more user friendly man pages (the lvm-howto assumes that a person 
knows
all about linux commands formating and all)
I am kind of new to that?????

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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

* Re: [linux-lvm] Question about lvm
  2003-07-29 15:42 [linux-lvm] Question about lvm tv fw
@ 2003-07-30  5:49 ` Paul Furness
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Furness @ 2003-07-30  5:49 UTC (permalink / raw)
  To: linux-lvm

Hi.

I'm no expert on lvm, but I am using it for my main file servers. They
are all running RedHat 7.3, and it was really easy to set up.

Are you sure you actually want to put the root f/s on an lvm partition?
I haven't done that, because I don't honestly see the point.

I installed the system (RH7.3 out of the box) and then added all the
updates and patches issues by Red Hat to it to bring it up to date. I
didn't add any lvm stuff at this point.

I then installed the 2.4.20 kernel sources (because at the time, Red Hat
only released up to 2.4.18, and it didn't have LVM included in it), and
compiled that with lvm switched on. Compiling the kernel is actually
really easy, nowadays. IT used to be confusing, but there's a nice GUI
version of the config program that lets you take as long as you want to
pick the options that you need. Also, if you are using Grub as your boot
loader (the default with RH7.3) then it's really easy to install your
newly compiled kernel and add it to the boot menu so that you can test
it easily.


After doing all that, I created physical volumes and groups which I am
using for all the data I wanted to store, however I have not changed the
root file system at all - this is still a normal, ext3 partition on the
first hard disk. All my lvm volumes are on other disks or partitions.

That way, if anything goes wrong with LVM, it won't stop the system
booting and therefore I will still be able to fix it. It also makes
upgrading the system / kernel much easier - I don't need to mess around
with initrd to make the system boot.


Hope all this helps you work out what exactly you want to do... :)

Paul.

On Tue, 2003-07-29 at 21:41, tv fw wrote:
> I want to install LVM together with Redhat 7.3
> 
> I tried invain to read the manual but didn't figure out how to careate the 
> logican and phisical
> drives if you don't have a system running (the disks have red hat installed 
> on them so
> all the changes to the partitutions are deleting data)
> 
> is the only way to install lvm is to install redhat and then change root 
> file system to lvm system
> It looked scary and complicated in the lvm-howto??
> 
> Is there a more user friendly man pages (the lvm-howto assumes that a person 
> knows
> all about linux commands formating and all)
> I am kind of new to that?????
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

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

end of thread, other threads:[~2003-07-30  5:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 12:43 [linux-lvm] Question about LVM fox
2001-07-11 13:06 ` Heinz J. Mauelshagen
2001-07-11 15:15 ` Steven Lembark
  -- strict thread matches above, loose matches on Subject: below --
2003-07-29 15:42 [linux-lvm] Question about lvm tv fw
2003-07-30  5:49 ` Paul Furness
2001-05-08  1:29 [linux-lvm] Question about LVM 이홍석
2001-05-08  9:36 ` Heinz J. Mauelshagen
1999-09-02 14:42 [linux-lvm] question about lvm Andrew Sutton
1999-09-02 16:26 ` Heinz Mauelshagen

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.