Important Update: Cohesity Products Knowledge Base Articles


All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.

Unable to unload QLOGIC drivers, and mark and configure cards for SAN Client configuration.

Article: 100002088
Last Published: 2015-05-28
Ratings: 0 0
Product(s): NetBackup

Problem

During the initial installation and configuration of Linux Fibre Transport Media Server, unable to unload the existing Qlogic drivers and mark for target mode.

Error Message

Error #227: no entity was found.

Cannot continue since qla2xxx is in use and cannot be removed.
Please release references to qla2xxx before trying the install again.

/usr/openv/netbackup/bin/admincmd/nbftsrv_config  -nbhba
  Installing nbhba driver.
 
Uninstalled WinDriver for FT Server mode.
 
It may be necessary to temporarily unload your QLogic drivers
 
to free up the ports for the nbhba drivers.
 
This is an optional step.  If you choose not to do this, the
 
nbhba drivers may not have access to the HBA ports until a
 
subsequent reboot.
 
Would you like to unload and reload your native QLogic drivers now? [y,n] (y)
 
Are you sure you want to unload QLogic driver: qla2xxx? [y,n] (y)
 
Removing qla2xxx.
 
Cannot continue since qla2xxx is in use and cannot be removed.
 
Please release references to qla2xxx before trying the install again.
 

  /usr/openv/netbackup/bin/admincmd/nbhba -l
 

  Unable to communicate with HBA ports.
 
Please ensure that this system is set up correctly with nbftsrv_config.
 
(Must not be set up as FT Server.)
 
Error #11: system call failed
 

  /usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhba
 
Installing nbhba driver.
 
Uninstalled WinDriver for FT Server mode.
 
It may be necessary to temporarily unload your QLogic drivers
 
to free up the ports for the nbhba drivers.
 
This is an optional step.  If you choose not to do this, the
 
nbhba drivers may not have access to the HBA ports until a
 
subsequent reboot.
 
Would you like to unload and reload your native QLogic drivers now? [y,n] (y) n
 
YOU MUST REBOOT TO COMPLETE INSTALLATION.
 
Installed driver for nbhba mode.
 

  /usr/openv/netbackup/bin/admincmd/nbhba -l
 

  Error #227: no entity was found

 

Solution

  1. QLogic Driver Update to the latest version 8.03.01.06.05.06-k
  2. Before proceeding, be sure to take a copy of /etc/modprobe.conf
  3. Remove entries associated to the " qla2xxx" in /etc/modprobe.conf
  4. Add the entry " blacklist qla2xxx" at the end of the file /etc/modprobe.d/blacklist
  5. Reboot the server "reboot"
  6. lsmod|grep -i ql >> "Nothing reported"
  7. /usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhba
  8. /usr/openv/netbackup/bin/admincmd/nbhba -l
  9. /usr/opemv/netbackup/bin/admincmd/nbhba -modify -wwn <XXXXXXXX> -mode target
  10. /usr/opemv/netbackup/bin/admincmd/nbftsrv_config
  11. replace the /etc/modprobe.conf with the copy saved in step 2
  12. Remove the entry in the /etc/modprobe.d/blacklist
  13. Reboot the server "reboot"

If still getting an error, check if HP Insight agents are running. If they are, you will not be able to unload the qla2xxx driver.

To check if the HP Insight package is loaded -

/etc/init.d/hp-snmp-agents status

Use "/etc/init.d/hp-snmp-agents stop" to free the qla2xxx driver.

 

Once they have been stopped, run -

/usr/openv/netbackup/bin/admincmd/nbftsrv_config -nbhba

 

Applies To

Older version of FT Media Servers like Linux 5.x, for Linux 6.x and above does not have /etc/modprobe.conf and for that refer the article:

Error while running nbftconfig on RHEL 6.X and later ,Cannot continue since qla2xxx is in use and cannot be removed

Suse Linux

Was this content helpful?