iSCSI Software Initiator

Protecting your Linux box
Post Reply
janali
Naik
Posts: 58
Joined: Tue Jul 17, 2007 1:34 pm

iSCSI Software Initiator

Post by janali »

how to install linux iSCSI Software Initiator? I am using CentOS4 with kernal 2.6.
asim31
Lance Naik
Posts: 31
Joined: Sat Aug 27, 2005 6:14 pm
Contact:

Salam ,

Post by asim31 »

Install "iscsi-initiator-utils" package

~]# vi /etc/iscsi.conf

TargetName=iqn.2007-03.com.ots.isb:storage.hda7

DiscoveryAddress=192.168.1.195

LoginTimeout=15


service iscsi restart

chkconfig --level 35 iscsi on


You should be able to see the following log entries in your IPSAN /var/log/messages:

. . .

Mar 14 14:20:47 storage kernel: sess_param(173) 1 1 1 8192 8192 262144 65536 2 0 1 1 1 0 1 1



Regards
Asim Abbas
Abbas
janali
Naik
Posts: 58
Joined: Tue Jul 17, 2007 1:34 pm

iqn

Post by janali »

how to get iqn name?

TargetName=iqn.2007-03.com.ots.isb:storage.hda7

I am using CentOs4.5 with Kernal 2.6.18-028stab053.4 and iscsi-initiator-utils-4.0.3.0-6 when I tryed to start found this message
Checking iscsi config: [ OK ]
Loading iscsi driver: FATAL: Module iscsi_sfnet not found. [FAILED]


[root@]# /sbin/iscsi-ls -l
###############################################################################
iSCSI driver is not loaded
###############################################################################


what is the solution for this problem?
Post Reply