Yes, it's now working well on my test environment. I built a rpm for
the patched kernel by myself. Well, you also need to stop default
iscsi-initiator
service which is enabled by iscsi-initiator-utils. (/etc/init.d/iscsi stop)
Try attached my simple rpm spec file and here is a quick procedure.
1. download tarball open-iscsi-2.0-871.tar.gz from www.open-iscsi.org
2. build open-scsi rpm package with attached spec file
3. uninstall iscsi-initiator-utils package
4. install open-iscsi-2.0-871_xxxx and start initiator by
/etc/init.d/open-iscsi start
Reykjavik hindisvik wrote:
Hi,
Thank you for your answer.
I've tried compiling open-isicsi, but it seems to be the same :
Aug 26 10:40:45 lfs1 kernel: connection1:0: Could not create connection
due to crc32c loading error. Make sure the crc32c module is built as a
module or into the kernel
I've just compiled open-iscsi like that :
make KSRC=/usr/src/kernels/2.6.18-128.1.14.el5_lustre.1.8.1-x86_64
Evrything seemed to be OK. But it's impossible to mount ISCSI target
with this way too...
Have ytou compiled it like that? Evrything works fine for you? Could you
tell me the rpm you use?
Someone have another idea?
Thank you
Best regards
Hindisvik
2009/8/26 Shuichi Ihara <[email protected] <mailto:[email protected]>>
Hi,
I saw that similar problem was posted on ofed list and I got same
error before.
http://lists.openfabrics.org/pipermail/general/2009-June/060027.html
I'm also using the lustre with iscsi for just testing, but I built
open-iscsi
from the tarball and installed it. http://www.open-iscsi.org/
Hope this helps.
Thanks
-Ihara
Reykjavik hindisvik wrote:
2009/8/26 Reykjavik hindisvik <[email protected]
<mailto:[email protected]> <mailto:[email protected]
<mailto:[email protected]>>>
Hi,
Thank you for your answer, it was a great idea to install
kernel-ib-1.4.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
since it
provides me the ISCSI modules needed! Thanx for that.
So now, I can start iscsid service and launch :
iscsiadm -m discovery --type sendtargets --portal 192.168.0.253
... but I still have a problem when I want to connect my target :
iscsiadm -m node -T iqn.2008-07.fr.xxx:xxx.disk1.sys1.xyz -p
192.168.0.253 -l
It gives me the following error :
iscsiadm: Could not login to [iface: default, target:
iqn.2008-07.fr.xxx:xxx.disk1.sys1.xyz, portal:
192.168.0.253,3260]:
iscsiadm: initiator reported error (9 - internal error)
Aug 26 09:19:24 lfs1 kernel: session2: couldn't create a new
connection.<6>scsi7 : iSCSI Initiator over TCP/IP
Aug 26 09:19:24 lfs1 kernel: connection3:0: Could not create
connection due to crc32c loading error. Make sure the crc32c
module
is built as a module or into the kernel
Aug 26 09:19:24 lfs1 iscsid: received iferror -12
Aug 26 09:19:24 lfs1 iscsid: can't create connection (115)
It seems there's a problem with the crc32c module, which is
needed
to mount an ISCSI target. If I use a non lustre patched
kernel like
: 2.6.18-128.1.14.el5 the module is compiled ionto the kernel and
everything works fine.
What can I do?
Have someone encountered this problem?
Thank you by advance.
Best regards,
Hindisvik
2009/8/25 Arne Wiebalck <[email protected]
<mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>>
Hi Hindisvik,
iSCSI support is switched off in the lustre kernels, but
it should
be available from the kernel-ib package, see this thread:
http://lists.lustre.org/pipermail/lustre-discuss/2009-July/011068.html
I tried that with 1.8.0, but did not succeed: the iSCSI
modules
could not be loaded, so I compiled my own kernel in the end.
I did not check with 1.8.1, but if you succeed I would be
very
interested to know.
HTH,
Arne
Reykjavik hindisvik wrote:
Hello,
I've downloaded the last release of Lustre (1.8.1) in
rpm :
e2fsprogs-1.41.6.sun1-0redhat.rhel5.x86_64.rpm
*kernel-lustre-2.6.18-128.1.14.el5_lustre.1.8.1.x86_64.rpm*
lustre-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
lustre-client-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
lustre-client-modules-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
lustre-ldiskfs-3.0.9-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
lustre-modules-1.8.1-2.6.18_128.1.14.el5_lustre.1.8.1.x86_64.rpm
I'd like to use Lustre with a ISCSI storage device,
and it
seems this kernel does not support ISCSI (?!)
(scsi_transport_iscsi.ko). Have someone encouter this
problem? Is there another version with SCSI support? What
can I do?
Thank you be advance for any suggestion.
Best regards
Hindisvik
------------------------------------------------------------------------
_______________________________________________
Lustre-discuss mailing list
[email protected]
<mailto:[email protected]>
http://lists.lustre.org/mailman/listinfo/lustre-discuss
------------------------------------------------------------------------
_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss
%define kver %(uname -r)
%define kver2 %(echo %kver | sed -e 's/-/_/g')
Name: open-iscsi
Version: 2.0
#Release: 871%{?dist}
Release: 871%{?dist}_%{kver2}
Summary: Open-iSCSI Software Initiator
Group: System Environment/Daemons
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
%description
Open-iSCSI is a high-performance, transport independent, multi-platform
implementation of RFC3720 iSCSI.
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add open-iscsi
(cd /lib/modules/%{kver}/; depmod -a)
%preun
if [ $1 = 0 ]; then
/sbin/service open-iscsi stop >/dev/null 2>&1
/sbin/chkconfig --del open-iscsi
fi
(cd /lib/modules/%{kver}/; depmod -a)
%files
%defattr(-,root,root)
/lib/modules/%{kver}/kernel/drivers/scsi/iscsi_tcp.ko
/lib/modules/%{kver}/kernel/drivers/scsi/libiscsi.ko
/lib/modules/%{kver}/kernel/drivers/scsi/libiscsi_tcp.ko
/lib/modules/%{kver}/kernel/drivers/scsi/scsi_transport_iscsi.ko
/etc/init.d/open-iscsi
/etc/iscsi/ifaces/iface.example
/sbin/iscsi-iname
/sbin/iscsi_discovery
/sbin/iscsiadm
/sbin/iscsid
%doc %{_mandir}/man8/*
%changelog
_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss