Skip to contentSkip to conversation

Kernel Patch for LVm-1.0.8

linux-lvm Kumsup Lee 2 participants 2 messages Feb 20, 2004 – Feb 25, 2004

lore
Share & tools
lore

Kumsup Lee

author
#0 lore raw

Hi There,

I used to have kernel 2.8.18 with LVM-1.0.4 on my machine. After I
upgraded kernel to 2.4.22 because of security problem, I couldn't make any snapshot. So, I tried to use LVM-1.0.8 on kernel 2.4.22. Then it complains about inconsistency. Is there any LVM patch for 2.4.22+ ?

sys:/# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "mailspool"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume group "mailspool" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

sys:/#

Thanks,

Signature · 6 lines
=============================================================================
 Kumsup Lee (�̱ݼ�) 				 System/Network Manager 
 Institute for Mathematics and its Applications, University of Minnesota 
 400 Lind Hall,   207 Church Street S.E.,   Minneapolis, MN 55455   USA
 Tel : 612-624-4353	FAX : 612-626-7370	PAGE : 952-608-0112
 [email protected]	www.ima.umn.edu/~klee
#1 lore raw

Kumsup,

you can use actual 2.4 kernels fine with the LVM 1.0.8 tools. Your problem seems to be related to on-disk metadata.

Can you see all Physical Volumes fine with pvscan ? What does vgck display ?

Quoted 34 lines · Kumsup Lee

Hi There,

I used to have kernel 2.8.18 with LVM-1.0.4 on my machine. After I
upgraded kernel to 2.4.22 because of security problem, I couldn't make any snapshot. So, I tried to use LVM-1.0.8 on kernel 2.4.22. Then it complains about inconsistency. Is there any LVM patch for 2.4.22+ ?

sys:/# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "mailspool"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume group "mailspool" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

sys:/#

Thanks,

Signature · 12 lines
=============================================================================
 Kumsup Lee (À̱݌·) 				 System/Network Manager 
 Institute for Mathematics and its Applications, University of Minnesota 
 400 Lind Hall,   207 Church Street S.E.,   Minneapolis, MN 55455   USA
 Tel : 612-624-4353	FAX : 612-626-7370	PAGE : 952-608-0112
 [email protected]	www.ima.umn.edu/~klee

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

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

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-