View previous topic :: View next topic |
Author |
Message |
Cheikh Member
Joined: 11 Jun 2011 Posts: 25
|
Posted: Mon Jul 22, 2013 7:08 am Post subject: iSCSI Target |
|
|
I wish the next release include SCST for iSCSI Target or event LIO instead of the current IET in extra because it lacks advance features and it seems not to be actively maintained.
Thanks.
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Jul 22, 2013 8:34 am Post subject: |
|
|
I can include more iSCSI target software, don't know about iscsitarget features but is maintained and we use trunk version, not latest but it's trunk...
iscsitarget changelog
Code: | trunk 2013-07-03 [r496] Support for kernels up to and including 3.10 |
gerasimos_h
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
Cheikh Member
Joined: 11 Jun 2011 Posts: 25
|
Posted: Mon Jul 22, 2013 1:18 pm Post subject: |
|
|
For me the big thing it is missing is Persistent (SCSI-3) Reservations without this target disk with IET cannot be used for Windows 2008 failover clustering or RHEL5 I/O fencing, and it does not support ALUA which is sometimes needed for clustering. IET does iSCSI only SCST and LIO can do fiber channel target and FCoE. In my opinion configuring SCST is way simpler than LIO. Finally the last release of IET is over 3 years ago according to their download page 2010-07-15 http://sourceforge.net/projects/iscsitarget/files/.
Thanks
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Jul 22, 2013 7:09 pm Post subject: |
|
|
I'll go for scst then...
Do you have any experience?
I just took a quick look at files and there are scst and iscsi-scst...
gerasimos_h
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
Cheikh Member
Joined: 11 Jun 2011 Posts: 25
|
Posted: Tue Jul 23, 2013 5:55 am Post subject: |
|
|
For SCST we need iscsi-scst and scstadmin the SCST project claims for better performance it does require a kernel patch and rebuild which may not be convenient. LIO is currently in the mainline kernel (3.X) and big server distro like redhat and debian are using it or plan to use it. For personal use I am currently testing LIO on a VM, the SCST project is very vocal and yet it is hard to find available package for it.
|
|
Back to top |
|
Cheikh Member
Joined: 11 Jun 2011 Posts: 25
|
Posted: Tue Aug 06, 2013 5:39 pm Post subject: |
|
|
I was testing this past week end iscsi using scst in testing but it does not run because the scst core software is not included in the packages. Looking at my previous post I have mislead you by stating we "need iscsi-scst and scstadmin". The rc.scst scripts tries to insert module scst but cannot find it. I was able to build and install scst now rc.scst script run but I am still seeing some challenge to create a target LUN for iscsi. I am currently at work the error I am seeing is asking to check dmesg for more information, but I am currently at work to capture it.
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Aug 07, 2013 2:00 pm Post subject: |
|
|
I'm going to provide a patched kernel also to see if that the issue along with scst package...
How did you build the package and which version are you using..?
I attach my package to test (32bit)
gerasimos_h
Description: |
|
 Download |
Filename: |
scst-2.2.1-i486_3.4.55_smp-1sms.txz |
Filesize: |
1.13 MB |
Downloaded: |
3940 Time(s) |
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
Cheikh Member
Joined: 11 Jun 2011 Posts: 25
|
Posted: Mon Aug 26, 2013 10:10 pm Post subject: |
|
|
Sorry for the late update as I was away the last two weeks.
after using pkgtool to install both iscsi-scst-2.2.1_3.4.55_smp-i486-2sms.txz and scst-2.2.1-i486_3.4.55_smp-1sms.txz
/etc/rc.d/rc.scst start
Loading and configuring SCSTmodprobe: FATAL: Module scst not found.
modprobe scst failed.
iscsi-scstd: no process found
I think I could have tried to run "depmod" and try again to start scst but I wasnt thinking straight. Therefore, I did the following which is currently working.
1. slapt-get --install kernel-source
2. /usr/src/linux-3.4.55# patch -p1 </tmp/iscsi-scst-2.2.1/kernel/patches/put_page_callback-3.4.patch
3. patch -p1 </tmp/scst-2.2.1/kernel/scst/scst_exec_req_fifo-3.4.patch
4. Rebuild and install kernel with a new initrd
my installation/package on i386 consists of make and make install on scst-2.2.1, iscsi-scst-2.2.1, and scstadmin-2.2.1 it appears that iscsi-scst depends on scst, and it seems to me you have to compile and install scst first before you can even build iscsi-scst successfully if you dont do scst first it will be looking for scst_const.h. Another minor issue is the startup script looks for /etc/scst.conf if it cannot find it it will not start.
Thanks for your assistance.
Cheikh.
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Sep 03, 2013 7:52 am Post subject: |
|
|
Haven't forgot you, will update soon with a patched kernel ,
those last days are pretty busy...
gerasimos_h
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|