Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#607 closed defect (fixed)

RHEL62 restore cannot find /dev/sda1 (hpsa not loading)

Reported by: Ken Miller Owned by: Bruno Cornec
Priority: high Milestone: 3.0.2
Component: mondo Version: 3.0.1
Severity: major Keywords: hpsa rhel62
Cc:

Description

Hi,

I backed up a RHEL62 VM server as I knew its system disk would get wiped during service. When I went to restore It said /dev/sda does not exist.

From the shell I found hpsa not loaded and a modprobe revealed it had a broken sym-link. When I fixed it, did a 'modprobe hpsa', and a mondorestore, all was fine again.

Archive log and screen capture of fix attached. The broken link was pointing to "extra/hpsa/hpsa.ko" instead of "kernel/drivers/scsi/hpsa.ko" IIRC.

Really hoping this can be fixed as I'd like to use this as part of a customer Disaster Recovery Solution, and their config will be RHEL62 on Gen8 hardware (this summer).

Thanks in advance,

k+

Attachments (2)

mondoarchive.log.gz (97.3 KB ) - added by Ken Miller 12 years ago.
GZIP'd archive log
MR_sda_workaround.jpg (255.7 KB ) - added by Ken Miller 12 years ago.
Workaround from ILO console session just prior to mondorestore

Download all attachments as: .zip

Change History (8)

by Ken Miller, 12 years ago

Attachment: mondoarchive.log.gz added

GZIP'd archive log

by Ken Miller, 12 years ago

Attachment: MR_sda_workaround.jpg added

Workaround from ILO console session just prior to mondorestore

comment:1 by Bruno Cornec, 12 years ago

Status: newassigned

On RHEL 6.2, just use the std embedded hpsa driver. Do not add an HP version it's useless and can create problems.

At restore time, MondoRescue may load cciss first, which may detect your card. In order to avoid that you can add it to the denymods list at isolinux boot prompt:

denymods="cciss"

In which case the hpsa should find your drive and see them as sda, where cciss is probably proposing them to you as /dev/cciss/c0d0.

I should get Gen8 servers soon, so will make tries in May, and should be able to support you correctly in June ;-)

comment:2 by Bruno Cornec, 12 years ago

Priority: normalhigh
Severity: normalmajor

Could you give e the result of the following commands please:

mindi --readalllink /lib/modules/2.6.32-220.el6.x86_64/weak-updates/hpsa/hpsa.ko
ls -al /lib/modules/2.6.32-131.0.15.el6.x86_64/extra/hpsa/hpsa.ko

A workaround for your issue is to rename that last driver to avoid conflicts for now (this and the one it points to, which is not included in mindi for a reason I try to understand, thus my questions.

comment:3 by Ken Miller, 12 years ago

Hi, I'd already removed the kmod-hpsa RPM that I'd received from PSP as you made an excellent point it wasn't necessary.

Would you like me to re-install it and run the command, or boot again from my restore DVD interactively and run this command?

comment:4 by Bruno Cornec, 12 years ago

FYI i'm working on a fix for another HP related case. Will forward you the info. Hopefully difnitive solution is for 3.0.2, that should be out soon.

comment:5 by Bruno Cornec, 12 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in rev [3010]. Please reopen if it's not the case. Will be in 3.0.2 final.

in reply to:  5 comment:6 by Bruno Cornec, 12 years ago

Replying to bruno:

Should be fixed in rev [3010]. Please reopen if it's not the case. Will be in 3.0.2 final.

Fixed really in rev [3011]. Thanks to Sanjeev !

Note: See TracTickets for help on using tickets.