pvmove rendered VG broken
Andre Tomt
andre at tomt.net
Wed Jun 28 20:49:27 UTC 2006
Hi
Per waldi's request, here is the metadata for the broken VG. It failed
on pvmove with "unrecognised sync argument to mirror log: 2" then spewed
a ton of different errors afterwards. Same happens on activation after
reboot.
-------------- next part --------------
# Generated by LVM2: Wed Jun 28 21:48:49 2006
contents = "Text Format Volume Group"
version = 1
description = "Created *after* executing 'pvmove /dev/md2 /dev/md3'"
creation_host = "pelle" # Linux pelle 2.6.17-1-vs-exp #1 SMP Mon Jun 26 21:53:24 UTC 2006 x86_64
creation_time = 1151524129 # Wed Jun 28 21:48:49 2006
main {
id = "9AFNtE-MA3w-ZgGp-sGeN-9hsG-2zx9-Y7BcET"
seqno = 23
status = ["RESIZEABLE", "READ", "WRITE"]
extent_size = 8192 # 4 Megabytes
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "03KvNo-epoc-n5Gg-XQnc-3gcj-9oxT-lbiEaa"
device = "/dev/md1" # Hint only
status = ["ALLOCATABLE"]
pe_start = 384
pe_count = 119196 # 465.609 Gigabytes
}
pv1 {
id = "LTU5D8-t5Ao-aZ8q-ASsE-ytXR-hmkl-WtnJSI"
device = "/dev/md2" # Hint only
status = ["ALLOCATABLE"]
pe_start = 384
pe_count = 76308 # 298.078 Gigabytes
}
pv2 {
id = "DKF3YI-s7Dh-venU-uh60-VN3j-n3Ww-50GVQh"
device = "/dev/md3" # Hint only
status = ["ALLOCATABLE"]
pe_start = 384
pe_count = 225272 # 879.969 Gigabytes
}
}
logical_volumes {
swap {
id = "IyHlvt-eXj1-6574-w699-yeQo-Tg4T-WGQu72"
status = ["READ", "WRITE", "VISIBLE", "LOCKED"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 256 # 1024 Megabytes
type = "striped"
stripe_count = 2
stripe_size = 128 # 64 Kilobytes
stripes = [
"pv0", 0,
"pvmove0", 0
]
}
}
usr {
id = "amO0rN-Razu-niBT-vNP0-WQde-bdjD-TUOuAK"
status = ["READ", "WRITE", "VISIBLE", "LOCKED"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 2560 # 10 Gigabytes
type = "striped"
stripe_count = 2
stripe_size = 128 # 64 Kilobytes
stripes = [
"pv0", 128,
"pvmove0", 128
]
}
}
var {
id = "slMX02-OfWc-EldC-QCzP-TEw4-Nty6-bGVKM5"
status = ["READ", "WRITE", "VISIBLE", "LOCKED"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 2560 # 10 Gigabytes
type = "striped"
stripe_count = 2
stripe_size = 128 # 64 Kilobytes
stripes = [
"pv0", 1408,
"pvmove0", 1408
]
}
}
data {
id = "dQ4Bcc-246h-6eW6-frR1-D8Rg-pEjf-WX2x9i"
status = ["READ", "WRITE", "VISIBLE", "LOCKED"]
segment_count = 2
segment1 {
start_extent = 0
extent_count = 116508 # 455.109 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2688
]
}
segment2 {
start_extent = 116508
extent_count = 70372 # 274.891 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pvmove0", 2688
]
}
}
data2 {
id = "cIi5LY-ItI6-pG2v-rv6A-jgED-p06g-30E6w0"
status = ["READ", "WRITE", "VISIBLE", "LOCKED"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 3248 # 12.6875 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pvmove0", 73060
]
}
}
pvmove0 {
id = "igSLcC-ymoZ-ikLU-A1BQ-8wpm-EyF8-a0dxpB"
status = ["READ", "WRITE", "PVMOVE", "LOCKED"]
allocation_policy = "contiguous"
segment_count = 5
segment1 {
start_extent = 0
extent_count = 128 # 512 Megabytes
type = "mirror"
mirror_count = 2
extents_moved = 0 # 0 Kilobytes
mirrors = [
"pv1", 0,
"pv2", 0
]
}
segment2 {
start_extent = 128
extent_count = 1280 # 5 Gigabytes
type = "mirror"
mirror_count = 2
extents_moved = 0 # 0 Kilobytes
mirrors = [
"pv1", 128,
"pv2", 128
]
}
segment3 {
start_extent = 1408
extent_count = 1280 # 5 Gigabytes
type = "mirror"
mirror_count = 2
extents_moved = 0 # 0 Kilobytes
mirrors = [
"pv1", 1408,
"pv2", 1408
]
}
segment4 {
start_extent = 2688
extent_count = 70372 # 274.891 Gigabytes
type = "mirror"
mirror_count = 2
extents_moved = 0 # 0 Kilobytes
mirrors = [
"pv1", 2688,
"pv2", 2688
]
}
segment5 {
start_extent = 73060
extent_count = 3248 # 12.6875 Gigabytes
type = "mirror"
mirror_count = 2
extents_moved = 0 # 0 Kilobytes
mirrors = [
"pv1", 73060,
"pv2", 73060
]
}
}
}
}
More information about the pkg-lvm-maintainers
mailing list