LVM Fehler nach Ubuntu 20.04 Update - VG is using an old PV header, modify the VG to update
Posted by Guenny onNeulich 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 entryThis 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 | ThreadedGoogle Pnookle on :
Dominik Silberwolf on :
Oliver on :
Klaus on :
Winfried on :
Andreas on :
Tommy B on :
blitzdesigner on :