Ticket #607 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

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

Reported by: kenny.miller@… Owned by: bruno
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

mondoarchive.log.gz Download (97.3 KB) - added by kenny.miller@… 2 years ago.
GZIP'd archive log
MR_sda_workaround.jpg Download (255.7 KB) - added by kenny.miller@… 2 years ago.
Workaround from ILO console session just prior to mondorestore

Change History

Changed 2 years ago by kenny.miller@…

GZIP'd archive log

Changed 2 years ago by kenny.miller@…

Workaround from ILO console session just prior to mondorestore

comment:1 Changed 2 years ago by bruno

  • Status changed from new to assigned

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 Changed 2 years ago by bruno

  • Priority changed from normal to high
  • Severity changed from normal to major

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 Changed 2 years ago by kenny.miller@…

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 Changed 2 years ago by bruno

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 follow-up: ↓ 6 Changed 2 years ago by bruno

  • Status changed from assigned to closed
  • Resolution set to fixed

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

comment:6 in reply to: ↑ 5 Changed 23 months ago by bruno

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.