missing initrd rebuild in RHEL5 #50

Closed
wdpoorte opened this Issue Mar 30, 2012 · 5 comments

Comments

Projects
None yet
4 participants

When recovering on different hardware with a different scsi controller, the recoverd system will not find the root volume group and stop with a kernel panic.

Probably a rebuild of the initrd is needed.

Member

jhoekx commented Mar 30, 2012

This is planned for a future release and tracked in issue #45.

For now, you can add a custom script to rebuild it in your local.conf. See this excerpt from default.conf.

# NOTE: The scripts can be defined as an array to better handly spaces in parameters. The
# scripts are called like this: eval "${PRE_RECOVERY_SCRIPT[@]}"
# call this after rear did everything in the recover workflow. /mnt/local refers to the recovered system
POST_RECOVERY_SCRIPT=

@ghost ghost assigned gdha Apr 1, 2012

Owner

gdha commented Apr 4, 2012

we added the code into rear to fix this on RHEL. However, it is still untested. We hope to get this tested tomorrow...

Member

dagwieers commented Apr 5, 2012

We need more feedback on this if we want to get v1.13 out of the door.

wdpoorte commented Apr 6, 2012

For me it works on RHEL 5.8. No more kernel panics after recovery.

Member

dagwieers commented Apr 6, 2012

Ok, let's close this one :-) Thanks for the feedback.

If someone notices a problem with the implementation, please re-open this ticket.

@dagwieers dagwieers closed this Apr 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment