LVM Fehler nach Ubuntu 20.04 Update - VG is using an old PV header, modify the VG to update

Neulich ist mir ein Fehler beim Update von Ubuntu 16.04 auf Ubuntu 20.04 im LVM aufgefallen. Und zwar wurde eine Meldung angezeigt, die auf alte PV (Physical Volume) Header in einer VG (Volume Group) anspielt.

Ich hatte zum Thema LVM vor langer Zeit mal einen Artikel verfasst, falls es jemanden interessiert.

Der Fehler lässt sich mit dem Befehl vgck, welcher die Konsistenz von VGs prüft, nachstellen:

sudo vgck
  WARNING: PV /dev/sda2 in VG derVolumeGroupName is using an old PV header, modify the VG to update.
  WARNING: PV /dev/sda5 in VG derVolumeGroupName is using an old PV header, modify the VG to update.


Mit dem gleichen Tool lässt sich der Fehler beheben, und zwar mit der Option updatemetadata, laut man pages kann er folgendes:

Update VG metadata to correct problems.  If VG metadata was updated while a PV was missing, and the PV reappears with an old version of metadata, then this option (or any other command that writes metadata) will update the metadata on the previously missing PV.

 Der LVM Fehler sollte nach dem Ausführen von vgck zusammen mit updatemetadata nicht mehr auftauchen.

 sudo vgck --updatemetadata derVolumeGroupName

 

Trackbacks

Trackback specific URI for this entry

This link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.

www.linux-survival-blog.de on : PingBack

No entries to print

Comments

Display comments as Linear | Threaded

Google Pnookle on :

Thanks! Finally got info on how to fix this, thanks a lot!

Dominik Silberwolf on :

Interessanter Beitrag, hat mir sehr weitergeholfen. freue mich auf weitere solche Beiträge. Danke und Liebe Grüße Dominik Silberwolf

Oliver on :

Super - Danke! Konnte den Fehler mit der Anleitung beheben! Liebe Grüße Oliver

Klaus on :

Vielen Dank für die schnelle Hilfe!!! :-)

Winfried on :

Danke. Fehlermeldung nach Ubuntu Update endlich beseitigt!

Andreas on :

Genau die Lösung zum Problem bei uns nach dem Upgrade von 16.04 über 18.04 auf 20.04. Vielen Dank für die kompakte Hilfe.

Tommy B on :

Danke, 1. Treffer in der Google Suche und gleich die richtige Lösung.

blitzdesigner on :

1. Treffer = Lösung Top, danke!

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.