linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Preserving LVs
@ 1999-12-30 13:06 Holger Rauch
  2000-01-01 18:13 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Rauch @ 1999-12-30 13:06 UTC (permalink / raw)
  To: linux-lvm

Hi!

How can I preserve existing LVs (such as the ones used for the
"/usr/local" and "/home" fs) over new installations? Sure, the kernel
resides in "/boot", so I can keep that as well, but all the user mode
tools are gone.
From time to time it's just necessary to do a complete installation from
scratch to keep track with the latest Linux distributions (the "update"
function doesn't always work), and I don't want to run into problems
later. That's why I'm asking this question here.

Any help is greatly appreciated!

Happy New Year!

Greetings,

	Holger

=========================================
Holger Rauch
HEITEC GmbH
Schuhstrasse 30
91052 Erlangen
Germany

Tel.: 09131 / 877 - 273
Fax: 09131 / 877 - 222
Email: Holger.Rauch@datech.heitec.de
=========================================

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

* Re: [linux-lvm] Preserving LVs
  1999-12-30 13:06 [linux-lvm] Preserving LVs Holger Rauch
@ 2000-01-01 18:13 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2000-01-01 18:13 UTC (permalink / raw)
  To: Holger.Rauch; +Cc: linux-lvm, mge


Hapy new year Holger.

> Hi!
> 
> How can I preserve existing LVs (such as the ones used for the
> "/usr/local" and "/home" fs) over new installations?


If you don't touch the disks/partitions where the physical volumes forming
the volume group containing your logical volumes reside, just do
a vgscan after upgrading/reinstalling Linux (including LVM).

It just searches the disks to find all physical volumes, rebuilds the working
VGDA (Volume Group Descriptor Area) file in /etc/lvmtab.d/ and reinserts
the voulume grouo name in /etc/lvmtab.
"vgchange -ay" afterwards activates the VG(s) to
access the "/usr/local" etc. LVs.

> Sure, the kernel
> resides in "/boot", so I can keep that as well, but all the user mode
> tools are gone.
> >From time to time it's just necessary to do a complete installation from
> scratch to keep track with the latest Linux distributions (the "update"
> function doesn't always work), and I don't want to run into problems
> later. That's why I'm asking this question here.
> 

Hope the above information covers what you are searching for 8*)

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

end of thread, other threads:[~2000-01-01 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-30 13:06 [linux-lvm] Preserving LVs Holger Rauch
2000-01-01 18:13 ` Heinz Mauelshagen

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