OpenVZ Forum


Home » General » Support » booting kernel with raid and lvm
Re: booting kernel with raid and lvm [message #32422 is a reply to message #32419] Thu, 07 August 2008 09:08 Go to previous messageGo to previous message
snozzled is currently offline  snozzled
Messages: 2
Registered: August 2008
Junior Member
Right, finally tracked down the issue.

I rebuilt the initrd with a hand edited init file that made the lvm vgscan run in verbose mode. It showed the volumes were not being found because the partition they are on was showing up as 0 bytes long.

That lead me to suspect it was actually the ata driver that was at fault. I dismantled the initrd for the working F9 kernel too and compared it to the one used by the ovzkernel. That lead me to mkinitrd the ovz version --with= some additional modules which got the problem mostly fixed.

I still needed to hand edit the init file to load things in a slightly different order and to add a mdadm --run for a /dev/md that was not being detected properly.

The kernel now boots, but I guess I'm stuck rebuilding the initrd for it every time I need to upgrade. Still, it beats having to compile from scratch.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VE fails to startx
Next Topic: Iptables, when to load rules in Centos 5.2 ?
Goto Forum:
  


Current Time: Fri Oct 10 20:04:29 GMT 2025

Total time taken to generate the page: 0.10068 seconds