Skip to contentSkip to conversation

vgchange with lvm_snapshot_fill_COW_page failed

linux-lvm Jeffrey van Hout - Van Boxtel Software BV 3 participants 3 messages Nov 26, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

When we changed the physical position of the harddrives we were able to mount the existing volumegroup.

When we rechanged these drives to the original position and tried to activate the volume group with vhchange -a y we got the following error:

vgchange -ay
vgchange -- ERROR "Bad address" activating volume group "lvmgroup1" .
vm -- _pv_get_number failed for rdev = 65535
lvm -- lvm_snapshot_fill_COW_page failed

(I tried:
lvscan -D
vgscan
vgchange -a y)

Do you have any suggestions?

Regards,
Jeffrey ([email protected])

#1 lore raw
Quoted 9 lines

Hi,

When we changed the physical position of the harddrives we were able to mount the existing volumegroup.

When we rechanged these drives to the original position and tried to activate the volume group with vhchange -a y we got the following error:

Quoted 5 lines

vgchange -ay
vgchange -- ERROR "Bad address" activating volume group "lvmgroup1" .
vm -- _pv_get_number failed for rdev = 65535
lvm -- lvm_snapshot_fill_COW_page failed

What version of LVM tools (and kernel-module) to you use?

Quoted 9 lines

(I tried:
lvscan -D
vgscan
vgchange -a y)

Do you have any suggestions?

Regards,
Jeffrey ([email protected])

#2 lore raw
In reply to Jeffrey van Hout - Van Boxtel Software BV
Quoted 7 lines · Jeffrey van Hout - Van Boxtel Software BV

Hi,

When we changed the physical position of the harddrives we were able to mount the existing volumegroup.

When we rechanged these drives to the original position and tried to activate the volume group with vhchange -a y we got the following error:

If you changed everything to the original io paths, that shouldn't be the case :(

Anyway: LVM1 stores the physical addresses of snapshot exceptions LVM2 is smarter ITR stroing logical addresses so that you can relocate drives to different io paths without any problems.

If you are back to your _original_ paths and don't get your VG with snapshots in up agian, you might need to run "vgscan -r" to remove the snapshots. "vgscan -r" or "vgscan -remove_snapshots" is supported in LVM1 since LVM 1.0.3.

Regards,
Heinz -- The LVM Guy --

Quoted 13 lines

vgchange -ay
vgchange -- ERROR "Bad address" activating volume group "lvmgroup1" .
vm -- _pv_get_number failed for rdev = 65535
lvm -- lvm_snapshot_fill_COW_page failed

(I tried:
lvscan -D
vgscan
vgchange -a y)

Quoted 6 lines

Do you have any suggestions?

Regards,
Jeffrey ([email protected])

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

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