LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2008, 12:26 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
iSCSI Setup??


I have installed iscsi-target RHEL Machine with the following steps:

I have the following partition table:

1. I downloaded iscsi-target package and followed the process:
Code:
[root@localhost iscsitarget]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              29G  7.4G   20G  27% /
/dev/sda1             107M  9.6M   92M  10% /boot
none                  721M     0  721M   0% /dev/shm
/dev/sda3              20G   76M   19G   1% /home
Code:
#vi /etc/ietd.conf
Target iqn.2008-07.com.scsilinux:storage.disk2.sys1.xyz
        # Users, who can access this target. The same rules as for discovery
        # users apply here.
        # (no users means anyone can access the target)
        #IncomingUser joe secret
        #OutgoingUser jim 12charpasswd
        # Logical Unit definition
        # You must define one logical unit at least.
        # Block devices, regular files, LVM, and RAID can be offered
        # to the initiators as a block device.
        Lun 0 Path=/dev/sda3,Type=fileio
Saved the file.
And Then Started the service:
Code:
[root@localhost iscsitarget]# service iscsi-target restart
Stoping iSCSI target service:                              [  OK  ]
Starting iSCSI target service:                             [  OK  ]
Now, I went to setup iscsi-client on new system as:
Installed the Needed PAckage.
Pointed iscsi.conf to the target Machine.
And Then:
Code:
[root@BL02DL385 ~]# iscsi-ls
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11-6(03-Aug-2007)
*******************************************************************************
TARGET NAME             : iqn.2008-07.com.logica.bl04mpdsk:storage.lun1
TARGET ALIAS            :
HOST ID                 : 2
BUS ID                  : 0
TARGET ID               : 0
TARGET ADDRESS          : 10.14.236.134:3260,1
SESSION STATUS          : DROPPED AT Thu Jul 10 05:19:36 IST 2008
SESSION ID              : ISID 00023d000001 TSIH 300
*******************************************************************************
[root@BL02DL385 ~]# iscsi-rescan
It means Its Working and showing the target machine.

Now I am confused of "entry being made in iscsi.conf.Is entry
Code:
Path=/dev/sda3
correct?

All I am attempting to setup is Red Hat Cluster with two nodes as initiator and the one target Machine.I havent any shared storage an dI am setting up Alternative to the Shared Storage.

Pls Help
 
Old 07-11-2008, 01:21 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Its Done.Just Pointed the Entry to /dev/sda6 which is unformatted partition.
I need few more help.
Code:
When I click on File System on Cluster Tool...It asked for Mount point, Device, Option,Name,filesystem id, filesystem type..What Entry I need to make ?
pls help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM
iSCSI - ???? hackintosh Linux - Enterprise 0 02-01-2008 12:56 AM
Fileserver setup (striping, encryption, iSCSI target) Buzer Linux - Software 0 09-01-2007 04:56 PM
iscsi redhawk1973 Linux - Networking 1 01-31-2007 04:16 PM
Why use iSCSI ?? wetenschapper Linux - Networking 1 09-27-2005 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration