[linux-lvm] lvm 0.8 to 1.0 transition?

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Feb 27 03:27:01 UTC 2002


On Tue, Feb 26, 2002 at 06:45:31PM +0100, Friedrich Lobenstock wrote:
> Anything special I have to take care if I make a transition from
> lvm 0.8 to lvm 1.0? 
> 
> Otherwise I would do the same as described in
> http://www.sistina.com/lvm_howtos/lvm_howto/Moving_a_volume_group_to_.html

In case you just want to update your LVM software, you don't need to
vgexport/vgimport your VGs as described under that URL.

Presuming that you took backups of your data and metadata (/etc/lvmconf/*)
and don't have root on a LV, you just need to install the new LVM software
(take LVM 1.0.3!), and run "vgscan;vgchange -ay" after the successfull
installation and reboot. "vgscan;vgchange -ay" is probably in your system
startup script anyway.

To be save, you could copy your LVM 0.8 software to /sbin/lvm-0.8 (tools) and
/lib/lvm-0.8 (library) respectively. Make your LVM 0.8 capable kernel
bootable too.

With these preperations, you still can boot into single user for LVM 0.8
recovery in case something goes wrong.

> 
> 
> -- 
> MfG / Regards
> Friedrich Lobenstock
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at 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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list