I followed the Gentoo LVM Wiki, but I guess I've missed something because I can't mount the root partition when booting.
Some partitions are in MDADM RAID1 and the ROOT partition is in LVM mirror RAID1.
These are some of my relevant steps from livecd:
Code: Select all
genkernel --install --mdadm --mdadm-config=/etc/mdadm.conf --lvm initramfsCode: Select all
linux /${K} root=/dev/ram0 init=/linuxrc ramdisk=8192 rootfstype=ext4 vga=0 domdadm dolvm real_root=/dev/vgroot/rootI see a message that says that I can copy /run/..something to a USB pendrive, but oddly enough I can't seem to mount the device.
Both lsusb and dmesg show that the device is in /dev/sdc1, but mount/dev/sdc1 /mnt/pendrive says "no such file or directory". Both exist so I don't know what's up.
Anyway, the following commands show what I'm expecting:
Code: Select all
lvm lvdisplay
lvm pvsCode: Select all
LV Status Not availableCode: Select all
# lvdisplay
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
--- Logical volume ---
LV Path /dev/vgroot/root
LV Name root
VG Name vgroot
LV UUID qgWICf-J4s1-LozA-RnUL-pMBy-iumd-B1daVw
LV Write Access read/write
LV Creation host, time livecd, 2021-01-08 14:20:45 +0000
LV Status available
# open 0
LV Size 187.12 GiB
Current LE 47904
Mirrored volumes 2
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4What can I try?




