Skip to contentSkip to conversation

How to upgrade old LVM version.

linux-lvm Dick Middleton 2 participants 2 messages Sep 6, 2002 – Sep 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently running LVM 0.9.1_beta6 on Debian 2.2 with kernel
2.2.19 and have been trying
for some time to upgrade to something more recent.

Whenever I try this I find that vgscan from any newer version of LVM hangs (without
error messages) - I'm forced to reboot. The only evidence I can find is if I run pvscan. This reports "different structure size".

I currently have all my filesystem including root running on LVM on top of software RAID so it's a fairly delicate business mucking about with this. I'm looking for a way to fix the problem other than decanting everything to tape and starting from scratch again.

I do have a separate bootable disc with 2.4 kernel and LVM 1.0 which I can use as a stepping stone but so far this too hangs as soon as vgscan is run.

Any advice would be appreciated.

Dick

#1 lore raw
Quoted 11 lines · Dick Middleton

Hi,

I'm currently running LVM 0.9.1_beta6 on Debian 2.2 with kernel
2.2.19 and have been trying
for some time to upgrade to something more recent.

Whenever I try this I find that vgscan from any newer version of LVM hangs (without
error messages) - I'm forced to reboot. The only evidence I can find is if I run pvscan.
This reports "different structure size".

vgscan coming with a newer LVM version should scan your disks fine. Tha fact that it hangs could refer to an empty CDROM or the like scanned and a large timeout involved.

Running "vgscan -d" should find the relevant 'candidate'. If so, temporarily inserting a valid CD or removing the /dev/ entry could help it.

Quoted 23 lines

I currently have all my filesystem including root running on LVM on top of software RAID so
it's a fairly delicate business mucking about with this. I'm looking for a way to fix the problem
other than decanting everything to tape and starting from scratch again.

I do have a separate bootable disc with 2.4 kernel and LVM 1.0 which I can use as a stepping
stone but so far this too hangs as soon as vgscan is run.

Any advice would be appreciated.

Dick

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-