metal-stack / metal-hammer

metal-hammer is used to boot bare metal servers with ipxe and the metal-stack kernel
GNU Affero General Public License v3.0
42 stars 6 forks source link

Filesystem Layouts with LVM does not work for debian:10 #64

Closed majst01 closed 9 months ago

majst01 commented 3 years ago
[   15.259786] raid6: .... xor() 7916 MB/s, rmw enabled
[   15.264754] raid6: using avx512x2 recovery algorithm
[   15.270918] xor: automatically using best checksumming function   avx       
[   15.278818] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Run[   15.312198]  sda: sda1
ning /scripts/lo[   15.316179] sd 12:0:0:0: [sda] Attached SCSI disk
cal-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.

works with debian-11 and ubuntu-20.04 though

centos also does not work:

[  202.881743] dracut-initqueue[371]: Warning: dracut-initqueue timeout - starting timeout scripts
[  203.412749] dracut-initqueue[371]: Warning: dracut-initqueue timeout - starting timeout scripts
[  203.423793] dracut-initqueue[371]: Warning: Could not boot.
[  203.431733] dracut-initqueue[371]: Warning: /dev/disk/by-uuid/433a04f8-1b21-4f2a-8806-b813adc7e260 does not exist
         Starting Setup Virtual Console...
[  OK  ] Started Setup Virtual Console.
         Starting Dracut Emergency Shell...
Warning: /dev/disk/by-uuid/433a04f8-1b21-4f2a-8806-b813adc7e260 does not exist

Generating "/run/initramfs/rdsosreport.txt"

Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

dracut:/# 

Wild guess: This only occurs for lvm based root, probably a lvm module is missing in the initrd.

debian-10 works perfectly fine with lvm filesystem not on /

Gerrit91 commented 9 months ago

Debian 10 is not supported anymore.