Bug#315339: update to lvm2 2.02.05-1 renders striped vg unusable
Tjeerd Pinkert
t.j.pinkert at student.utwente.nl
Sat Jun 10 09:53:41 UTC 2006
Package: lvm2
Version: 2.02.05-1
Installing version 2.02.05-1 from the lvm2 package makes my striped VG
unreadable (the other vg does well), downgrading to 2.01.04-5 fixes the
problem.
I can not give you the exact outcome of the vgdisplay but it gave about
the same outcome as in the report of Igor Belyi, Tue, 28 Jun 2005
19:11:49 -0400 (this appears to be the same problem), but some other name
of the volume and other counter numbers (most probably 547 != 1094).
I would say it looked like (i can get you this but than I have to render
my system 'unusable' first):
# vgdisplay datavolume
LV backup: inconsistent LE count 547 != 1094
Internal error: LV segments corrupted in backup.
Volume group "datavolume" doesn't exist
now it says (with 2.01.04-5):
# vgdisplay datavolume
--- Volume group ---
VG Name datavolume
System ID muziekje1075727894
Format lvm1
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 1
Open LV 1
Max PV 256
Cur PV 2
Act PV 2
VG Size 34.19 GB
PE Size 32.00 MB
Total PE 1094
Alloc PE / Size 1094 / 34.19 GB
Free PE / Size 0 / 0
VG UUID elbhhh-3TS6-Qhju-ie78-13sj-rGG4-euaOEr
Attached is the /etc/lvm/backup/datavolume config file.
Tjeerd Pinkert
-------------- next part --------------
# Generated by LVM2: Fri Jun 9 20:23:34 2006
contents = "Text Format Volume Group"
version = 1
description = "Created *after* executing '/sbin/vgcfgbackup'"
creation_host = "171-248" # Linux 171-248 2.4.27-2-686 #1 Wed Nov 30 21:55:37 JST 2005 i686
creation_time = 1149877414 # Fri Jun 9 20:23:34 2006
datavolume {
id = "elbhhh-3TS6-Qhju-ie78-13sj-rGG4-euaOEr"
seqno = 0
status = ["RESIZEABLE", "READ", "WRITE"]
system_id = "muziekje1075727894"
extent_size = 65536 # 32 Megabytes
max_lv = 256
max_pv = 256
physical_volumes {
pv0 {
id = "Ush8FJ-H4LE-xbKX-0fJw-Xc4Y-56RK-4qhBiw"
device = "/dev/sdb" # Hint only
status = ["ALLOCATABLE"]
pe_start = 65920
pe_count = 547 # 17.0938 Gigabytes
}
pv1 {
id = "Xi1Ige-rycC-LUjf-NKwb-snYC-1s48-OdwCYU"
device = "/dev/sdc" # Hint only
status = ["ALLOCATABLE"]
pe_start = 65920
pe_count = 547 # 17.0938 Gigabytes
}
}
logical_volumes {
dataschijf {
id = "000000-0000-0000-0000-0000-0000-000000"
status = ["READ", "WRITE", "VISIBLE"]
allocation_policy = "normal"
read_ahead = 64
segment_count = 1
segment1 {
start_extent = 0
extent_count = 1094 # 34.1875 Gigabytes
type = "striped"
stripe_count = 2
stripe_size = 256 # 128 Kilobytes
stripes = [
"pv0", 0,
"pv1", 0
]
}
}
}
}
More information about the pkg-lvm-maintainers
mailing list