Skip to contentSkip to conversation

pb with activating VG after rebooting

linux-lvm Julien Baboud 2 participants 2 messages Jun 28, 2001

lore
Share & tools
lore
#0 lore raw

in the world of bugs&errors:
i've obtained the following msg at kernel booting and with the vgscan command :

%vgscan
vgscan -- reading all physical volumes (this may take a while...) vgscan -- found active volume group "vg1"
vgscan -- found inactive volume group "vg2"
vgscan -- found inactive volume group "vg3"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created vgscan -- WARNING: This program does not do a VGDA backup of your volume groups

and when i try to activate the inactive VGs, i get this :

%vgchange -a y vg2
vgchange -- ERROR "parameter error" setting up snapshot copy on write exception table for "/dev/vg2/lv2_1_snap"

%vgchange -a y vg3
vgchange -- ERROR "parameter error" setting up snapshot copy on write exception table for "/dev/vg3/lv3_1_snap"

what is the matter since the same operations have been doing on the 3 VG (except that the 3rd VG was extended...) ?
and how to repare this ?

julien4atix

#1 lore raw

Julien,

you didn't mention the LVM version you are using.

I assume, you are going with LVM 0.9.1 Beta 7 which can cause that problem. We are working on a fix right now (likely available in a couple of days :-()

What you could do in the meantime as a try to help you:
- dd the first megabyte of every PV to a save place (in order to recover)
- restore a backup metadata file with vgcfgrestore(8) which doesn't include the change for the added PV
- vgscan;vgchange -ay

Sorry for the incenvenience.

Regards,
Heinz -- The LVM Guy --

Quoted 27 lines · Julien Baboud

in the world of bugs&errors:
i've obtained the following msg at kernel booting and with the vgscan command :

%vgscan
vgscan -- reading all physical volumes (this may take a while...) vgscan -- found active volume group "vg1"
vgscan -- found inactive volume group "vg2"
vgscan -- found inactive volume group "vg3"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created vgscan -- WARNING: This program does not do a VGDA backup of your volume groups

and when i try to activate the inactive VGs, i get this :

%vgchange -a y vg2
vgchange -- ERROR "parameter error" setting up snapshot copy on write exception table for "/dev/vg2/lv2_1_snap"

%vgchange -a y vg3
vgchange -- ERROR "parameter error" setting up snapshot copy on write exception table for "/dev/vg3/lv3_1_snap"

what is the matter since the same operations have been doing on the 3 VG (except that the 3rd VG was extended...) ?
and how to repare this ?

Quoted 6 lines

julien4atix
_______________________________________________
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

*** 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

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