RHEL7 vs SLES12 targetcli brain damage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is my first time trying to use targetcli on SLES12. I have quite
a bit of experience with it on Fedora and RHEL7. I'm trying to setup
an iSCSI target configuration that behaves identical no matter if is
on RHEL7 or SLES12. To me at least, ideally I could just plop down a
/etc/target/saveconfig.json on both and enable service and be done.
This unfortunately is not the case.

RHEL7 (targetcli-2.1.fb34-1.el7.noarch)  :

/iscsi/iqn.19...station3/tpg1> get auth <TAB><TAB>
mutual_password  mutual_userid    password         userid
........................................parameter

SLES12 (targetcli-2.1-3.8.x86_64):

/iscsi/iqn.19...station3/tpg1> get auth <TAB><TAB>
authenticate_target  password             password_mutual      userid
             userid_mutual
........................................parameter

In case it isn't clear the problem is

mutual_password vs password_mutual
mutual_userid vs userid_mutual

Also on SLES12, this command silently fails:

/> /backstores/fileio create name=t1 file_or_dev=/srv/iscsi-luns/station1


/> ls /backstores/fileio
o- fileio .......................................................................................................
[0 Storage Object]
/>

Also on SLES12 there is no "targetcli restoreconfig". There is a
/usr/bin/load_targetcli_config command. How do I save a config ala
/etc/target/saveconfig.json on SLES12 and have it loaded automatically
on boot?
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux