pvmove: ABORTING: Volume group metadata update failed.

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

 



Hi!

I'm trying to remove an old disk from my LVM.

To do this i'm trying to reduce the size of the filesystem and the lv, and
then move the pv's in /dev/hdj to the free pv's. Don't know if this is
right, but it should ;)

Everything is well untill i try to move the pv's from the old disk. The
disk is old, and produces read errors after some time of activity, but
works fine after a reboot.

Here is the last portion of output from pvmove:

    Archiving volume group "vg1" metadata.
    Creating logical volume pvmove0
    Moving 609 extents of logical volume vg1/lv1
      Finding volume group for uuid
yzFsbKuV0i2lSi0dfwGzbmBZivDI8BvA00000000000000000000000000000000
      Found /dev/hdj in VG vg1
      Found /dev/hdc in VG vg1
      Found /dev/cdrom in VG vg1
      Found /dev/hdg in VG vg1
      Found /dev/hdi in VG vg1
      Found /dev/hdk in VG vg1
      Found /dev/hdb in VG vg1
      Found /dev/hdd in VG vg1
      Found /dev/hdf in VG vg1
      Found /dev/hdh in VG vg1
      Found /dev/hdl in VG vg1
    Found volume group "vg1"
      Setting activation/missing_stripe_filler to /dev/ioerror
    Updating volume group metadata
  LV stripe found in LV lv1: unsupported by format1
  ABORTING: Volume group metadata update failed.
      Unlocking /var/lock/lvm/V_vg1

I cannot find any relevant info on this... can anyone help?

metadata follows:

# Generated by LVM2: Sun Sep 12 03:41:40 2004

contents = "Text Format Volume Group"
version = 1

description = "Created *before* executing 'pvmove -vv /dev/hdj'"

creation_host = "philos"	# Linux philos 2.4.26-1-686-smp #1 SMP Thu Jul 22 13:08:23 JST 2004 i686
creation_time = 1094953300	# Sun Sep 12 03:41:40 2004

vg1 {
	id = "yzFsbK-uV0i-2lSi-0dfw-Gzbm-BZiv-DI8BvA"
	seqno = 0
	status = ["RESIZEABLE", "READ", "WRITE"]
	system_id = "PV_IMPphilos1086031785"
	extent_size = 65536		# 32 Megabytes
	max_lv = 256
	max_pv = 256

	physical_volumes {

		pv0 {
			id = "MvZ48T-cpKL-BN1k-LNGv-DI9T-eBK7-PuQMI5"
			device = "/dev/hdc"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3576	# 111.75 Gigabytes
		}

		pv1 {
			id = "palLos-MohQ-iNl0-7lWK-Zyz1-FBha-8oMZ11"
			device = "/dev/cdrom"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 4768	# 149 Gigabytes
		}

		pv2 {
			id = "pyvQBd-E3G2-Meoa-ZgTi-jVeS-cY3v-TsD4oO"
			device = "/dev/hdg"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3576	# 111.75 Gigabytes
		}

		pv3 {
			id = "lywGaK-nniq-t8YM-25Ab-gWb2-kx2Z-mgCSJd"
			device = "/dev/hdi"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3066	# 95.8125 Gigabytes
		}

		pv4 {
			id = "n9YoV5-1sEm-RKsx-mP6A-dyJR-cqc8-S6Ka7t"
			device = "/dev/hdk"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3576	# 111.75 Gigabytes
		}

		pv5 {
			id = "Y6xsQn-2OqZ-pD6v-wIDA-G5rw-T7mq-KruhzS"
			device = "/dev/hdb"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 2453	# 76.6562 Gigabytes
		}

		pv6 {
			id = "j3uj38-jn1l-1gaS-Jsro-8yqj-fYO4-X2KNhk"
			device = "/dev/hdd"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3680	# 115 Gigabytes
		}

		pv7 {
			id = "epIqtv-vZU5-x4nb-1VAx-hkpv-IRUa-YFn96f"
			device = "/dev/hdf"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 4768	# 149 Gigabytes
		}

		pv8 {
			id = "yIHoF5-rVEX-bcPW-q5NU-Hwen-pdob-hB1TIz"
			device = "/dev/hdh"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 3576	# 111.75 Gigabytes
		}

		pv9 {
			id = "ddsycy-sL46-I3mW-U2B5-fD4Q-e61j-0Q1wzs"
			device = "/dev/hdj"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 609	# 19.0312 Gigabytes
		}

		pv10 {
			id = "GiuyLe-2FUr-rVGB-kDer-qsSX-bZ47-TOJ594"
			device = "/dev/hdl"	# Hint only

			status = ["ALLOCATABLE"]
			pe_start = 65920
			pe_count = 4768	# 149 Gigabytes
		}
	}

	logical_volumes {

		lv1 {
			id = "000000-0000-0000-0000-0000-0000-000000"
			status = ["READ", "WRITE", "VISIBLE"]
			allocation_policy = "normal"
			read_ahead = 10000
			segment_count = 12

			segment1 {
				start_extent = 0
				extent_count = 3066	# 95.8125 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv3", 0
				]
			}
			segment2 {
				start_extent = 3066
				extent_count = 2453	# 76.6562 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv5", 0
				]
			}
			segment3 {
				start_extent = 5519
				extent_count = 128	# 4 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv0", 0
				]
			}
			segment4 {
				start_extent = 5647
				extent_count = 609	# 19.0312 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv9", 0
				]
			}
			segment5 {
				start_extent = 6256
				extent_count = 3680	# 115 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv6", 0
				]
			}
			segment6 {
				start_extent = 9936
				extent_count = 3576	# 111.75 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv2", 0
				]
			}
			segment7 {
				start_extent = 13512
				extent_count = 3576	# 111.75 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv8", 0
				]
			}
			segment8 {
				start_extent = 17088
				extent_count = 3448	# 107.75 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv0", 128
				]
			}
			segment9 {
				start_extent = 20536
				extent_count = 4768	# 149 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv1", 0
				]
			}
			segment10 {
				start_extent = 25304
				extent_count = 4768	# 149 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv7", 0
				]
			}
			segment11 {
				start_extent = 30072
				extent_count = 3576	# 111.75 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv4", 0
				]
			}
			segment12 {
				start_extent = 33648
				extent_count = 4128	# 129 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [
					"pv10", 0
				]
			}
		}
	}
}
_______________________________________________
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