lvm2 2.01.12 fails to read lvm1 metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks

I got another report, that snapshots with lvm1 metadata does not work.

Bastian

----- Forwarded message from Igor Belyi <belyi@users.sourceforge.net> -----

From: Igor Belyi <belyi@users.sourceforge.net>
To: Debian Bug Tracking System <315339@bugs.debian.org>
Subject: Bug#315339: installation of new lvm2 renders vg unusable
Date: Tue, 28 Jun 2005 19:11:49 -0400
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 
	version=3.0.4

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

# 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
				]
			}
		}
	}
}


----- End forwarded message -----

-- 
Men of peace usually are [brave].
		-- Spock, "The Savage Curtain", stardate 5906.5

Attachment: signature.asc
Description: Digital signature

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux