Skip to contentSkip to conversation

*** ANNOUNCEMENT *** LVM 0.9.1 beta2 available at www.sistina.com (fwd)

DISCUSSION Michael J. Declerck 4 participants 5 messages Jan 18, 2001 – Jan 19, 2001

lore
Share & tools
lore
#0 lore raw

I am posting this for Heinz Mauelshagen since he is experiencing network difficulties at this time and didn't know when he would be back on-line.

Message follows ->
------------------------------------------------------------------------------
--
Hi all,

a tarball of the Linux Logical Volume Manager 0.9.1 beta2 is available now at

<http://www.sistina.com/>

for download (Follow the "LVM download page" link).

This release fixes several bugs including the vgextend(8) related oops. See the CHANGELOG file contained in the tarball for further information.

We'ld appreciate a couple of days for test feedback before pushing a 2.4.[0|1] patch to Linus.

Please test and feed back related information to <[email protected]>.

Thanks a lot for your support of LVM.

- --

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
[email protected] +49 2626 141200

                                                       FAX 924446

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

------- End of Forwarded Message

---
Michael Declerck, [email protected] +1.510.823.7991

#1 lore raw

[linux-lvm] Migration path - 2.2.17 & LVM 0.8final -> 2.4.0 & LVM 0.9.1-b2

My current workstation is running Linux Mandrake 7.2. It has a 2.2.17 kernel patched with lvm-0.8final-2.2.16TL.patch.

Most of the system is reiserfs created on lvm devices. In fact, the only part of the system that is not reiserfs/lvm is the /boot tree as you can see:

Filesystem            Size  Used Avail Use% Mounted on
/dev/lvg01/slash      600M  268M  332M  45% /
/dev/hda1              45M  4.4M   39M  10% /boot
/dev/lvg01/home       1.0G  133M  891M  13% /home
/dev/lvg01/usr        2.0G  1.3G  752M  63% /usr
/dev/lvg01/src        700M  249M  451M  36% /usr/src
/dev/lvg01/local      1.0G  537M  487M  52% /usr/local
/dev/lvg01/var        300M  123M  177M  41% /var
/dev/lvg01/mp3        1.5G  1.4G  110M  93% /mp3
/dev/lvg01/pictures   1.0G   38M  986M   4% /pictures
/dev/lvg01/wine       1.0G   32M  992M   3% /wine

I want to migrate to the source from

	kernel-headers-2.4.0-5mdk.i586.rpm
	kernel-source-2.4.0-5mdk.i586.rpm

patched with lvm_0.9.1_beta2.tar.gz.

The problem is, I am not sure of the implementation order. i.e., should I first try to add the 0.9.1 user space tools and then the new kernel. Or, should I try to add a 0.9.1 patch to the current kernel before switching to the new 2.4.0 kernel etc...

As you can see, I am a bit confused. I would appreciate some words of guidance from anyone that has already done something similar (successfully).

Signature · 3 lines
Good Journey, longevity and prosperity to all

Les Hazelton
#2 lore raw

Re: [linux-lvm] Migration path - 2.2.17 & LVM 0.8final -> 2.4.0 & LVM

Hi,
Although not quite the same upgrade that you are doing. I have just
a good trouble free conversion to 0.9.1_beta1. From 0.8-pre02.10.1999 and Kernel 2.2.16 to 2.2.18.

First I made sure I had a separate bootable emergency partition just in casse things went badly wrong. :-)
(then I could activate the vg and put back the old tools if required.)

Next I downloaded and unpacked the 2.2.18 tarball. Same for lvm 0.9.1_beta1.

Read and follow the README in PATCH.
Built the kernel.
Installed the kernel.
Built the 0.9.1_beta1 tools.
And now for the sort of point of no return.
Installed the 0.9.1_beta1 tools.

Now you have tools that don't work withthe running kernel. :-(

Now boot the new kernel.

That didn't go clean for me. So I was droped to the shell prompt during fsck.

I just ran a vgscan it rebuilt my /etc/lvmtab and then I ran vgchange -a y the vg activated NP.

exit from the shell causes a reboot.

Boot the new kernel again and this time it comes up clean.

Note:- I only have vgchange in my rc.sysinit not vgsacn and vgchange. I seem to remember that the docs say you should have both so may be It's a good idea as my system would have started clean if I had followed that. However, I don't upgrade LVM that often so I think overall it's faster to not do the vgscan. :-)

Tom.

On Thu Jan 18 22:05:26 2001 Les Hazelton wrote:-

Quoted 47 lines

My current workstation is running Linux Mandrake 7.2. It has a 2.2.17 kernel patched with lvm-0.8final-2.2.16TL.patch.

Most of the system is reiserfs created on lvm devices. In fact, the only part of the system that is not reiserfs/lvm is the /boot tree as you can see:

Filesystem            Size  Used Avail Use% Mounted on
/dev/lvg01/slash      600M  268M  332M  45% /
/dev/hda1              45M  4.4M   39M  10% /boot
/dev/lvg01/home       1.0G  133M  891M  13% /home
/dev/lvg01/usr        2.0G  1.3G  752M  63% /usr
/dev/lvg01/src        700M  249M  451M  36% /usr/src
/dev/lvg01/local      1.0G  537M  487M  52% /usr/local
/dev/lvg01/var        300M  123M  177M  41% /var
/dev/lvg01/mp3        1.5G  1.4G  110M  93% /mp3
/dev/lvg01/pictures   1.0G   38M  986M   4% /pictures
/dev/lvg01/wine       1.0G   32M  992M   3% /wine

I want to migrate to the source from

	kernel-headers-2.4.0-5mdk.i586.rpm
	kernel-source-2.4.0-5mdk.i586.rpm

patched with lvm_0.9.1_beta2.tar.gz.

The problem is, I am not sure of the implementation order. i.e., should I first try to add the 0.9.1 user space tools and then the new kernel. Or, should I try to add a 0.9.1 patch to the current kernel before switching to the new 2.4.0 kernel etc...

As you can see, I am a bit confused. I would appreciate some words of guidance from anyone that has already done something similar (successfully).

Signature · 7 lines
Good Journey, longevity and prosperity to all

Les Hazelton
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
Signature · 4 lines
char  *r,*e,*w="%.9s%.7s%.7s\n";extern int printf(const char*,...);int main(){
int l=*w,a,b,th=*(w-~(l/=l))-*(w+l);b=*w+~th--;a=b-th;//Aviation Briefing Ltd.
r=e="  DISPLAY'tmdg@avbr';,,;'ief.com'*>"+b;l+=~b,th-=printf(w,e-a,th+e,r);
r=e="  DISPLAY'http://www.avbrief.com/' *>"-~b,exit(~l-printf(w,e+~a,th+e,r));}
#3 lore raw

Re: [linux-lvm] Migration path - 2.2.17 & LVM 0.8final -> 2.4.0 & LVM

Tom,

Thanks for the reply, and the advice about a backup kernel. I followed your example and it all went rather smoothly. There was another post suggesting I try the LVM rpm files from Connectiva and I did that at first but could not make it work. I obviously did something wrong or incompletely.

I removed those rpm packages and completed your path with the "make install" for the 0.9.1 user space tools, built the required lvmcreate_initrd file for the 2.4.0 kernel and did a reboot.

The first time there were a couple of error messages about the lvm config data being in the wrong format but the system came up anyway. I did another re-boot and this time it come up cleanly.

I have tried creating, using and removing a few test LVs and all of that appears to be working correctly.

So far, much easier than I expected. Many thanks to all.

Les

Quoted 100 lines · Tom Dawes-Gamble

Hi,
Although not quite the same upgrade that you are doing. I have just
a good trouble free conversion to 0.9.1_beta1. From 0.8-pre02.10.1999 and Kernel 2.2.16 to 2.2.18.

First I made sure I had a separate bootable emergency partition just in casse things went badly wrong. :-)
(then I could activate the vg and put back the old tools if required.)

Next I downloaded and unpacked the 2.2.18 tarball. Same for lvm 0.9.1_beta1.

Read and follow the README in PATCH.
Built the kernel.
Installed the kernel.
Built the 0.9.1_beta1 tools.
And now for the sort of point of no return.
Installed the 0.9.1_beta1 tools.

Now you have tools that don't work withthe running kernel. :-(

Now boot the new kernel.

That didn't go clean for me. So I was droped to the shell prompt during fsck.

I just ran a vgscan it rebuilt my /etc/lvmtab and then I ran vgchange -a y the vg activated NP.

exit from the shell causes a reboot.

Boot the new kernel again and this time it comes up clean.

Note:- I only have vgchange in my rc.sysinit not vgsacn and vgchange. I seem to remember that the docs say you should have both so may be It's a good idea as my system would have started clean if I had followed that. However, I don't upgrade LVM that often so I think overall it's faster to not do the vgscan. :-)

Tom.

On Thu Jan 18 22:05:26 2001 Les Hazelton wrote:-

Quoted 39 lines

My current workstation is running Linux Mandrake 7.2. It has a 2.2.17 kernel patched with lvm-0.8final-2.2.16TL.patch.

Most of the system is reiserfs created on lvm devices. In fact, the only part of the system that is not reiserfs/lvm is the /boot tree as you can see:

Filesystem            Size  Used Avail Use% Mounted on
/dev/lvg01/slash      600M  268M  332M  45% /
/dev/hda1              45M  4.4M   39M  10% /boot
/dev/lvg01/home       1.0G  133M  891M  13% /home
/dev/lvg01/usr        2.0G  1.3G  752M  63% /usr
/dev/lvg01/src        700M  249M  451M  36% /usr/src
/dev/lvg01/local      1.0G  537M  487M  52% /usr/local
/dev/lvg01/var        300M  123M  177M  41% /var
/dev/lvg01/mp3        1.5G  1.4G  110M  93% /mp3
/dev/lvg01/pictures   1.0G   38M  986M   4% /pictures
/dev/lvg01/wine       1.0G   32M  992M   3% /wine

I want to migrate to the source from

      kernel-headers-2.4.0-5mdk.i586.rpm
      kernel-source-2.4.0-5mdk.i586.rpm

patched with lvm_0.9.1_beta2.tar.gz.

The problem is, I am not sure of the implementation order. i.e., should I first try to add the 0.9.1 user space tools and then the new kernel. Or, should I try to add a 0.9.1 patch to the current kernel before switching to the new 2.4.0 kernel etc...

As you can see, I am a bit confused. I would appreciate some words of guidance from anyone that has already done something similar (successfully).

--

Quoted 8 lines

Good Journey, longevity and prosperity to all

Les Hazelton
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

--
char *r,*e,*w="%.9s%.7s%.7s\n";extern int printf(const char*,...);int main(){ int l=*w,a,b,th=*(w-~(l/=l))-*(w+l);b=*w+~th--;a=b-th;//Aviation Briefing Ltd. r=e=" DISPLAY'tmdg@avbr';,,;'ief.com'*>"+b;l+=~b,th-=printf(w,e-a,th+e,r); r=e=" DISPLAY'http://www.avbrief.com/' *>"-~b,exit(~l-printf(w,e+~a,th+e,r));}
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

Signature · 3 lines
Good Journey, longevity and prosperity to all

Les Hazelton
#4 lore raw

Re: [linux-lvm] Migration path - 2.2.17 & LVM 0.8final -> 2.4.0 & LVM 0.9.1-b2

In reply to Les Hazelton

Les, you write:

Quoted 4 lines

Most of the system is reiserfs created on lvm devices. In fact, the only part of the system that is not reiserfs/lvm is the /boot tree as you can see:

Quoted 11 lines
Filesystem            Size  Used Avail Use% Mounted on
/dev/lvg01/slash      600M  268M  332M  45% /
/dev/hda1              45M  4.4M   39M  10% /boot
/dev/lvg01/home       1.0G  133M  891M  13% /home
/dev/lvg01/usr        2.0G  1.3G  752M  63% /usr
/dev/lvg01/src        700M  249M  451M  36% /usr/src
/dev/lvg01/local      1.0G  537M  487M  52% /usr/local
/dev/lvg01/var        300M  123M  177M  41% /var
/dev/lvg01/mp3        1.5G  1.4G  110M  93% /mp3
/dev/lvg01/pictures   1.0G   38M  986M   4% /pictures
/dev/lvg01/wine       1.0G   32M  992M   3% /wine

I'm _hoping_ to get some time soon to update LILO to support the new 0.9 ioctl so that /boot can be in LVM as well.

Quoted 11 lines

I want to migrate to the source from

	kernel-headers-2.4.0-5mdk.i586.rpm
	kernel-source-2.4.0-5mdk.i586.rpm

patched with lvm_0.9.1_beta2.tar.gz.

The problem is, I am not sure of the implementation order. i.e., should I first try to add the 0.9.1 user space tools and then the new kernel. Or, should I try to add a 0.9.1 patch to the current kernel before switching to the new 2.4.0 kernel etc...

I did the upgrade from 0.8final to 0.9 relatively painlessly, by installing the Conectiva RPMs that support multiple user-tools before rebooting. This was all on a 2.2 ext2 system with far less LVM on it, however. YMMV.

The Conectiva RPMs allow you to do proper shutdown of the current system, start the new kernel and be off and running. If you ever need to reboot into the old kernel, it should also work without any changes (assuming everything else is OK). See http://distro.conectiva.com.br/experimental/

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert