Trying to troubleshoot lvm issue at boot

I have a volume group not activating at Boot:

  ACTIVE            '/dev/backup_group/orico' [30.03 TiB] inherit
  ACTIVE            '/dev/magnetic_storage/home_storage' [43.13 TiB] inherit
  inactive          '/dev/all_storage/home_lv' [43.13 TiB] inherit

Activating it with lvchange -a y all_storage however works, not too sure how to proceed, -vvvvv output is here 11:17:03.359544 lvchange[11500] lvmcmdline.c:3116 Version: 2.03.25(2) (2024-07- - Pastebin.com

Check the output:

sudo vgs; sudo pvs; sudo lvs
cat /etc/kernel/cmdline
grep -e ^GRUB_CMDLINE_LINUX= /etc/default/grub

root@fedora:/home/ochal# sudo vgs; sudo pvs; sudo lvs
VG #PV #LV #SN Attr VSize VFree
all_storage 1 1 0 wz–n- 43.13t 0
backup_group 5 1 0 wz–n- <45.48t <7.64t
magnetic_storage 5 1 0 wz–n- 54.57t <228.52g
nvme_storage 2 0 0 wz–n- <1.82t <1.82t
PV VG Fmt Attr PSize PFree
/dev/magnetic_storage/home_storage all_storage lvm2 a-- 43.13t 0
/dev/nvme0n1 nvme_storage lvm2 a-- 931.51g 931.51g
/dev/nvme1n1 nvme_storage lvm2 a-- 931.51g 931.51g
/dev/sda magnetic_storage lvm2 a-- 10.91t 45.70g
/dev/sdc magnetic_storage lvm2 a-- 10.91t 45.70g
/dev/sdd magnetic_storage lvm2 a-- 10.91t 45.70g
/dev/sde magnetic_storage lvm2 a-- 10.91t 45.70g
/dev/sdf magnetic_storage lvm2 a-- 10.91t 45.70g
/dev/sdg backup_group lvm2 a-- <9.10t <1.53t
/dev/sdh backup_group lvm2 a-- <9.10t <1.53t
/dev/sdi backup_group lvm2 a-- <9.10t <1.53t
/dev/sdj backup_group lvm2 a-- <9.10t <1.53t
/dev/sdk backup_group lvm2 a-- <9.10t <1.53t
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home_lv all_storage -wi------- 43.13t
orico backup_group rwi-a-r— 30.03t 100.00
home_storage magnetic_storage rwi-a-r— 43.13t 100.00
root@fedora:/home/ochal# cat /etc/kernel/cmdline
root=UUID=3bd6f618-4f3d-45b4-a676-162494ff980b ro rootflags=subvol=root rd.luks.uuid=luks-bfe9206c-bb34-4abb-a045-c5b1bb4f3a9e rhgb quiet
root@fedora:/home/ochal# grep -e ^GRUB_CMDLINE_LINUX= /etc/default/grub
GRUB_CMDLINE_LINUX=“rd.luks.uuid=luks-bfe9206c-bb34-4abb-a045-c5b1bb4f3a9e rhgb quiet”

Nothing seems wrong there

You can try to enable it with dracut options:

sudo grubby --update-kernel=ALL --args=rd.lvm.lv=all_storage/home_lv

See also:
dracut.cmdline: dracut kernel command line options | dracut Miscellanea | Man Pages | ManKier

This should affect the configs mentioned above, but there are some caveats:

  • Rebuilding initramfs may be necessary to apply the changes.
  • Using different VGs may require to list each involved LV.
  • I have not tested this with LUKS.

Not seeing any feedback or change

root@fedora:/home/ochal# grubby --update-kernel=ALL --args=rd.lvm.lv=all_storage/home_lv
root@fedora:/home/ochal# grubby --update-kernel=ALL --args=rd.lvm.lv=all_storage/home_lv