[linux-lvm] pvversion failure

James Pattinson jamesp at foobarhouse.com
Wed Jul 25 15:14:40 UTC 2001


Hi

Trying to upgrade from beta7 to beta8. I have 2 PVs, neither of which are
empty, that belong to a single VG, vg00.

When trying to upgrade the PVs to version 2, I get:

./pvversion -1 /dev/ide/host2/bus0/target0/lun0/part1
pvversion -- created dummy LV "/dev/vg00/pvversionpart19519" on empty PV
"/dev/ide/host2/bus0/target0/lun0/part1"
pvversion -- ERROR: pv_display() failed again
pvversion -- giving up on "/dev/ide/host2/bus0/target0/lun0/part1"

[root at greebo tools]# lvmdiskscan | grep LVM
lvmdiskscan -- /dev/ide/host2/bus0/target0/lun0/part1  [      16.02 GB]
Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/ide/host2/bus1/target0/lun0/part1  [      16.02 GB]
Primary  LVM partition [0x8E]
lvmdiskscan -- 2 LVM physical volume partitions
[root at greebo tools]#

It seems the pvversion program thinks my PV is empty, and tries to create
a dummy LV on it. But of course it's not empty.

I created my PVs, VG and LVs using beta7 kernel and tools not too long
ago. Im using devfs as you can see.

Any ideas?

James




More information about the linux-lvm mailing list