Page 1 of 1
error: unknown LVM metadata header
Posted: 2014-02-21 09:36
by AWOHille
Hallo,
folgende Fehlermeldung erhalte ich bei einem update-grub
Code: Select all
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Generating grub.cfg ...
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found linux image: /boot/vmlinuz-3.8.0-36-generic
Found initrd image: /boot/initrd.img-3.8.0-36-generic
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found linux image: /boot/vmlinuz-3.8.0-35-generic
Found initrd image: /boot/initrd.img-3.8.0-35-generic
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found memtest86+ image: /boot/memtest86+.bin
error: unknown LVM metadata header.
done
Distribution: Ubuntu 12.04 LTS. Die Fehlermeldung ist mir erst bei einem Kernel-Update aufgefallen. Einen Tag zuvor hatte ich einige LVM's gelöscht und auch verkleinert. Ob dies im Zusammenhang steht, kann ich nicht mehr nachvollziehen. Kennt jemand eine Lösung für diese Fehlermeldung?
Re: error: unknown LVM metadata header
Posted: 2014-02-21 09:48
by ddm3ve
Du solltest die grub.conf auf dei neuen Partitionen anpassen. Offensichtlich ist dort noch etwas konfiguriert, dass Du eventuell gelöscht hast.
Das ist nur eine Vermutung von mir. Hatte selbiges Problem bisher nicht, hatte aber auch noch nie den Fall, eine Boot / Root Partition in einem LVM abgelegt zu haben.
Re: error: unknown LVM metadata header
Posted: 2014-02-21 11:24
by AWOHille
Danke erst mal für deine Antwort.
Die Boot / Root Partitionen sind eigentlich nicht in einem LVM abgelegt.
md0 = swap
md1 = /
md2 = LVM
Das Probleme war Anfangs auch nicht, wie gesagt, ist mir erst beim letzten Kernel-Update aufgefallen.
Re: error: unknown LVM metadata header
Posted: 2014-02-21 12:50
by ddm3ve
Führe mal folgende Befehle aus:
pvdisplay
vgdisply,
lvdisplay
und Poste mal die Ausgabe, wenn das auch nicht klappt, dann befürchte sind die Partitonen verloren und mit dem Kernel Update hat sich eventuelle etwas am Raid geändert.
Re: error: unknown LVM metadata header
Posted: 2014-02-21 14:35
by AWOHille
pvdisplay
Code: Select all
--- Physical volume ---
PV Name /dev/md3
VG Name vg1
PV Size 931.39 GiB / not usable 1.50 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 238435
Free PE 18787
Allocated PE 219648
PV UUID bcnwL1-2X1S-vkvb-Ub1z-VOF9-wMvC-STwhOs
--- Physical volume ---
PV Name /dev/md2
VG Name vg0
PV Size 3.62 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 949508
Free PE 310788
Allocated PE 638720
PV UUID ow4lpL-fTBc-dukN-hd1H-MhPk-aGO8-8TOyZz
vgdisplay
Code: Select all
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 27
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 1
Act PV 1
VG Size 931.39 GiB
PE Size 4.00 MiB
Total PE 238435
Alloc PE / Size 219648 / 858.00 GiB
Free PE / Size 18787 / 73.39 GiB
VG UUID HltJGV-Tt9C-sQod-J7o4-S5p2-OZkk-caJkQM
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 8
Open LV 8
Max PV 0
Cur PV 1
Act PV 1
VG Size 3.62 TiB
PE Size 4.00 MiB
Total PE 949508
Alloc PE / Size 638720 / 2.44 TiB
Free PE / Size 310788 / 1.19 TiB
VG UUID BBDyyk-AJ9m-OgKa-zYKB-ot8U-oKjn-QYUuHh
lvdisplay
Code: Select all
--- Logical volume ---
LV Name /dev/vg1/backup_ivonne
VG Name vg1
LV UUID ogkb3r-m3z0-Jz0g-ESgr-ftlw-xqsW-wTxGQL
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GiB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Name /dev/vg1/backup_dreambox
VG Name vg1
LV UUID AHaOOK-Uc41-S73e-icIS-UkQv-2fav-73kbix
LV Write Access read/write
LV Status available
# open 1
LV Size 3.00 GiB
Current LE 768
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
--- Logical volume ---
LV Name /dev/vg1/backup_andere
VG Name vg1
LV UUID WnEaa8-cYzc-yMML-YQPa-szXu-wfpI-5R8rWr
LV Write Access read/write
LV Status available
# open 1
LV Size 700.00 GiB
Current LE 179200
Segments 3
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:2
--- Logical volume ---
LV Name /dev/vg1/backup_pc
VG Name vg1
LV UUID FlHAfb-D7st-Bs8w-s0cT-YqO6-c8h3-wwNR8p
LV Write Access read/write
LV Status available
# open 1
LV Size 150.00 GiB
Current LE 38400
Segments 3
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:3
--- Logical volume ---
LV Name /dev/vg0/usr
VG Name vg0
LV UUID jQq017-uc7f-s00d-hmOb-VdPu-D75Q-NrOeNz
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GiB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:4
--- Logical volume ---
LV Name /dev/vg0/var
VG Name vg0
LV UUID 9Rw41k-26qM-zpeA-CKvE-lIKt-NvwX-jNB1hg
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GiB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:5
--- Logical volume ---
LV Name /dev/vg0/tmp
VG Name vg0
LV UUID fACzPe-HrhD-JPX1-EmKz-92cH-v83Q-emTHOb
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:6
--- Logical volume ---
LV Name /dev/vg0/tc_container
VG Name vg0
LV UUID HAaRxm-Q2TE-OCmH-PoJG-oOi3-BpyH-eeBAzO
LV Write Access read/write
LV Status available
# open 1
LV Size 1.86 TiB
Current LE 486400
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:7
--- Logical volume ---
LV Name /dev/vg0/hp
VG Name vg0
LV UUID tAHbwA-S6OK-zfCl-Mf7n-1WUN-ZddB-nhJ8qu
LV Write Access read/write
LV Status available
# open 1
LV Size 20.00 GiB
Current LE 5120
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:8
--- Logical volume ---
LV Name /dev/vg0/ivonne
VG Name vg0
LV UUID UsC3uK-gJxA-nPq2-d5I1-LP8P-B1fF-4fyrLV
LV Write Access read/write
LV Status available
# open 1
LV Size 3.00 GiB
Current LE 768
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:9
--- Logical volume ---
LV Name /dev/vg0/fotos
VG Name vg0
LV UUID X448iV-0Ex7-o7bL-SUTv-o1Lx-Zn0f-oNdKer
LV Write Access read/write
LV Status available
# open 1
LV Size 60.00 GiB
Current LE 15360
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:10
--- Logical volume ---
LV Name /dev/vg0/hille_dm
VG Name vg0
LV UUID V2RQKl-erzb-yKtR-Zo0U-WU5t-HeQ5-gfBn2o
LV Write Access read/write
LV Status available
# open 1
LV Size 500.00 GiB
Current LE 128000
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 4096
Block device 252:11
Probleme gibt es keine, auch keine Einträge in den log-Files. Dieses Problem hatte ich bsiher ebenfalls nicht, allerdings hatte ich bis jetzt auch noch nicht Ubuntu auf Servern im Einsatz.
Re: error: unknown LVM metadata header
Posted: 2014-02-21 14:57
by ddm3ve
Re: error: unknown LVM metadata header
Posted: 2014-02-21 17:08
by AWOHille
Danke für den Hinweis. Leider scheinen die MD-arrays alle i.O. zu sein.
pvck /dev/md2
Code: Select all
Found label on /dev/md2, sector 1, type=LVM2 001
Found text metadata area: offset=4096, size=1044480
pvck /dev/md3
Code: Select all
Found label on /dev/md3, sector 1, type=LVM2 001
Found text metadata area: offset=4096, size=192512
vgscan
Code: Select all
Reading all physical volumes. This may take a while...
Found volume group "vg1" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
Für weitere Hinweise wäre ich dankbar.
Re: error: unknown LVM metadata header
Posted: 2014-03-03 16:23
by AWOHille
Nur noch mal zur Info. Das Problem konnte gelöst werden. Im Endeffekt habe ich die betroffene Volume Group gelöscht. Danach ein Grub Update bzw. anschließend die Volume Group inkl. Logical Volume wieder angelegt. Die Ursache für die Fehlermeldung ließ sich leider aber nicht mehr nachvollziehen.