Re: PR registration on LIO iscsi returns sense key not ready

2014-10-02 Thread Luigi Tarenga
On 10/02/2014 04:11 PM, Christophe Vu-Brugier wrote: Dear Luigi, On Thu, 02 Oct 2014 12:47:09 +0200, Luigi Tarenga wrote : I have a little problem with LIO iscsi target and SPC-3 persistent reservation. The summary of my setup is: host: centos 6.5 x86_64 with custom kernel 3.16.3 + scst

PR registration on LIO iscsi returns sense key not ready

2014-10-02 Thread Luigi Tarenga
hello everybody, I have a little problem with LIO iscsi target and SPC-3 persistent reservation. The summary of my setup is: host: centos 6.5 x86_64 with custom kernel 3.16.3 + scst patches targetcli (-fb) 2.1.fb37 this host is configured to export a lun0 to the guest via iscsi guest: c

Re: targetcli do not show iscsi

2014-10-01 Thread Luigi Tarenga
On 10/01/2014 02:30 PM, Luigi Tarenga wrote: So, again, I would like to reproduce and solve this on CentOS / RHEL. Can you confirm this is version 6.5 with custom-built kernel 3.16.3 ? In any case, thanks for testing, I need that badly :-) Best Regards, -- Jerome Hi Jerome, I confirm I

Re: targetcli do not show iscsi

2014-10-01 Thread Luigi Tarenga
So, again, I would like to reproduce and solve this on CentOS / RHEL. Can you confirm this is version 6.5 with custom-built kernel 3.16.3 ? In any case, thanks for testing, I need that badly :-) Best Regards, -- Jerome Hi Jerome, I confirm I have a centos 6.5 x86_64 with custom kernel and I

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
On 09/30/2014 06:52 PM, Jerome Martin wrote: On 09/30/2014 06:49 PM, Luigi Tarenga wrote: Thanks Andy for your hint and excuse me if I seemed stubborn :) Thank to Martin too for his support! The first name's Jerome :-) Just a quick note, as you are apparently doing some R&D, may

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
iscsi is not a supported fabric on rhel/centos 6. Only FCoE uses LIO. scsi-target-utils (tgt) is the supported iscsi target on rhel6. rhel7 uses LIO for both, as does Fedora. Regards -- Andy Hi Andy, I see LIO is a technology preview on rhel 6 but I'm not looking for official support, just

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
On 09/30/2014 05:35 PM, Luigi Tarenga wrote: On 09/30/2014 05:21 PM, Andy Grover wrote: On 09/30/2014 02:45 AM, Jerome Martin wrote: On 09/30/2014 11:41 AM, Luigi Tarenga wrote: On 09/30/2014 11:28 AM, Jerome Martin wrote: Luigi, Out of curiosity, does it work as expected with the

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
On 09/30/2014 05:21 PM, Andy Grover wrote: On 09/30/2014 02:45 AM, Jerome Martin wrote: On 09/30/2014 11:41 AM, Luigi Tarenga wrote: On 09/30/2014 11:28 AM, Jerome Martin wrote: Luigi, Out of curiosity, does it work as expected with the stock fedora packaged kernel ? Best, -- Jerome

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
On 09/30/2014 11:28 AM, Jerome Martin wrote: Luigi, Out of curiosity, does it work as expected with the stock fedora packaged kernel ? Best, -- Jerome didn't test that configuration and since I can't find module iscsi_target_mod in stock kernel I would have to recompile it against centos

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
I have installed targetcli from centos rpm: # rpm -qi fcoe-target-utils-2.0rc1.fb16-5.el6.noarch See the version here? fb16... oh ok. I'm not sure what is the initscript you mention. I have in /etc/init.d/: # ls fcoe-target iscsi* fcoe-target iscsi iscsid but afaik those are for the

Re: targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
created by the initscript. Can you either try creating it manually, and/or starting the target service susing the initscript ? Best, -- Jerome On 09/30/2014 10:52 AM, Luigi Tarenga wrote: hi everybody, I write to you for a problem that sound as my simple mistake but I can't really fin

targetcli do not show iscsi

2014-09-30 Thread Luigi Tarenga
hi everybody, I write to you for a problem that sound as my simple mistake but I can't really find a solution after googling and reading official doc. I'm trying to configure a iscsi target on a centos 6.5 box with a custom kernel compiled from vanilla 3.16.3. I have compile: CONFIG_TARGET_CORE=