Please enter search query.
Search <product_name> all support & community content...
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.
Error while running nbftconfig on RHEL 6.X and later ,Cannot continue since qla2xxx is in use and cannot be removed
Article: 100032798
Last Published: 2016-08-01
Ratings: 0 0
Product(s): NetBackup
Problem
If there are issues with a FT (fibre transport) media server such that it is not functioning correctly, it may be required to delete and then rerun the FT media server configuration using the command nbftconfig.However, executing the nbftconfig command may display the error message
Cannot continue since qla2xxx is in use and cannot be removed, Please release references to qla2xxx before trying the install again
Error Message
When trying to run the FT media server configuration command nbftconfig on RHEL 6.X and later ,error messageCannot continue since qla2xxx is in use and cannot be removed
Please release references to qla2xxx before trying the install again is displayed and the configuration of the FT media server cannot continue.
Cause
qla2xxx and its dependent devices/modules are in useSolution
For RHEL version prior to 6.xThis issue can be resolved by following steps in article
The Related Article contains a resolution for this issue; however, RHEL 6.x doesnt have /etc/modprobe.conf.
Steps to resolve this issue :
Remove current module/driver: It is necessary to remove all dependent devices/modules first. When checked with the command:
# modprobe -r qla2xxx
FATAL: Module qla2xxx is in use.
Show dependent devices/modules:
# modprobe --show-depends qla2xxx
Example output:
insmod /lib/modules/2.6.32-358.14.1.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko
insmod
/lib/modules/2.6.32-358.14.1.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.koinsmod
/lib/modules/2.6.32-358.14.1.el6.x86_64/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
Then, try to remove scsi_tgt:
# modprobe -r scsi_tgt
FATAL: Module scsi_tgt is in use
The error above shows that the device is being used, which means probably there are some devices are connected via Fibre. Disconnect the fibre cable from the FT media server target port.
Once this is done, remove scsi_tgt, then scsi_transpot_fc, followed by qla2xxx, using modprobe –r.
Now, the nbftconfig command should work and the FT media server can be reconfigured.