Incorrect metadata area header checksum
Hi all,
I just reordered my disk space: shrunk /dev/hda6, created a new partition /dev/hda10 with this new space and added /dev/hda10 to the existing volume group vg_uhu00. After that I could boot and all seems to be fine. but running vgscan I get
root@uhu:/home/ecki/backup/uhu# vgscan Reading all physical volumes. This may take a while... Incorrect metadata area header checksum Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Volume group "vg_uhu00" not found
Some additional information:
I'm running Ubuntu 6.06 (dapper)
root@uhu:/home/ecki/backup/uhu# uname -a Linux uhu 2.6.15-51-386 #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007 i686 GNU/Linux
root@uhu:/home/ecki/backup/uhu# apt-show-versions lvm2 lvm2/dapper uptodate 2.02.02-1ubuntu1.5
root@uhu:/home/ecki/backup/uhu# fdisk -ul
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 63 14329979 7164958+ 7 HPFS/NTFS /dev/hda2 14329980 78140159 31905090 f W95 Ext'd (LBA) /dev/hda5 23438898 25993169 1277136 82 Linux swap / Solaris /dev/hda6 25993233 38443544 6225156 83 Linux /dev/hda7 42556248 42684704 64228+ 83 Linux /dev/hda8 42684768 78140159 17727696 8e Linux LVM /dev/hda9 14330106 23438834 4554364+ 83 Linux /dev/hda10 38443608 42556184 2056288+ 83 Linux
Partition table entries are not in disk order
The volume group vg_uhu00 uses the partitions /dev/hda8, /dev/hda9 and /dev/hda10 and, I believe, but I'm not sure, /dev/hda5 (swap partition). I can't check, because lvdisplay gives the same output as vgscan above.
I have a line
filter = [ "r|/dev/cdrom|", "r|/dev/hda[1,6,7]|" ]
in my /etc/lvm/lvm.conf
Any suggestions, how to get a clean volume group?
Thanks a lot
Ecki
Signature · 6 lines
Eckhard Kosin Kaspar-Kerll-Str. 41 D-81245 München, Germany Tel.: (+49)(+89) 88 88 479 Tel., Fax: (+49)(+89) 835 844 mailto:[email protected]
Quoted 53 lines · Eckhard Kosin
Hi all,
I just reordered my disk space: shrunk
/dev/hda6, created a new partition/dev/hda10with this new space and added/dev/hda10to the existing volume groupvg_uhu00. After that I could boot and all seems to be fine. but running vgscan I getroot@uhu:/home/ecki/backup/uhu# vgscan Reading all physical volumes. This may take a while... Incorrect metadata area header checksum Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Incorrect metadata area header checksum Couldn't find device with uuid 'Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'. Couldn't find all physical volumes for volume group vg_uhu00. Volume group "vg_uhu00" not foundSome additional information:
I'm running Ubuntu 6.06 (dapper)
root@uhu:/home/ecki/backup/uhu# uname -a Linux uhu 2.6.15-51-386 #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007 i686 GNU/Linuxroot@uhu:/home/ecki/backup/uhu# apt-show-versions lvm2 lvm2/dapper uptodate 2.02.02-1ubuntu1.5root@uhu:/home/ecki/backup/uhu# fdisk -ulDisk
/dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors Units = sectors of 1 * 512 = 512 bytesDevice Boot Start End Blocks Id System /dev/hda1 * 63 14329979 7164958+ 7 HPFS/NTFS /dev/hda2 14329980 78140159 31905090 f W95 Ext'd (LBA) /dev/hda5 23438898 25993169 1277136 82 Linux swap / Solaris /dev/hda6 25993233 38443544 6225156 83 Linux /dev/hda7 42556248 42684704 64228+ 83 Linux /dev/hda8 42684768 78140159 17727696 8e Linux LVM /dev/hda9 14330106 23438834 4554364+ 83 Linux /dev/hda10 38443608 42556184 2056288+ 83 LinuxPartition table entries are not in disk order
Quoted 7 lines
The volume group
vg_uhu00uses the partitions/dev/hda8,/dev/hda9and/dev/hda10and, I believe, but I'm not sure,/dev/hda5(swap partition). I can't check, because lvdisplay gives the same output as vgscan above.I have a line
filter = [ "r|/dev/cdrom|", "r|/dev/hda[1,6,7]|" ]
Is there any particular reason your modifying the filter setting? Generally you shouldn't need to modify it, except for a few special situations.
Can you attach /etc/lvm/archive/vg_uhu00 ? The file will contain an entry showing which device "Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR" is likely to correspond to. Is it rejected by your filter setting?
If, when using the default filter setting, you still receive the "Couldn't find device with uuid Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR'" messages, then you've made an error when resizing the partitions.
--Dave
Quoted 8 lines · David Robinson
Quoted 3 lines · Eckhard Kosin
lvm2/dapper uptodate 2.02.02-1ubuntu1.5
filter = [ "r|/dev/cdrom|", "r|/dev/hda[1,6,7]|" ]
Is there any particular reason your modifying the filter setting? Generally you shouldn't need to modify it, except for a few special situations.
Indeed, that line is of course wrong if you now *intend* to use hda10! ('$' missing.)
(And upgrade 2.02.02 to something more recent.)
Alasdair
Signature · 1 line
[email protected]
Hi Dave, hi Alasdair,
thank you for your quick answer.
Am Sonntag, den 03.02.2008, 12:21 +0000 schrieb Alasdair G Kergon:
Quoted 9 lines · David Robinson
Quoted 8 lines
Quoted 3 lines · Eckhard Kosin
lvm2/dapper uptodate 2.02.02-1ubuntu1.5
filter = [ "r|/dev/cdrom|", "r|/dev/hda[1,6,7]|" ]
Is there any particular reason your modifying the filter setting? Generally you shouldn't need to modify it, except for a few special situations.
I exclude hda1 (NTFS), hda6 (old LINUX) and hda7 (/boot), because they are not under LVM. Without exclusion by a filter rule scanning of these devices produce the "Incorrect metadata area header checksum" message.
Quoted 3 lines
Indeed, that line is of course wrong if you now *intend* to use hda10! ('$' missing.)
Indeed, I should have read the documentation included in lvm.conf, sorry.
I just changed the filter rule to
filter = [ "r|/dev/cdrom|", "r|^/dev/hda[1,6,7]$|" ]
Now, hda10 will be found, but I get the "Incorrect metadata area header checksum" complain from the scanning of hda7: A citation from the output of "vgdisplay -vvv":
...
Opened /dev/hda7 RO O_DIRECT
/dev/hda7: block size is 1024 bytes
/dev/hda7: lvm2 label detected
Closed /dev/hda7
lvmcache: /dev/hda7 now orphaned
Opened /dev/hda7 RO O_DIRECT
/dev/hda7: block size is 1024 bytes
Incorrect metadata area header checksum
Closed /dev/hda7
Opened /dev/vg_uhu00/var_cache_rsnapshot RO O_DIRECT
...
Opened /dev/evms/hda7 RO O_DIRECT
/dev/evms/hda7: block size is 512 bytes
/dev/evms/hda7: lvm2 label detected
Closed /dev/evms/hda7
Duplicate PV EWhly9hF5TcIV1KyHfXVUQDBe7S1uf14 on /dev/hda7 - using
dm /dev/evms/hda7
Opened /dev/evms/hda7 RO O_DIRECT
/dev/evms/hda7: block size is 512 bytes
Incorrect metadata area header checksum
Closed /dev/evms/hda7
...
I append the complete output of "vgdisplay -vvv".
Why hda7 is scanned in spite of the filter rule? And what's about /dev/evms/hda7 ? I have to exclude it by its own filter rule?
Thank you
Ecki
Quoted 4 lines
(And upgrade 2.02.02 to something more recent.)
Alasdair
Signature · 6 lines
Eckhard Kosin Kaspar-Kerll-Str. 41 D-81245 München, Germany Tel.: (+49)(+89) 88 88 479 Tel., Fax: (+49)(+89) 835 844 mailto:[email protected]
Processing: vgdisplay -vvv
O_DIRECT will be used
Setting global/locking_type to 1
Setting global/locking_dir to /var/lock/lvm
File-based locking enabled.
Finding all volume groups
/dev/ram0: Not using O_DIRECT
Opened /dev/ram0 RO
/dev/ram0: block size is 1024 bytes
/dev/ram0: No label detected
Closed /dev/ram0
Opened /dev/dm RO O_DIRECT
/dev/dm: block size is 1024 bytes
/dev/dm: No label detected
Closed /dev/dm
/dev/ram1: Not using O_DIRECT
Opened /dev/ram1 RO
/dev/ram1: block size is 1024 bytes
/dev/ram1: No label detected
Closed /dev/ram1
Opened /dev/hda1 RO O_DIRECT
/dev/hda1: block size is 512 bytes
/dev/hda1: No label detected
Closed /dev/hda1
Opened /dev/vg_uhu00/home RO O_DIRECT
/dev/vg_uhu00/home: block size is 4096 bytes
/dev/vg_uhu00/home: No label detected
Closed /dev/vg_uhu00/home
/dev/ram2: Not using O_DIRECT
Opened /dev/ram2 RO
/dev/ram2: block size is 1024 bytes
/dev/ram2: No label detected
Closed /dev/ram2
Opened /dev/vg_uhu00/usr RO O_DIRECT
/dev/vg_uhu00/usr: block size is 1024 bytes
/dev/vg_uhu00/usr: No label detected
Closed /dev/vg_uhu00/usr
/dev/ram3: Not using O_DIRECT
Opened /dev/ram3 RO
/dev/ram3: block size is 1024 bytes
/dev/ram3: No label detected
Closed /dev/ram3
Opened /dev/vg_uhu00/opt RO O_DIRECT
/dev/vg_uhu00/opt: block size is 1024 bytes
/dev/vg_uhu00/opt: No label detected
Closed /dev/vg_uhu00/opt
/dev/ram4: Not using O_DIRECT
Opened /dev/ram4 RO
/dev/ram4: block size is 1024 bytes
/dev/ram4: No label detected
Closed /dev/ram4
Opened /dev/vg_uhu00/tmp RO O_DIRECT
/dev/vg_uhu00/tmp: block size is 1024 bytes
/dev/vg_uhu00/tmp: No label detected
Closed /dev/vg_uhu00/tmp
/dev/ram5: Not using O_DIRECT
Opened /dev/ram5 RO
/dev/ram5: block size is 1024 bytes
/dev/ram5: No label detected
Closed /dev/ram5
Opened /dev/hda5 RO O_DIRECT
/dev/hda5: block size is 4096 bytes
/dev/hda5: No label detected
Closed /dev/hda5
Opened /dev/vg_uhu00/var RO O_DIRECT
/dev/vg_uhu00/var: block size is 1024 bytes
/dev/vg_uhu00/var: No label detected
Closed /dev/vg_uhu00/var
/dev/ram6: Not using O_DIRECT
Opened /dev/ram6 RO
/dev/ram6: block size is 1024 bytes
/dev/ram6: No label detected
Closed /dev/ram6
Opened /dev/hda6 RO O_DIRECT
/dev/hda6: block size is 4096 bytes
/dev/hda6: No label detected
Closed /dev/hda6
Opened /dev/vg_uhu00/usr_local RO O_DIRECT
/dev/vg_uhu00/usr_local: block size is 1024 bytes
/dev/vg_uhu00/usr_local: No label detected
Closed /dev/vg_uhu00/usr_local
/dev/ram7: Not using O_DIRECT
Opened /dev/ram7 RO
/dev/ram7: block size is 1024 bytes
/dev/ram7: No label detected
Closed /dev/ram7
Opened /dev/hda7 RO O_DIRECT
/dev/hda7: block size is 1024 bytes
/dev/hda7: lvm2 label detected
Closed /dev/hda7
lvmcache: /dev/hda7 now orphaned
Opened /dev/hda7 RO O_DIRECT
/dev/hda7: block size is 1024 bytes
Incorrect metadata area header checksum
Closed /dev/hda7
Opened /dev/vg_uhu00/var_cache_rsnapshot RO O_DIRECT /dev/vg_uhu00/var_cache_rsnapshot: block size is 4096 bytes
/dev/vg_uhu00/var_cache_rsnapshot: No label detected
Closed /dev/vg_uhu00/var_cache_rsnapshot
/dev/ram8: Not using O_DIRECT
Opened /dev/ram8 RO
/dev/ram8: block size is 1024 bytes
/dev/ram8: No label detected
Closed /dev/ram8
Opened /dev/hda8 RO O_DIRECT
/dev/hda8: block size is 4096 bytes
/dev/hda8: lvm2 label detected
Closed /dev/hda8
lvmcache: /dev/hda8 now orphaned
Opened /dev/hda8 RO O_DIRECT
/dev/hda8: block size is 4096 bytes
Closed /dev/hda8
lvmcache: /dev/hda8 now in VG vg_uhu00
Opened /dev/evms/hda1 RO O_DIRECT
/dev/evms/hda1: block size is 512 bytes
/dev/evms/hda1: No label detected
Closed /dev/evms/hda1
/dev/ram9: Not using O_DIRECT
Opened /dev/ram9 RO
/dev/ram9: block size is 1024 bytes
/dev/ram9: No label detected
Closed /dev/ram9
Opened /dev/hda9 RO O_DIRECT
/dev/hda9: block size is 512 bytes
/dev/hda9: lvm2 label detected
Closed /dev/hda9
lvmcache: /dev/hda9 now orphaned
Opened /dev/hda9 RO O_DIRECT
/dev/hda9: block size is 512 bytes
Closed /dev/hda9
lvmcache: /dev/hda9 now in VG vg_uhu00
Opened /dev/evms/hda5 RO O_DIRECT
/dev/evms/hda5: block size is 4096 bytes
/dev/evms/hda5: No label detected
Closed /dev/evms/hda5
/dev/ram10: Not using O_DIRECT
Opened /dev/ram10 RO
/dev/ram10: block size is 1024 bytes
/dev/ram10: No label detected
Closed /dev/ram10
Opened /dev/hda10 RO O_DIRECT
/dev/hda10: block size is 512 bytes
/dev/hda10: lvm2 label detected
Closed /dev/hda10
lvmcache: /dev/hda10 now orphaned
Opened /dev/hda10 RO O_DIRECT
/dev/hda10: block size is 512 bytes
Closed /dev/hda10
lvmcache: /dev/hda10 now in VG vg_uhu00
Opened /dev/evms/hda6 RO O_DIRECT
/dev/evms/hda6: block size is 4096 bytes
/dev/evms/hda6: No label detected
Closed /dev/evms/hda6
/dev/ram11: Not using O_DIRECT
Opened /dev/ram11 RO
/dev/ram11: block size is 1024 bytes
/dev/ram11: No label detected
Closed /dev/ram11
Opened /dev/evms/hda7 RO O_DIRECT
/dev/evms/hda7: block size is 512 bytes
/dev/evms/hda7: lvm2 label detected
Closed /dev/evms/hda7
Duplicate PV EWhly9hF5TcIV1KyHfXVUQDBe7S1uf14 on /dev/hda7 - using dm /dev/evms/hda7
Opened /dev/evms/hda7 RO O_DIRECT
/dev/evms/hda7: block size is 512 bytes
Incorrect metadata area header checksum
Closed /dev/evms/hda7
/dev/ram12: Not using O_DIRECT
Opened /dev/ram12 RO
/dev/ram12: block size is 1024 bytes
/dev/ram12: No label detected
Closed /dev/ram12
/dev/ram13: Not using O_DIRECT
Opened /dev/ram13 RO
/dev/ram13: block size is 1024 bytes
/dev/ram13: No label detected
Closed /dev/ram13
/dev/ram14: Not using O_DIRECT
Opened /dev/ram14 RO
/dev/ram14: block size is 1024 bytes
/dev/ram14: No label detected
Closed /dev/ram14
/dev/ram15: Not using O_DIRECT
Opened /dev/ram15 RO
/dev/ram15: block size is 1024 bytes
/dev/ram15: No label detected
Closed /dev/ram15
Opened /dev/evms/lvm2/vg_uhu00/home RO O_DIRECT /dev/evms/lvm2/vg_uhu00/home: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/home: No label detected
Closed /dev/evms/lvm2/vg_uhu00/home
Opened /dev/evms/lvm2/vg_uhu00/opt RO O_DIRECT /dev/evms/lvm2/vg_uhu00/opt: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/opt: No label detected
Closed /dev/evms/lvm2/vg_uhu00/opt
Opened /dev/evms/lvm2/vg_uhu00/root RO O_DIRECT /dev/evms/lvm2/vg_uhu00/root: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/root: No label detected
Closed /dev/evms/lvm2/vg_uhu00/root
Opened /dev/evms/lvm2/vg_uhu00/tmp RO O_DIRECT /dev/evms/lvm2/vg_uhu00/tmp: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/tmp: No label detected
Closed /dev/evms/lvm2/vg_uhu00/tmp
Opened /dev/evms/lvm2/vg_uhu00/usr RO O_DIRECT /dev/evms/lvm2/vg_uhu00/usr: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/usr: No label detected
Closed /dev/evms/lvm2/vg_uhu00/usr
Opened /dev/evms/lvm2/vg_uhu00/usr_local RO O_DIRECT /dev/evms/lvm2/vg_uhu00/usr_local: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/usr_local: No label detected
Closed /dev/evms/lvm2/vg_uhu00/usr_local
Opened /dev/evms/lvm2/vg_uhu00/var RO O_DIRECT /dev/evms/lvm2/vg_uhu00/var: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/var: No label detected
Closed /dev/evms/lvm2/vg_uhu00/var
Opened /dev/evms/lvm2/vg_uhu00/var_cache_rsnapshot RO O_DIRECT /dev/evms/lvm2/vg_uhu00/var_cache_rsnapshot: block size is 4096 bytes
/dev/evms/lvm2/vg_uhu00/var_cache_rsnapshot: No label detected
Closed /dev/evms/lvm2/vg_uhu00/var_cache_rsnapshot
Locking /var/lock/lvm/V_vg_uhu00 RB
Finding volume group "vg_uhu00"
Opened /dev/hda8 RO O_DIRECT
/dev/hda8: block size is 4096 bytes
/dev/hda8: lvm2 label detected
Opened /dev/hda9 RO O_DIRECT
/dev/hda9: block size is 512 bytes
/dev/hda9: lvm2 label detected
Opened /dev/hda10 RO O_DIRECT
/dev/hda10: block size is 512 bytes
/dev/hda10: lvm2 label detected
/dev/hda8: lvm2 label detected
/dev/hda9: lvm2 label detected
/dev/hda10: lvm2 label detected
Read vg_uhu00 metadata (932) from /dev/hda8 at 113152 size 4207
/dev/hda8: lvm2 label detected
/dev/hda9: lvm2 label detected
/dev/hda10: lvm2 label detected
Read vg_uhu00 metadata (932) from /dev/hda9 at 83968 size 4207
/dev/hda8: lvm2 label detected
/dev/hda9: lvm2 label detected
/dev/hda10: lvm2 label detected
Read vg_uhu00 metadata (932) from /dev/hda10 at 27648 size 4207
/dev/hda8 0: 0 256: root(0:0)
/dev/hda8 1: 256 1024: home(0:0)
/dev/hda8 2: 1280 512: usr(0:0)
/dev/hda8 3: 1792 256: opt(0:0)
/dev/hda8 4: 2048 125: home(1024:0)
/dev/hda8 5: 2173 256: tmp(0:0)
/dev/hda8 6: 2429 238: var(0:0)
/dev/hda8 7: 2667 18: var_cache_rsnapshot(1917:0)
/dev/hda8 8: 2685 125: usr_local(0:0)
/dev/hda8 9: 2810 256: usr(512:0)
/dev/hda8 10: 3066 1024: var_cache_rsnapshot(0:0)
/dev/hda8 11: 4090 131: home(1149:0)
/dev/hda8 12: 4221 106: var_cache_rsnapshot(1024:0)
/dev/hda9 0: 0 662: var_cache_rsnapshot(1130:0)
/dev/hda9 1: 662 188: tmp(256:0)
/dev/hda9 2: 850 256: home(1280:0)
/dev/hda9 3: 1106 5: var_cache_rsnapshot(1935:0)
/dev/hda10 0: 0 188: root(256:0)
/dev/hda10 1: 188 188: usr(768:0)
/dev/hda10 2: 376 125: var_cache_rsnapshot(1792:0)
Getting device info for vg_uhu00-root
dm version O [16384]
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3CdjOet96DpeOAbPH3OBwU1R0Xy5xpEPu O [16384]
Getting device info for vg_uhu00-home
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3HX3ggwEt0JbuLgE9blJgOqUuw5jF7Wfz O [16384]
Getting device info for vg_uhu00-usr
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy38Aat6okCW4jqrSWodNAj7acpMcE2DMBB O [16384]
Getting device info for vg_uhu00-opt
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3BaODGoOT2Q4ts6Wah8ZQgfePJu0R1RSc O [16384]
Getting device info for vg_uhu00-tmp
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3Biwcuzhqr0WpHoFRFlZs8rhyn78X4nUY O [16384]
Getting device info for vg_uhu00-var
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3mqx311fiVLVtuwAPppqZfnWXuJewscVK O [16384]
Getting device info for vg_uhu00-usr_local
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3FjRudmLntxcpdBxZhv5bQ566WL68fu34 O [16384]
Getting device info for vg_uhu00-var_cache_rsnapshot
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy38HzIxKK6m6Ww4c5DijvKAF0Q6DkM8WIq O [16384]
Getting device info for vg_uhu00-root
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3CdjOet96DpeOAbPH3OBwU1R0Xy5xpEPu O [16384]
Getting device info for vg_uhu00-home
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3HX3ggwEt0JbuLgE9blJgOqUuw5jF7Wfz O [16384]
Getting device info for vg_uhu00-usr
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy38Aat6okCW4jqrSWodNAj7acpMcE2DMBB O [16384]
Getting device info for vg_uhu00-opt
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3BaODGoOT2Q4ts6Wah8ZQgfePJu0R1RSc O [16384]
Getting device info for vg_uhu00-tmp
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3Biwcuzhqr0WpHoFRFlZs8rhyn78X4nUY O [16384]
Getting device info for vg_uhu00-var
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3mqx311fiVLVtuwAPppqZfnWXuJewscVK O [16384]
Getting device info for vg_uhu00-usr_local
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy3FjRudmLntxcpdBxZhv5bQ566WL68fu34 O [16384]
Getting device info for vg_uhu00-var_cache_rsnapshot
dm info LVM-ZpY3wxDq1NlG2byJ5NqXZQ7C32MX1Hy38HzIxKK6m6Ww4c5DijvKAF0Q6DkM8WIq O [16384]
--- Volume group ---
VG Name vg_uhu00
System ID
Format lvm2 Metadata Areas 3 Metadata Sequence No 932 VG Access read/write VG Status resizable MAX LV 0 Cur LV 8 Open LV 8 Max PV 0 Cur PV 3 Act PV 3 VG Size 23,20 GB PE Size 4,00 MB Total PE 5939 Alloc PE / Size 5939 / 23,20 GB Free PE / Size 0 / 0 VG UUID ZpY3wx-Dq1N-lG2b-yJ5N-qXZQ-7C32-MX1Hy3
--- Logical volume ---
LV Name /dev/vg_uhu00/root VG Name vg_uhu00 LV UUID CdjOet-96Dp-eOAb-PH3O-BwU1-R0Xy-5xpEPu LV Write Access read/write LV Status available # open 1 LV Size 1,73 GB Current LE 444 Segments 2 Allocation inherit Read ahead sectors 0 Block device 254:0
--- Logical volume ---
LV Name /dev/vg_uhu00/home VG Name vg_uhu00 LV UUID HX3ggw-Et0J-buLg-E9bl-JgOq-Uuw5-jF7Wfz LV Write Access read/write LV Status available # open 1 LV Size 6,00 GB Current LE 1536 Segments 4 Allocation inherit Read ahead sectors 0 Block device 254:1
--- Logical volume ---
LV Name /dev/vg_uhu00/usr VG Name vg_uhu00 LV UUID 8Aat6o-kCW4-jqrS-WodN-Aj7a-cpMc-E2DMBB LV Write Access read/write LV Status available # open 1 LV Size 3,73 GB Current LE 956 Segments 3 Allocation inherit Read ahead sectors 0 Block device 254:2
--- Logical volume ---
LV Name /dev/vg_uhu00/opt VG Name vg_uhu00 LV UUID BaODGo-OT2Q-4ts6-Wah8-ZQgf-ePJu-0R1RSc LV Write Access read/write LV Status available # open 1 LV Size 1,00 GB Current LE 256 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:3
--- Logical volume ---
LV Name /dev/vg_uhu00/tmp VG Name vg_uhu00 LV UUID Biwcuz-hqr0-WpHo-FRFl-Zs8r-hyn7-8X4nUY LV Write Access read/write LV Status available # open 1 LV Size 1,73 GB Current LE 444 Segments 2 Allocation inherit Read ahead sectors 0 Block device 254:4
--- Logical volume ---
LV Name /dev/vg_uhu00/var VG Name vg_uhu00 LV UUID mqx311-fiVL-Vtuw-APpp-qZfn-WXuJ-ewscVK LV Write Access read/write LV Status available # open 1 LV Size 952,00 MB Current LE 238 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:5
--- Logical volume ---
LV Name /dev/vg_uhu00/usr_local VG Name vg_uhu00 LV UUID FjRudm-Lntx-cpdB-xZhv-5bQ5-66WL-68fu34 LV Write Access read/write LV Status available # open 1 LV Size 500,00 MB Current LE 125 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:6
--- Logical volume ---
LV Name /dev/vg_uhu00/var_cache_rsnapshot VG Name vg_uhu00 LV UUID 8HzIxK-K6m6-Ww4c-5Dij-vKAF-0Q6D-kM8WIq LV Write Access read/write LV Status available # open 1 LV Size 7,58 GB
Current L Read volume group vg_uhu00 from /etc/lvm/backup/vg_uhu00
Unlocking /var/lock/lvm/V_vg_uhu00
Closed /dev/hda8
Closed /dev/hda9
Closed /dev/hda10
E 1940
Segments 6 Allocation inherit Read ahead sectors 0 Block device 254:7
--- Physical volumes ---
PV Name /dev/hda8 PV UUID ynwP5s-t6S7-3eus-0qNj-xYpm-IMCJ-TsfuDU PV Status allocatable Total PE / Free PE 4327 / 0
PV Name /dev/hda9 PV UUID MvqlEq-7tZf-pZfP-EU3m-bHyQ-xs3Q-ov8cBR PV Status allocatable Total PE / Free PE 1111 / 0
PV Name /dev/hda10 PV UUID Cm961g-X5km-ifdU-r0Cp-ACmd-N9qG-XcieTR PV Status allocatable Total PE / Free PE 501 / 0
Quoted 8 lines · Eckhard Kosin
I just changed the filter rule to
filter = [ "r|/dev/cdrom|", "r|^/dev/hda[1,6,7]$|" ]
Now, hda10 will be found, but I get the "Incorrect metadata area header checksum" complain from the scanning of hda7: A citation from the output of "vgdisplay -vvv":
Quoted 11 lines
...
Opened/dev/hda7ROO_DIRECT
/dev/hda7: block size is 1024 bytes
/dev/hda7: lvm2 label detected
Closed/dev/hda7
lvmcache:/dev/hda7now orphaned
Opened/dev/hda7ROO_DIRECT
/dev/hda7: block size is 1024 bytes
Incorrect metadata area header checksum
Closed/dev/hda7
Opened/dev/vg_uhu00/var_cache_rsnapshotROO_DIRECT
Ok, the problem here isn't that you should have to create filter rules to eliminate these volumes, but that it thinks it is finding an lvm2 label on the volume.
I'm going to guess that at some point, these partitions had an LVM label on them, and then a regular filesystem was placed on them. Several filesystems don't overwrite the first 1k or so of the volume, so the label isn't going to be obliterated, just corrupted.
Can you do something like:
dd if=/dev/hda7 bs=1k count=1 | hexdump -C
You'll probably find that there is a lvm2 label there. I'm not sure of a safe way of elminiating it.
David
Quoted 2 lines · David Brown
You'll probably find that there is a lvm2 label there. I'm not sure of a safe way of elminiating it.
man pvremove
And you really should upgrade lvm2 - that's a 2-year old version with numerous known bugs in it.
Alasdair
Signature · 1 line
[email protected]