Re: Volume group inconsistent

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

 



----
		pv64 {
			id = "TFSqaf-Wd6b-9w2r-8ZLp-rVN9-5851-0qNX0z"
			device = "/dev/mapper/plt-85"	# Hint only

			status = ["ALLOCATABLE"]
			flags = []
			dev_size = 1048576000	# 500 Gigabytes
			pe_start = 2048
			pe_count = 127999	# 499.996 Gigabytes
		}
	}

----

pvXX this is One for Team or for [hdd] /dev/sdX
this look like you have 64hdd for 500Gb one.

and first look MBR 0-2Mb

dd if=/dev/sdX of=/boot/sdX.mbr bs=512 count=4000

in side  sdX.mbr is lvm.vg
if is this same [ platinum_after_missing.vg ]

you found all record /etc/lvm/*

rest is easy.

device is inode, but not lv.
[ -b "/dev/mapper/plt-01" ] && echo "True " || echo "False"

-----

	logical_volumes {

		volume-a2d55040-a597-419b-95b6-403f5b287773 {
			id = "GA9jj9-hooD-Au8T-23Bw-LNox-LkWF-G1TUG6"
			status = ["READ", "WRITE", "VISIBLE"]
			flags = []
			creation_host = "brasilia"
			creation_time = 1409946331	# 2014-09-05 16:45:31 -0300
			segment_count = 1



			segment1 {
				start_extent = 0
				extent_count = 1024	# 4 Gigabytes

				type = "striped"
				stripe_count = 1	# linear

				stripes = [

					"pv10", 30730
				]
			}
		}

-----
segment1 == lv like /dev/sdX1

pv10==[hdd X],  offset[sdX1] == [  -->[xxx] ]
but every one is start == 0[+offset]
30730*4096=[offset]


by recovery us dd if=/dev/sdX1 bs=4096 count=(1024*1000) seek=($offset)


this not LVM only IBM LLVM
LINUX use LVM. kernel.org
IBM use AIX kernel



ComputerAlarmTechnologySystem©

http://plus.google.com/105013137826111836446
+44 77 04 24 74 00

_______________________________________________
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