Reykjavik hindisvik
2009-Aug-25 08:26 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090825/b5c0ab51/attachment.html
Arne Wiebalck
2009-Aug-25 08:58 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
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 >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6380 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090825/e6cf0c09/attachment.bin
Reykjavik hindisvik
2009-Aug-26 07:23 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
2009/8/26 Reykjavik hindisvik <hindisvik at gmail.com>> 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 <arne.wiebalck at cern.ch> > > 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 >>> >>> >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090826/21a4bab4/attachment.html
Shuichi Ihara
2009-Aug-26 08:06 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
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 <hindisvik at gmail.com > <mailto:hindisvik at gmail.com>> > > 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 <arne.wiebalck at cern.ch > <mailto:arne.wiebalck at cern.ch>> > > 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 > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss
Reykjavik hindisvik
2009-Aug-26 08:46 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
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 <ihara at sun.com>> > 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 <hindisvik at gmail.com <mailto: >> hindisvik at gmail.com>> >> >> >> 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 <arne.wiebalck at cern.ch >> <mailto:arne.wiebalck at cern.ch>> >> >> >> 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 >> Lustre-discuss at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090826/82056c7a/attachment-0001.html
Shuichi Ihara
2009-Aug-26 09:53 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
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 <ihara at sun.com <mailto:ihara at sun.com>> > > > 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 <hindisvik at gmail.com > <mailto:hindisvik at gmail.com> <mailto:hindisvik at gmail.com > <mailto:hindisvik at gmail.com>>> > > > 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 <arne.wiebalck at cern.ch > <mailto:arne.wiebalck at cern.ch> > <mailto:arne.wiebalck at cern.ch <mailto:arne.wiebalck at cern.ch>>> > > > 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 > Lustre-discuss at lists.lustre.org > <mailto:Lustre-discuss at lists.lustre.org> > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: open-iscsi.spec Url: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090826/9faf8bce/attachment.pl
Reykjavik hindisvik
2009-Aug-26 10:49 UTC
[Lustre-discuss] Lustre 1.8.1 and ISCSI Kernel support
Hello, Thank you for your answer. I''ve done all your steps with your .spec, but it seems to be the same : Aug 26 12:44:57 lfs1 kernel: scsi3 : iSCSI Initiator over TCP/IP Aug 26 12:44:57 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 Aug 26 12:44:57 lfs1 iscsid: Could not set session1 priority. READ/WRITE throughout and latency could be affected. Aug 26 12:44:57 lfs1 iscsid: Received iferror -12 Aug 26 12:44:57 lfs1 iscsid: can''t create connection (0) root : lfs1 - ~> uname -a Linux lfs1 2.6.18-128.1.14.el5_lustre.1.8.1 #1 SMP Mon Jul 20 07:30:22 MDT 2009 x86_64 x86_64 x86_64 GNU/Linux root : lfs1 - ~> rpm -qa | grep iscsi open-iscsi-2.0-871_2.6.18_128.1.14.el5_lustre.1.8.1 I use open-scsi instead of iscsi-initiator but the problem still there. Have you any suggestions? Why don''t you have the problem if you have the same config? do you have crc32c as a module? Thanx you Best regards Hindisvik 2009/8/26 Shuichi Ihara <ihara at sun.com>> > 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 <ihara at sun.com <mailto:ihara at sun.com>> >> >> >> 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 <hindisvik at gmail.com >> <mailto:hindisvik at gmail.com> <mailto:hindisvik at gmail.com >> >> <mailto:hindisvik at gmail.com>>> >> >> >> 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 <arne.wiebalck at cern.ch >> <mailto:arne.wiebalck at cern.ch> >> <mailto:arne.wiebalck at cern.ch <mailto:arne.wiebalck at cern.ch>>> >> >> >> >> 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 >> Lustre-discuss at lists.lustre.org >> <mailto:Lustre-discuss at lists.lustre.org> >> http://lists.lustre.org/mailman/listinfo/lustre-discuss >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss at lists.lustre.org >> 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090826/28744cc9/attachment.html