Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Suggestions

Post new topic   Reply to topic
iSCSI Target
View previous topic :: View next topic  
Author Message
Cheikh
Member


Joined: 11 Jun 2011
Posts: 25

PostPosted: Mon Jul 22, 2013 7:08 am    Post subject: iSCSI Target Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Mon Jul 22, 2013 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Cheikh
Member


Joined: 11 Jun 2011
Posts: 25

PostPosted: Mon Jul 22, 2013 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Mon Jul 22, 2013 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Cheikh
Member


Joined: 11 Jun 2011
Posts: 25

PostPosted: Tue Jul 23, 2013 5:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Cheikh
Member


Joined: 11 Jun 2011
Posts: 25

PostPosted: Tue Aug 06, 2013 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Wed Aug 07, 2013 2:00 pm    Post subject: Reply with quote

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



scst-2.2.1-i486_3.4.55_smp-1sms.txz
 Description:
scst-2.2.1

Download
 Filename:  scst-2.2.1-i486_3.4.55_smp-1sms.txz
 Filesize:  1.13 MB
 Downloaded:  625 Time(s)


_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Cheikh
Member


Joined: 11 Jun 2011
Posts: 25

PostPosted: Mon Aug 26, 2013 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1743
Location: Greece

PostPosted: Tue Sep 03, 2013 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Suggestions All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional