Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

missing initrd rebuild in RHEL5 #50

Closed
wdpoorte opened this Issue · 5 comments

4 participants

@wdpoorte

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.

@jhoekx
Owner

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=
@gdha gdha was assigned
@gdha
Owner

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

@dagwieers
Owner

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

@wdpoorte

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

@dagwieers
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.