Not booting, stuck in dracut. Missing PV. LVM problem
RHEL 8.6. I did some mirroring work, trying to mirror the main volume group to another one on the external SSD. Something went wrong. maybe I incorrectly split the mirrors and it no longer boots.
Stuck in dracut prompt, with these errors:
WARNING: ignoring metadata seqno 62 on /dev/sda for segno 67 on /dev/nvme0n1p3 for VG ****.
WARNING: Inconsistent metadata found for VG rhel.
See vgck --updatemetadata to correct inconsistency.
WARNING: VG **** was previously updated while PV /dev/sda was missing.
WARNING: VG **** was missing PV /dev/sda xxxxxxxxxx
Notes: /dev/sda is the external SSD. Somehow the device names switched, it used to be /dev/sdc.
Anyway, I need to take /dev/sda from the configuration but in dracut have no access to "vgck --updatemetadata" or any other LVM commands like vgreduce or pvreduce.
Last edited by etcetera; 03-29-2023 at 06:37 PM.
|