Bug#637254: grub-pc: "unknown LVM metadata header" on mdadm raid1 + lvm

Yaroslav Leonov alximik43 at gmail.com
Wed Sep 28 14:22:03 UTC 2011


Hi,

hope, this'll help:

===8<====

alzgrinew:~# grub-fstest -c 2 /dev/sd[ab] ls
error: unknown LVM metadata header.
(mirror0-lvroot) (mirror0-lvswap) (md/2) (md127) (loop1)
(loop1,msdos2) (loop1,msdos1) (loop0) (loop0,msdos2) (loop0,msdos1)
(host)
alzgrinew:~# grub-fstest -c 2 /dev/sd[ab] hex '(md127)+20'
error: unknown LVM metadata header.
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200  4c 41 42 45 4c 4f 4e 45  01 00 00 00 00 00 00 00  |LABELONE........|
00000210  a5 0a c7 9f 20 00 00 00  4c 56 4d 32 20 30 30 31  |.... ...LVM2 001|
00000220  32 65 58 39 4f 6c 65 43  41 6e 65 6b 76 57 5a 57  |2eX9OleCAnekvWZW|
00000230  61 77 50 69 34 41 44 38  50 6f 43 50 4f 43 36 71  |awPi4AD8PoCPOC6q|
00000240  00 00 e5 c5 68 00 00 00  00 00 03 00 00 00 00 00  |....h...........|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00  |................|
00000270  00 f0 02 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000ff0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001000  45 3b 54 c8 20 4c 56 4d  32 20 78 5b 35 41 25 72  |E;T. LVM2 x[5A%r|
00001010  30 4e 2a 3e 01 00 00 00  00 10 00 00 00 00 00 00  |0N*>............|
00001020  00 f0 02 00 00 00 00 00  00 10 00 00 00 00 00 00  |................|
00001030  8c 04 00 00 00 00 00 00  48 5e 96 bf 00 00 00 00  |........H^......|
00001040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000011f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001200  6d 69 72 72 6f 72 30 20  7b 0a 69 64 20 3d 20 22  |mirror0 {.id = "|
00001210  36 79 78 50 47 39 2d 67  65 59 30 2d 4e 61 4a 4d  |6yxPG9-geY0-NaJM|
00001220  2d 42 46 57 6a 2d 52 49  4c 6d 2d 6a 6f 32 70 2d  |-BFWj-RILm-jo2p-|
00001230  69 34 4e 58 63 63 22 0a  73 65 71 6e 6f 20 3d 20  |i4NXcc".seqno = |
00001240  31 0a 73 74 61 74 75 73  20 3d 20 5b 22 52 45 53  |1.status = ["RES|
00001250  49 5a 45 41 42 4c 45 22  2c 20 22 52 45 41 44 22  |IZEABLE", "READ"|
00001260  2c 20 22 57 52 49 54 45  22 5d 0a 66 6c 61 67 73  |, "WRITE"].flags|
00001270  20 3d 20 5b 5d 0a 65 78  74 65 6e 74 5f 73 69 7a  | = [].extent_siz|
00001280  65 20 3d 20 38 31 39 32  0a 6d 61 78 5f 6c 76 20  |e = 8192.max_lv |
00001290  3d 20 30 0a 6d 61 78 5f  70 76 20 3d 20 30 0a 0a  |= 0.max_pv = 0..|
000012a0  70 68 79 73 69 63 61 6c  5f 76 6f 6c 75 6d 65 73  |physical_volumes|
000012b0  20 7b 0a 0a 70 76 30 20  7b 0a 69 64 20 3d 20 22  | {..pv0 {.id = "|
000012c0  32 65 58 39 4f 6c 2d 65  43 41 6e 2d 65 6b 76 57  |2eX9Ol-eCAn-ekvW|
000012d0  2d 5a 57 61 77 2d 50 69  34 41 2d 44 38 50 6f 2d  |-ZWaw-Pi4A-D8Po-|
000012e0  43 50 4f 43 36 71 22 0a  64 65 76 69 63 65 20 3d  |CPOC6q".device =|
000012f0  20 22 2f 64 65 76 2f 6d  64 30 22 0a 0a 73 74 61  | "/dev/md0"..sta|
00001300  74 75 73 20 3d 20 5b 22  41 4c 4c 4f 43 41 54 41  |tus = ["ALLOCATA|
00001310  42 4c 45 22 5d 0a 66 6c  61 67 73 20 3d 20 5b 5d  |BLE"].flags = []|
00001320  0a 64 65 76 5f 73 69 7a  65 20 3d 20 38 37 38 38  |.dev_size = 8788|
00001330  39 39 38 34 30 0a 70 65  5f 73 74 61 72 74 20 3d  |99840.pe_start =|
00001340  20 33 38 34 0a 70 65 5f  63 6f 75 6e 74 20 3d 20  | 384.pe_count = |
00001350  31 30 37 32 38 37 0a 7d  0a 7d 0a 0a 7d 0a 23 20  |107287.}.}..}.# |
00001360  47 65 6e 65 72 61 74 65  64 20 62 79 20 4c 56 4d  |Generated by LVM|
00001370  32 20 76 65 72 73 69 6f  6e 20 32 2e 30 32 2e 36  |2 version 2.02.6|
00001380  36 28 32 29 20 28 32 30  31 30 2d 30 35 2d 32 30  |6(2) (2010-05-20|
00001390  29 3a 20 54 68 75 20 4a  75 6c 20 20 31 20 32 33  |): Thu Jul  1 23|
000013a0  3a 31 38 3a 35 39 20 32  30 31 30 0a 0a 63 6f 6e  |:18:59 2010..con|
000013b0  74 65 6e 74 73 20 3d 20  22 54 65 78 74 20 46 6f  |tents = "Text Fo|
000013c0  72 6d 61 74 20 56 6f 6c  75 6d 65 20 47 72 6f 75  |rmat Volume Grou|
000013d0  70 22 0a 76 65 72 73 69  6f 6e 20 3d 20 31 0a 0a  |p".version = 1..|
000013e0  64 65 73 63 72 69 70 74  69 6f 6e 20 3d 20 22 22  |description = ""|
000013f0  0a 0a 63 72 65 61 74 69  6f 6e 5f 68 6f 73 74 20  |..creation_host |
00001400  3d 20 22 61 6c 7a 67 72  69 6e 65 77 22 09 23 20  |= "alzgrinew".# |
00001410  4c 69 6e 75 78 20 61 6c  7a 67 72 69 6e 65 77 20  |Linux alzgrinew |
00001420  32 2e 36 2e 33 32 2d 32  2d 61 6d 64 36 34 20 23  |2.6.32-2-amd64 #|
00001430  31 20 53 4d 50 20 46 72  69 20 46 65 62 20 31 32  |1 SMP Fri Feb 12|
00001440  20 30 30 3a 30 31 3a 34  37 20 55 54 43 20 32 30  | 00:01:47 UTC 20|
00001450  31 30 20 78 38 36 5f 36  34 0a 63 72 65 61 74 69  |10 x86_64.creati|
00001460  6f 6e 5f 74 69 6d 65 20  3d 20 31 32 37 38 30 31  |on_time = 127801|
00001470  31 39 33 39 09 23 20 54  68 75 20 4a 75 6c 20 20  |1939.# Thu Jul  |
00001480  31 20 32 33 3a 31 38 3a  35 39 20 32 30 31 30 0a  |1 23:18:59 2010.|
00001490  0a 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000014a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000015f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001600  6d 69 72 72 6f 72 30 20  7b 0a 69 64 20 3d 20 22  |mirror0 {.id = "|
00001610  36 79 78 50 47 39 2d 67  65 59 30 2d 4e 61 4a 4d  |6yxPG9-geY0-NaJM|
00001620  2d 42 46 57 6a 2d 52 49  4c 6d 2d 6a 6f 32 70 2d  |-BFWj-RILm-jo2p-|
00001630  69 34 4e 58 63 63 22 0a  73 65 71 6e 6f 20 3d 20  |i4NXcc".seqno = |
00001640  32 0a 73 74 61 74 75 73  20 3d 20 5b 22 52 45 53  |2.status = ["RES|
00001650  49 5a 45 41 42 4c 45 22  2c 20 22 52 45 41 44 22  |IZEABLE", "READ"|
00001660  2c 20 22 57 52 49 54 45  22 5d 0a 66 6c 61 67 73  |, "WRITE"].flags|
00001670  20 3d 20 5b 5d 0a 65 78  74 65 6e 74 5f 73 69 7a  | = [].extent_siz|
00001680  65 20 3d 20 38 31 39 32  0a 6d 61 78 5f 6c 76 20  |e = 8192.max_lv |
00001690  3d 20 30 0a 6d 61 78 5f  70 76 20 3d 20 30 0a 0a  |= 0.max_pv = 0..|
000016a0  70 68 79 73 69 63 61 6c  5f 76 6f 6c 75 6d 65 73  |physical_volumes|
000016b0  20 7b 0a 0a 70 76 30 20  7b 0a 69 64 20 3d 20 22  | {..pv0 {.id = "|
000016c0  32 65 58 39 4f 6c 2d 65  43 41 6e 2d 65 6b 76 57  |2eX9Ol-eCAn-ekvW|
000016d0  2d 5a 57 61 77 2d 50 69  34 41 2d 44 38 50 6f 2d  |-ZWaw-Pi4A-D8Po-|
000016e0  43 50 4f 43 36 71 22 0a  64 65 76 69 63 65 20 3d  |CPOC6q".device =|
000016f0  20 22 2f 64 65 76 2f 6d  64 30 22 0a 0a 73 74 61  | "/dev/md0"..sta|
00001700  74 75 73 20 3d 20 5b 22  41 4c 4c 4f 43 41 54 41  |tus = ["ALLOCATA|
00001710  42 4c 45 22 5d 0a 66 6c  61 67 73 20 3d 20 5b 5d  |BLE"].flags = []|
00001720  0a 64 65 76 5f 73 69 7a  65 20 3d 20 38 37 38 38  |.dev_size = 8788|
00001730  39 39 38 34 30 0a 70 65  5f 73 74 61 72 74 20 3d  |99840.pe_start =|
00001740  20 33 38 34 0a 70 65 5f  63 6f 75 6e 74 20 3d 20  | 384.pe_count = |
00001750  31 30 37 32 38 37 0a 7d  0a 7d 0a 0a 6c 6f 67 69  |107287.}.}..logi|
00001760  63 61 6c 5f 76 6f 6c 75  6d 65 73 20 7b 0a 0a 6c  |cal_volumes {..l|
00001770  76 73 77 61 70 20 7b 0a  69 64 20 3d 20 22 78 71  |vswap {.id = "xq|
00001780  32 59 6f 63 2d 69 63 70  35 2d 6a 45 36 52 2d 51  |2Yoc-icp5-jE6R-Q|
00001790  69 77 42 2d 4f 4d 4a 4f  2d 4f 68 64 61 2d 55 33  |iwB-OMJO-Ohda-U3|
000017a0  6a 64 4c 68 22 0a 73 74  61 74 75 73 20 3d 20 5b  |jdLh".status = [|
000017b0  22 52 45 41 44 22 2c 20  22 57 52 49 54 45 22 2c  |"READ", "WRITE",|
000017c0  20 22 56 49 53 49 42 4c  45 22 5d 0a 66 6c 61 67  | "VISIBLE"].flag|
000017d0  73 20 3d 20 5b 5d 0a 73  65 67 6d 65 6e 74 5f 63  |s = [].segment_c|
000017e0  6f 75 6e 74 20 3d 20 31  0a 0a 73 65 67 6d 65 6e  |ount = 1..segmen|
000017f0  74 31 20 7b 0a 73 74 61  72 74 5f 65 78 74 65 6e  |t1 {.start_exten|
00001800  74 20 3d 20 30 0a 65 78  74 65 6e 74 5f 63 6f 75  |t = 0.extent_cou|
00001810  6e 74 20 3d 20 35 31 32  0a 0a 74 79 70 65 20 3d  |nt = 512..type =|
00001820  20 22 73 74 72 69 70 65  64 22 0a 73 74 72 69 70  | "striped".strip|
00001830  65 5f 63 6f 75 6e 74 20  3d 20 31 09 23 20 6c 69  |e_count = 1.# li|
00001840  6e 65 61 72 0a 0a 73 74  72 69 70 65 73 20 3d 20  |near..stripes = |
00001850  5b 0a 22 70 76 30 22 2c  20 30 0a 5d 0a 7d 0a 7d  |[."pv0", 0.].}.}|
00001860  0a 7d 0a 7d 0a 23 20 47  65 6e 65 72 61 74 65 64  |.}.}.# Generated|
00001870  20 62 79 20 4c 56 4d 32  20 76 65 72 73 69 6f 6e  | by LVM2 version|
00001880  20 32 2e 30 32 2e 36 36  28 32 29 20 28 32 30 31  | 2.02.66(2) (201|
00001890  30 2d 30 35 2d 32 30 29  3a 20 54 68 75 20 4a 75  |0-05-20): Thu Ju|
000018a0  6c 20 20 31 20 32 33 3a  32 31 3a 31 31 20 32 30  |l  1 23:21:11 20|
000018b0  31 30 0a 0a 63 6f 6e 74  65 6e 74 73 20 3d 20 22  |10..contents = "|
000018c0  54 65 78 74 20 46 6f 72  6d 61 74 20 56 6f 6c 75  |Text Format Volu|
000018d0  6d 65 20 47 72 6f 75 70  22 0a 76 65 72 73 69 6f  |me Group".versio|
000018e0  6e 20 3d 20 31 0a 0a 64  65 73 63 72 69 70 74 69  |n = 1..descripti|
000018f0  6f 6e 20 3d 20 22 22 0a  0a 63 72 65 61 74 69 6f  |on = ""..creatio|
00001900  6e 5f 68 6f 73 74 20 3d  20 22 61 6c 7a 67 72 69  |n_host = "alzgri|
00001910  6e 65 77 22 09 23 20 4c  69 6e 75 78 20 61 6c 7a  |new".# Linux alz|
00001920  67 72 69 6e 65 77 20 32  2e 36 2e 33 32 2d 32 2d  |grinew 2.6.32-2-|
00001930  61 6d 64 36 34 20 23 31  20 53 4d 50 20 46 72 69  |amd64 #1 SMP Fri|
00001940  20 46 65 62 20 31 32 20  30 30 3a 30 31 3a 34 37  | Feb 12 00:01:47|
00001950  20 55 54 43 20 32 30 31  30 20 78 38 36 5f 36 34  | UTC 2010 x86_64|
00001960  0a 63 72 65 61 74 69 6f  6e 5f 74 69 6d 65 20 3d  |.creation_time =|
00001970  20 31 32 37 38 30 31 32  30 37 31 09 23 20 54 68  | 1278012071.# Th|
00001980  75 20 4a 75 6c 20 20 31  20 32 33 3a 32 31 3a 31  |u Jul  1 23:21:1|
00001990  31 20 32 30 31 30 0a 0a  00 00 00 00 00 00 00 00  |1 2010..........|
000019a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000019f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001a00  6d 69 72 72 6f 72 30 20  7b 0a 69 64 20 3d 20 22  |mirror0 {.id = "|
00001a10  36 79 78 50 47 39 2d 67  65 59 30 2d 4e 61 4a 4d  |6yxPG9-geY0-NaJM|
00001a20  2d 42 46 57 6a 2d 52 49  4c 6d 2d 6a 6f 32 70 2d  |-BFWj-RILm-jo2p-|
00001a30  69 34 4e 58 63 63 22 0a  73 65 71 6e 6f 20 3d 20  |i4NXcc".seqno = |
00001a40  33 0a 73 74 61 74 75 73  20 3d 20 5b 22 52 45 53  |3.status = ["RES|
00001a50  49 5a 45 41 42 4c 45 22  2c 20 22 52 45 41 44 22  |IZEABLE", "READ"|
00001a60  2c 20 22 57 52 49 54 45  22 5d 0a 66 6c 61 67 73  |, "WRITE"].flags|
00001a70  20 3d 20 5b 5d 0a 65 78  74 65 6e 74 5f 73 69 7a  | = [].extent_siz|
00001a80  65 20 3d 20 38 31 39 32  0a 6d 61 78 5f 6c 76 20  |e = 8192.max_lv |
00001a90  3d 20 30 0a 6d 61 78 5f  70 76 20 3d 20 30 0a 0a  |= 0.max_pv = 0..|
00001aa0  70 68 79 73 69 63 61 6c  5f 76 6f 6c 75 6d 65 73  |physical_volumes|
00001ab0  20 7b 0a 0a 70 76 30 20  7b 0a 69 64 20 3d 20 22  | {..pv0 {.id = "|
00001ac0  32 65 58 39 4f 6c 2d 65  43 41 6e 2d 65 6b 76 57  |2eX9Ol-eCAn-ekvW|
00001ad0  2d 5a 57 61 77 2d 50 69  34 41 2d 44 38 50 6f 2d  |-ZWaw-Pi4A-D8Po-|
00001ae0  43 50 4f 43 36 71 22 0a  64 65 76 69 63 65 20 3d  |CPOC6q".device =|
00001af0  20 22 2f 64 65 76 2f 6d  64 30 22 0a 0a 73 74 61  | "/dev/md0"..sta|
00001b00  74 75 73 20 3d 20 5b 22  41 4c 4c 4f 43 41 54 41  |tus = ["ALLOCATA|
00001b10  42 4c 45 22 5d 0a 66 6c  61 67 73 20 3d 20 5b 5d  |BLE"].flags = []|
00001b20  0a 64 65 76 5f 73 69 7a  65 20 3d 20 38 37 38 38  |.dev_size = 8788|
00001b30  39 39 38 34 30 0a 70 65  5f 73 74 61 72 74 20 3d  |99840.pe_start =|
00001b40  20 33 38 34 0a 70 65 5f  63 6f 75 6e 74 20 3d 20  | 384.pe_count = |
00001b50  31 30 37 32 38 37 0a 7d  0a 7d 0a 0a 6c 6f 67 69  |107287.}.}..logi|
00001b60  63 61 6c 5f 76 6f 6c 75  6d 65 73 20 7b 0a 0a 6c  |cal_volumes {..l|
00001b70  76 73 77 61 70 20 7b 0a  69 64 20 3d 20 22 78 71  |vswap {.id = "xq|
00001b80  32 59 6f 63 2d 69 63 70  35 2d 6a 45 36 52 2d 51  |2Yoc-icp5-jE6R-Q|
00001b90  69 77 42 2d 4f 4d 4a 4f  2d 4f 68 64 61 2d 55 33  |iwB-OMJO-Ohda-U3|
00001ba0  6a 64 4c 68 22 0a 73 74  61 74 75 73 20 3d 20 5b  |jdLh".status = [|
00001bb0  22 52 45 41 44 22 2c 20  22 57 52 49 54 45 22 2c  |"READ", "WRITE",|
00001bc0  20 22 56 49 53 49 42 4c  45 22 5d 0a 66 6c 61 67  | "VISIBLE"].flag|
00001bd0  73 20 3d 20 5b 5d 0a 73  65 67 6d 65 6e 74 5f 63  |s = [].segment_c|
00001be0  6f 75 6e 74 20 3d 20 31  0a 0a 73 65 67 6d 65 6e  |ount = 1..segmen|
00001bf0  74 31 20 7b 0a 73 74 61  72 74 5f 65 78 74 65 6e  |t1 {.start_exten|
00001c00  74 20 3d 20 30 0a 65 78  74 65 6e 74 5f 63 6f 75  |t = 0.extent_cou|
00001c10  6e 74 20 3d 20 35 31 32  0a 0a 74 79 70 65 20 3d  |nt = 512..type =|
00001c20  20 22 73 74 72 69 70 65  64 22 0a 73 74 72 69 70  | "striped".strip|
00001c30  65 5f 63 6f 75 6e 74 20  3d 20 31 09 23 20 6c 69  |e_count = 1.# li|
00001c40  6e 65 61 72 0a 0a 73 74  72 69 70 65 73 20 3d 20  |near..stripes = |
00001c50  5b 0a 22 70 76 30 22 2c  20 30 0a 5d 0a 7d 0a 7d  |[."pv0", 0.].}.}|
00001c60  0a 0a 6c 76 72 6f 6f 74  20 7b 0a 69 64 20 3d 20  |..lvroot {.id = |
00001c70  22 79 74 66 70 38 64 2d  44 4f 6b 7a 2d 67 79 70  |"ytfp8d-DOkz-gyp|
00001c80  65 2d 74 57 39 6c 2d 38  41 49 74 2d 76 75 7a 48  |e-tW9l-8AIt-vuzH|
00001c90  2d 43 6a 78 79 62 32 22  0a 73 74 61 74 75 73 20  |-Cjxyb2".status |
00001ca0  3d 20 5b 22 52 45 41 44  22 2c 20 22 57 52 49 54  |= ["READ", "WRIT|
00001cb0  45 22 2c 20 22 56 49 53  49 42 4c 45 22 5d 0a 66  |E", "VISIBLE"].f|
00001cc0  6c 61 67 73 20 3d 20 5b  5d 0a 73 65 67 6d 65 6e  |lags = [].segmen|
00001cd0  74 5f 63 6f 75 6e 74 20  3d 20 31 0a 0a 73 65 67  |t_count = 1..seg|
00001ce0  6d 65 6e 74 31 20 7b 0a  73 74 61 72 74 5f 65 78  |ment1 {.start_ex|
00001cf0  74 65 6e 74 20 3d 20 30  0a 65 78 74 65 6e 74 5f  |tent = 0.extent_|
00001d00  63 6f 75 6e 74 20 3d 20  37 36 38 30 30 0a 0a 74  |count = 76800..t|
00001d10  79 70 65 20 3d 20 22 73  74 72 69 70 65 64 22 0a  |ype = "striped".|
00001d20  73 74 72 69 70 65 5f 63  6f 75 6e 74 20 3d 20 31  |stripe_count = 1|
00001d30  09 23 20 6c 69 6e 65 61  72 0a 0a 73 74 72 69 70  |.# linear..strip|
00001d40  65 73 20 3d 20 5b 0a 22  70 76 30 22 2c 20 35 31  |es = [."pv0", 51|
00001d50  32 0a 5d 0a 7d 0a 7d 0a  7d 0a 7d 0a 23 20 47 65  |2.].}.}.}.}.# Ge|
00001d60  6e 65 72 61 74 65 64 20  62 79 20 4c 56 4d 32 20  |nerated by LVM2 |
00001d70  76 65 72 73 69 6f 6e 20  32 2e 30 32 2e 36 36 28  |version 2.02.66(|
00001d80  32 29 20 28 32 30 31 30  2d 30 35 2d 32 30 29 3a  |2) (2010-05-20):|
00001d90  20 54 68 75 20 4a 75 6c  20 20 31 20 32 33 3a 32  | Thu Jul  1 23:2|
00001da0  31 3a 34 30 20 32 30 31  30 0a 0a 63 6f 6e 74 65  |1:40 2010..conte|
00001db0  6e 74 73 20 3d 20 22 54  65 78 74 20 46 6f 72 6d  |nts = "Text Form|
00001dc0  61 74 20 56 6f 6c 75 6d  65 20 47 72 6f 75 70 22  |at Volume Group"|
00001dd0  0a 76 65 72 73 69 6f 6e  20 3d 20 31 0a 0a 64 65  |.version = 1..de|
00001de0  73 63 72 69 70 74 69 6f  6e 20 3d 20 22 22 0a 0a  |scription = ""..|
00001df0  63 72 65 61 74 69 6f 6e  5f 68 6f 73 74 20 3d 20  |creation_host = |
00001e00  22 61 6c 7a 67 72 69 6e  65 77 22 09 23 20 4c 69  |"alzgrinew".# Li|
00001e10  6e 75 78 20 61 6c 7a 67  72 69 6e 65 77 20 32 2e  |nux alzgrinew 2.|
00001e20  36 2e 33 32 2d 32 2d 61  6d 64 36 34 20 23 31 20  |6.32-2-amd64 #1 |
00001e30  53 4d 50 20 46 72 69 20  46 65 62 20 31 32 20 30  |SMP Fri Feb 12 0|
00001e40  30 3a 30 31 3a 34 37 20  55 54 43 20 32 30 31 30  |0:01:47 UTC 2010|
00001e50  20 78 38 36 5f 36 34 0a  63 72 65 61 74 69 6f 6e  | x86_64.creation|
00001e60  5f 74 69 6d 65 20 3d 20  31 32 37 38 30 31 32 31  |_time = 12780121|
00001e70  30 30 09 23 20 54 68 75  20 4a 75 6c 20 20 31 20  |00.# Thu Jul  1 |
00001e80  32 33 3a 32 31 3a 34 30  20 32 30 31 30 0a 0a 00  |23:21:40 2010...|
00001e90  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001ff0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00002000  6d 69 72 72 6f 72 30 20  7b 0a 69 64 20 3d 20 22  |mirror0 {.id = "|
00002010  36 79 78 50 47 39 2d 67  65 59 30 2d 4e 61 4a 4d  |6yxPG9-geY0-NaJM|
00002020  2d 42 46 57 6a 2d 52 49  4c 6d 2d 6a 6f 32 70 2d  |-BFWj-RILm-jo2p-|
00002030  69 34 4e 58 63 63 22 0a  73 65 71 6e 6f 20 3d 20  |i4NXcc".seqno = |
00002040  34 0a 73 74 61 74 75 73  20 3d 20 5b 22 52 45 53  |4.status = ["RES|
00002050  49 5a 45 41 42 4c 45 22  2c 20 22 52 45 41 44 22  |IZEABLE", "READ"|
00002060  2c 20 22 57 52 49 54 45  22 5d 0a 66 6c 61 67 73  |, "WRITE"].flags|
00002070  20 3d 20 5b 5d 0a 65 78  74 65 6e 74 5f 73 69 7a  | = [].extent_siz|
00002080  65 20 3d 20 38 31 39 32  0a 6d 61 78 5f 6c 76 20  |e = 8192.max_lv |
00002090  3d 20 30 0a 6d 61 78 5f  70 76 20 3d 20 30 0a 0a  |= 0.max_pv = 0..|
000020a0  70 68 79 73 69 63 61 6c  5f 76 6f 6c 75 6d 65 73  |physical_volumes|
000020b0  20 7b 0a 0a 70 76 30 20  7b 0a 69 64 20 3d 20 22  | {..pv0 {.id = "|
000020c0  32 65 58 39 4f 6c 2d 65  43 41 6e 2d 65 6b 76 57  |2eX9Ol-eCAn-ekvW|
000020d0  2d 5a 57 61 77 2d 50 69  34 41 2d 44 38 50 6f 2d  |-ZWaw-Pi4A-D8Po-|
000020e0  43 50 4f 43 36 71 22 0a  64 65 76 69 63 65 20 3d  |CPOC6q".device =|
000020f0  20 22 2f 64 65 76 2f 6d  64 31 32 37 22 0a 0a 73  | "/dev/md127"..s|
00002100  74 61 74 75 73 20 3d 20  5b 22 41 4c 4c 4f 43 41  |tatus = ["ALLOCA|
00002110  54 41 42 4c 45 22 5d 0a  66 6c 61 67 73 20 3d 20  |TABLE"].flags = |
00002120  5b 5d 0a 64 65 76 5f 73  69 7a 65 20 3d 20 38 37  |[].dev_size = 87|
00002130  38 38 39 39 38 34 30 0a  70 65 5f 73 74 61 72 74  |8899840.pe_start|
00002140  20 3d 20 33 38 34 0a 70  65 5f 63 6f 75 6e 74 20  | = 384.pe_count |
00002150  3d 20 31 30 37 32 38 37  0a 7d 0a 7d 0a 0a 6c 6f  |= 107287.}.}..lo|
00002160  67 69 63 61 6c 5f 76 6f  6c 75 6d 65 73 20 7b 0a  |gical_volumes {.|
00002170  0a 6c 76 73 77 61 70 20  7b 0a 69 64 20 3d 20 22  |.lvswap {.id = "|
00002180  78 71 32 59 6f 63 2d 69  63 70 35 2d 6a 45 36 52  |xq2Yoc-icp5-jE6R|
00002190  2d 51 69 77 42 2d 4f 4d  4a 4f 2d 4f 68 64 61 2d  |-QiwB-OMJO-Ohda-|
000021a0  55 33 6a 64 4c 68 22 0a  73 74 61 74 75 73 20 3d  |U3jdLh".status =|
000021b0  20 5b 22 52 45 41 44 22  2c 20 22 57 52 49 54 45  | ["READ", "WRITE|
000021c0  22 2c 20 22 56 49 53 49  42 4c 45 22 5d 0a 66 6c  |", "VISIBLE"].fl|
000021d0  61 67 73 20 3d 20 5b 5d  0a 73 65 67 6d 65 6e 74  |ags = [].segment|
000021e0  5f 63 6f 75 6e 74 20 3d  20 31 0a 0a 73 65 67 6d  |_count = 1..segm|
000021f0  65 6e 74 31 20 7b 0a 73  74 61 72 74 5f 65 78 74  |ent1 {.start_ext|
00002200  65 6e 74 20 3d 20 30 0a  65 78 74 65 6e 74 5f 63  |ent = 0.extent_c|
00002210  6f 75 6e 74 20 3d 20 35  31 32 0a 0a 74 79 70 65  |ount = 512..type|
00002220  20 3d 20 22 73 74 72 69  70 65 64 22 0a 73 74 72  | = "striped".str|
00002230  69 70 65 5f 63 6f 75 6e  74 20 3d 20 31 09 23 20  |ipe_count = 1.# |
00002240  6c 69 6e 65 61 72 0a 0a  73 74 72 69 70 65 73 20  |linear..stripes |
00002250  3d 20 5b 0a 22 70 76 30  22 2c 20 30 0a 5d 0a 7d  |= [."pv0", 0.].}|
00002260  0a 7d 0a 0a 6c 76 72 6f  6f 74 20 7b 0a 69 64 20  |.}..lvroot {.id |
00002270  3d 20 22 79 74 66 70 38  64 2d 44 4f 6b 7a 2d 67  |= "ytfp8d-DOkz-g|
00002280  79 70 65 2d 74 57 39 6c  2d 38 41 49 74 2d 76 75  |ype-tW9l-8AIt-vu|
00002290  7a 48 2d 43 6a 78 79 62  32 22 0a 73 74 61 74 75  |zH-Cjxyb2".statu|
000022a0  73 20 3d 20 5b 22 52 45  41 44 22 2c 20 22 57 52  |s = ["READ", "WR|
000022b0  49 54 45 22 2c 20 22 56  49 53 49 42 4c 45 22 5d  |ITE", "VISIBLE"]|
000022c0  0a 66 6c 61 67 73 20 3d  20 5b 5d 0a 73 65 67 6d  |.flags = [].segm|
000022d0  65 6e 74 5f 63 6f 75 6e  74 20 3d 20 31 0a 0a 73  |ent_count = 1..s|
000022e0  65 67 6d 65 6e 74 31 20  7b 0a 73 74 61 72 74 5f  |egment1 {.start_|
000022f0  65 78 74 65 6e 74 20 3d  20 30 0a 65 78 74 65 6e  |extent = 0.exten|
00002300  74 5f 63 6f 75 6e 74 20  3d 20 31 30 36 37 37 33  |t_count = 106773|
00002310  0a 0a 74 79 70 65 20 3d  20 22 73 74 72 69 70 65  |..type = "stripe|
00002320  64 22 0a 73 74 72 69 70  65 5f 63 6f 75 6e 74 20  |d".stripe_count |
00002330  3d 20 31 09 23 20 6c 69  6e 65 61 72 0a 0a 73 74  |= 1.# linear..st|
00002340  72 69 70 65 73 20 3d 20  5b 0a 22 70 76 30 22 2c  |ripes = [."pv0",|
00002350  20 35 31 32 0a 5d 0a 7d  0a 7d 0a 7d 0a 7d 0a 23  | 512.].}.}.}.}.#|
00002360  20 47 65 6e 65 72 61 74  65 64 20 62 79 20 4c 56  | Generated by LV|
00002370  4d 32 20 76 65 72 73 69  6f 6e 20 32 2e 30 32 2e  |M2 version 2.02.|
00002380  36 36 28 32 29 20 28 32  30 31 30 2d 30 35 2d 32  |66(2) (2010-05-2|
00002390  30 29 3a 20 53 61 74 20  4d 61 79 20 32 38 20 31  |0): Sat May 28 1|
000023a0  32 3a 32 38 3a 30 34 20  32 30 31 31 0a 0a 63 6f  |2:28:04 2011..co|
000023b0  6e 74 65 6e 74 73 20 3d  20 22 54 65 78 74 20 46  |ntents = "Text F|
000023c0  6f 72 6d 61 74 20 56 6f  6c 75 6d 65 20 47 72 6f  |ormat Volume Gro|
000023d0  75 70 22 0a 76 65 72 73  69 6f 6e 20 3d 20 31 0a  |up".version = 1.|
000023e0  0a 64 65 73 63 72 69 70  74 69 6f 6e 20 3d 20 22  |.description = "|
000023f0  22 0a 0a 63 72 65 61 74  69 6f 6e 5f 68 6f 73 74  |"..creation_host|
00002400  20 3d 20 22 64 65 62 69  61 6e 22 09 23 20 4c 69  | = "debian".# Li|
00002410  6e 75 78 20 64 65 62 69  61 6e 20 32 2e 36 2e 33  |nux debian 2.6.3|
00002420  32 2d 35 2d 61 6d 64 36  34 20 23 31 20 53 4d 50  |2-5-amd64 #1 SMP|
00002430  20 4d 6f 6e 20 4d 61 72  20 37 20 32 31 3a 33 35  | Mon Mar 7 21:35|
00002440  3a 32 32 20 55 54 43 20  32 30 31 31 20 78 38 36  |:22 UTC 2011 x86|
00002450  5f 36 34 0a 63 72 65 61  74 69 6f 6e 5f 74 69 6d  |_64.creation_tim|
00002460  65 20 3d 20 31 33 30 36  35 38 35 36 38 34 09 23  |e = 1306585684.#|
00002470  20 53 61 74 20 4d 61 79  20 32 38 20 31 32 3a 32  | Sat May 28 12:2|
00002480  38 3a 30 34 20 32 30 31  31 0a 0a 00 00 00 00 00  |8:04 2011.......|
00002490  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000027f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
alzgrinew:~#

===>8====

2011/9/28 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder at gmail.com>:
> On 10.08.2011 00:51, Yaroslav Leonov wrote:
>> Hi,
>>
>> I got error in %subj% upon upgrading from old grub-pc (1.98+20100804-14) to new (1.99-11)
>>
> In your case it's a problem on the RAID, not LVM level. I'll need your
> fdisk output as well as result of
> grub-fstest -c 2 /dev/sd[ab] hex '(mduuid/<UUID>)+20'
> You can find the UUID out with:
> grub-fstest -c 2 /dev/sd[ab] ls
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>



-- 


C уважением, Ярослав Леонов.





More information about the Pkg-grub-devel mailing list