Bug#315339: installation of new lvm2 renders vg unusable

Igor Belyi Igor Belyi <belyi@users.sourceforge.net>, 315339@bugs.debian.org
Tue, 28 Jun 2005 19:11:49 -0400


This is a multi-part MIME message sent by reportbug.

--===============0502321789==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: lvm2
Version: 2.01.12-2
Followup-For: Bug #315339

Installing new lvm2 makes stripped VG unrecognizable.
Downgrading lvm2 back to 2.01.04-5 fixes the problem.

# vgdisplay lvmg
  LV backup: inconsistent LE count 1832 != 3662
  Internal error: LV segments corrupted in backup.
  Volume group "lvmg" doesn't exist    

Attached is the /etc/lvm/backup/lvmg config file for the group.

Igor

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages lvm2 depends on:
ii  debconf                     1.4.51       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdevmapper1.01            2:1.01.03-1  The Linux Kernel Device Mapper use
hi  lvm-common                  1.5.19       The Logical Volume Manager for Lin

lvm2 recommends no packages.

-- debconf information:
  lvm2/snapshots:

--===============0502321789==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lvmg"

# Generated by LVM2: Tue Jun 28 16:41:34 2005

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing '/sbin/vgcfgbackup'"

creation_host = "leonid"	# Linux leonid 2.6.11 #1 Wed Mar 2 09:29:56 EST 2005 i686
creation_time = 1119991294	# Tue Jun 28 16:41:34 2005

lvmg {
	id = "BSy91n-ruZ9-cPDQ-aD8u-hNVI-NhxK-kzr4Rq"
	seqno = 0
	status = ["RESIZEABLE", "READ", "WRITE"]
	system_id = "leonid1067528333"
	extent_size = 65536		# 32 Megabytes
	max_lv = 256
	max_pv = 256

	physical_volumes {

		pv0 {
			id = "yDDqdI-Zm8P-fcfz-veUd-3erD-lo7L-74LLT5"
			device = "/dev/hda"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 1831	# 57.2188 Gigabytes
		}

		pv1 {
			id = "a2cuJy-QuIa-k4nx-eHdB-qTXB-4X0n-EoYa2L"
			device = "/dev/hdc"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 1831	# 57.2188 Gigabytes
		}
	}

	logical_volumes {

		backup {
			id = "000000-0000-0000-0000-0000-0000-000000"
			status = ["READ", "WRITE", "VISIBLE"]
			allocation_policy = "normal"
			read_ahead = 1024
			segment_count = 1

			segment1 {
				start_extent = 0
				extent_count = 3662	# 114.438 Gigabytes

				type = "striped"
				stripe_count = 2
				stripe_size = 32	# 16 Kilobytes

				stripes = [
					"pv1", 0,
					"pv0", 0
				]
			}
		}
	}
}

--===============0502321789==--