iSCSI-SCST

I usually use IET version of iSCSI Target software but this is having issues with the 2008 R2 Initiator. I read that 2008 R2 will work better with the SCST version of iSCSI target but I haven’t been able to get it to work. The source code is found on the scst.sourceforge.net website as well as packages for a few different distros. I’ve tried on Ubuntu and openSUSE and can’t get the modules to load. There’s a step-by-step at this website http://iscsi-scst.sourceforge.net/iscsi-scst-howto.txt but on the step where I’m supposed to run make on a few different files it fails for both distros and as a result I can’t run modprobe to install the modules. I figured the easiest thing to do would be to add the repo for openSUSE, assuming the missing module would resolve as a dependency, so I added the repo http://download.opensuse.org/repositories/home:/ortel/openSUSE_Factory. The package installs fine and I get my config files and startup scripts but still no scst module.

Has anyone been able to get this SCST version of iSCSI to install and run? I need it because from what I’ve read this iSCSI Target supports SCSI 3 which is what is required by 2008 R2 Initiator (just not working with IET iSCSI).

It would be great if someone could help with this. I have been trying to do the same thing. I have tried with 11.1 and 11.2. Trying to piece information together from the SCST HowTo and various sites.

This would be a great addition to openSUS and I was thinking of putting together a HowTo once done.

These are the step I have so far. Mostly from the SCST HowTo with a lot of googling to resolve differences.

Install Default 11.1

Configure online repositories
Package repositories - openSUSE

Open Terminal and install Subversion and other needed modules

Zypper in gcc ncurses-devel lsscsi patch subversion
zypper in make open-iscsi
zypper in kernel-source kernel-syms linux-kernel-headers module-init-tools

From Yast Software select patterns and install
kernel-devel

In Terminal download SCST
svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk scst

In your root folder you will now have a folder called /scst

Kernel Patch for SUSE 11.1
cd /usr/src/linux-2.6.32.12-0.7
patch -p1 < $HOME/scst/iscsi-scst/kernel/patches/put_page_callback-2.6.32.patch
patch -p1 < $HOME/scst/scst/kernel/scst_exec_req_fifo-2.6.32.patch

make clean

Next, build and install the kernel:

make && make modules
make modules_install && make install

Rebuild ramdisk
mkinitrd

This is as far as I have gotten. When I reboot to load the new kernel they system fails to load saying /dev/hda1 not found. Various sites indicated that the ramdisk needed to be rebuilt durring this process but I am not knowledgeable enough to know what went wrong.

Anyone care to help?

Todd

On 2012-09-02 06:56, toddhunter wrote:
>
> It would be great if someone could help with this. I have been trying
> to do the same thing. I have tried with 11.1 and 11.2. Trying to piece
> information together from the SCST HowTo and various sites.

11.1 and 11.2 are not maintained anymore. Please use a supported version, like 12.1


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))