LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Not booting, stuck in dracut. Missing PV. LVM problem (https://www.linuxquestions.org/questions/linux-server-73/not-booting-stuck-in-dracut-missing-pv-lvm-problem-4175723567/)

etcetera 03-29-2023 06:36 PM

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.

jefro 03-31-2023 02:59 PM

https://access.redhat.com/solutions/2992371

Boot to some RH based live media or see if you can get to single user mode maybe?

Might see if bios change or some boot order caused sda and sdc. It seems to think that your order is external but maybe since it can't find internal it then selects external as sda.

etcetera 04-01-2023 08:05 AM

The disk / LVM configuration has to be dealt with .


All times are GMT -5. The time now is 02:46 AM.