Bug#324992: lvm2: converting metadata to v2 on md* device fails
Al Nikolov
al at gorod-spb.ru
Thu Aug 25 12:09:33 UTC 2005
Package: lvm2
Version: 2.01.04-5
Severity: normal
I have following problem with upgrading to v2 of metadata after
upgrading system to Sarge and thus cannot create snapshots anymore:
# vgconvert -t -v -M2 raid5
Test mode: Metadata will NOT be updated.
Using volume group(s) on command line
Finding volume group "raid5"
Test mode: Skipping archiving of volume group.
Physical extents end beyond end of device /dev/md1!
/dev/md1: Format-specific setup of physical volume failed.
Failed to setup physical volume "/dev/md1"
Test mode: Wiping internal cache
# pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name raid5
PV Size 170,18 GB / not usable 7,38 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 43563
Free PE 12329
Allocated PE 31234
PV UUID GbIjZa-z7WJ-ufBX-WR8B-sAq4-JHNU-xh1zee
# lvm dumpconfig
devices {
dir="/dev"
scan="/dev"
filter="r|/dev/cdrom|"
cache="/etc/lvm/.cache"
write_cache_state=1
sysfs_scan=1
md_component_detection=0
}
activation {
missing_stripe_filler="/dev/ioerror"
mirror_region_size=512
reserved_stack=256
reserved_memory=8192
process_priority=-18
}
global {
umask=63
test=0
activation=1
proc="/proc"
locking_type=1
locking_dir="/var/lock/lvm"
}
shell {
history_size=100
}
backup {
backup=1
backup_dir="/etc/lvm/backup"
archive=1
archive_dir="/etc/lvm/archive"
retain_min=10
retain_days=30
}
log {
verbose=0
syslog=1
overwrite=0
level=0
indent=1
command_names=0
prefix=" "
}
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=russian, LC_CTYPE=russian (charmap=KOI8-R)
Versions of packages lvm2 depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libdevmapper1.01 2:1.01.00-4 The Linux Kernel Device Mapper use
ii lvm-common 1.5.17 The Logical Volume Manager for Lin
-- debconf information:
lvm2/snapshots:
More information about the pkg-lvm-maintainers
mailing list