dokma | My initrams refuses to assemble my raid1 during boot. I had to add a script to init-premount with mdadm --assemble --scan to fix it. On top of that I have no ability to enter any input into the initramfs busybox shell as it won't accept any keyboard input no matter what. How do I even begin debugging this? | 13:49 |
---|---|---|
dokma | The keyboard input happens via KVM and the data center tech told me that there is no keyboard input even when he plugs a usb keyboard in so I suspect some driver issues here. | 13:50 |
dokma | Is there any way to trace initramfs? | 13:51 |
dokma | What in initramfs was supposed to figure out my root fs was on a raid array and assemble it? | 13:53 |
rrq | I still think you should comment out line 53 in /usr/share/initramfs-tools/scripts/local-block/mdadm and then rebuild initramfs | 14:21 |
dokma | rrq: mdadm -q --run /dev/md?* ??? | 14:25 |
dokma | Why do you think this prevents the very next line from assembling the array? | 14:25 |
rrq | that's the line, yes | 14:25 |
rrq | because it fails, and the script is run with -e | 14:26 |
dokma | hmmm... makes sense | 14:26 |
dokma | will comment it out but I don't have the time to remove my fix and try it | 14:27 |
dokma | rrq: what about line 42? | 14:27 |
rrq | not sure.. the "|| true" bit stops the script from failing | 14:28 |
dokma | souldn't have that assembled the array also? | 14:29 |
dokma | if so, it would mean that it failed before that | 14:30 |
dokma | if I add 'set -x' at the beginning of this script will I get any output during boot? | 14:30 |
rrq | not sure where stderr will go; maybe it needs the debug parameter, and was it netconsole you needed too? | 14:36 |
rrq | line 42 has --no-degraded which apparently is the opposite of --run (of line 56) .. I'm not an md expert though :) | 14:38 |
dokma | have to dig into it | 14:43 |
dokma | thanks for your time | 14:43 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!