I have installed CentOS 7 with the software selection: File and Storage server
However it seems that iSCSI target is not getting installed. I cannot find anything in the CentOS repositories for iSCSI target either. I take it CentOS 7 can be used as an iSCSI target can't it?
[SOLVED] iSCSI target cannot be configured
[SOLVED] iSCSI target cannot be configured
Last edited by NickC on 2014/10/16 15:44:33, edited 1 time in total.
Re: iSCSI target cannot be configured
CentOS 7 doesn't use the tgtd that 6 did. Install "targetcli" and go from there.
Re: iSCSI target cannot be configured
Thanksdrk wrote:CentOS 7 doesn't use the tgtd that 6 did. Install "targetcli" and go from there.
Re: iSCSI target cannot be configured
Thanks to your pointer I have now got iSCSI target working, many thanks.drk wrote:CentOS 7 doesn't use the tgtd that 6 did. Install "targetcli" and go from there.
Re: [SOLVED] iSCSI target cannot be configured
To make changes done in targetcli environment persistent between reboots,
you should :-
# systemctl enable target
# systemctl start target
# systemctl status target -l
target.service - Restore LIO kernel target configuration
Loaded: loaded (/usr/lib/systemd/system/target.service; enabled)
Active: active (exited) since Sat 2014-11-08 14:45:06 MSK; 3h 26min ago
Process: 1661 ExecStart=/usr/bin/targetctl restore (code=exited, status=0/SUCCESS)
Main PID: 1661 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/target.service
Nov 08 14:45:06 juno1.localdomain systemd[1]: Started Restore LIO kernel target configuration.
you should :-
# systemctl enable target
# systemctl start target
# systemctl status target -l
target.service - Restore LIO kernel target configuration
Loaded: loaded (/usr/lib/systemd/system/target.service; enabled)
Active: active (exited) since Sat 2014-11-08 14:45:06 MSK; 3h 26min ago
Process: 1661 ExecStart=/usr/bin/targetctl restore (code=exited, status=0/SUCCESS)
Main PID: 1661 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/target.service
Nov 08 14:45:06 juno1.localdomain systemd[1]: Started Restore LIO kernel target configuration.