Created
November 21, 2020 14:16
-
-
Save inntran/d4c29744a1ae513ff909465959d2c0a5 to your computer and use it in GitHub Desktop.
Revisions
-
inntran created this gist
Nov 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ The RHEL8 offcial kernel and Oracle RHCK kernel have removed FC target support of QLogic HBAs. But Oracle's UEK kernel still has relevant kernel modules. Userland tools like targetcli depends on python3-rtslib, qla2xxx support is implemented but commented out. Commands below would unmask qla2xxx support, so it will show up in targetcli's `ls` output. ``` sed -i s'/^# "qla2xxx"/ "qla2xxx"/' /usr/lib/python3.6/site-packages/rtslib/fabric.py sed -i s'/^# "qla2xxx"/ "qla2xxx"/' /usr/lib/python3.6/site-packages/rtslib_fb/fabric.py ```