targetcli - unable to create FC target due to module qla2xxx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
targetcli (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
#Hello,
#I am not qualified to authoritatively state where the optimal place for options qla2xxx qlini_mode=
#my setup:
#clean install of ubuntu server 14.04 LTS 64-bit
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
#
#Hardware Qlogic QLA2564
#I've followed guidance from wiki:
#http://
echo 'options qla2xxx qlini_mode=
#reboot
targetcli
/qla2xxx create WWWN
#Creation of target fails, a lot of unnecessary error output.
# validate qla2xxx module is in target mode....
cat /sys/module/
enabled
#This should read: disabled
service target stop
rmmod qla2xxx
modprobe options qla2xxx qlini_mode=
cat /sys/module/
disabled
service target start
/qla2xxx create WWWN
# success
shutdown -r now
cat /sys/module/
enabled
# qla2xxx modules are again no longer in target mode for targetcli....
# workaround --such that options qla2xxx qlini_mode=
# Disclaimer: this is probably not the proper place for it----but if if i edited /etc/target/
You simply forgot to do mkinitramfs after creating qla2xxx.conf with the updated driver parameters