Koozali.org: home of the SME Server

ISCSI initiators startup problem

Offline Jacky

  • 1
  • +0/-0
ISCSI initiators startup problem
« on: December 23, 2008, 03:15:09 AM »
Hi,
  I installed iscsi initiators from rpm and mount iscsi target on SME7.3 by manual it no problem.
  when server restart iscsi service can't run and can't mount iscsi target automatic and i would like to move /home/e-smith/files to my SAN. how do i do?
      - I try to add iscsi service into /etc/rc.d/rc7.d but not work.
      - After server restart i can run iscsi initiators service and mount -a from manual

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ISCSI initiators startup problem
« Reply #1 on: December 23, 2008, 08:45:35 AM »
hi

we need more infos about..
do you have any error? is there anything about it in the logs?

ciao
Stefano
[OT]
when you ask for help, remember that who reads is not in front of your server..
so saying 'it doesn't work' it's not enough..
if I say 'my car does not start, can you help me?', am I giving you any chance to help me? ;-)
[/OT]

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: ISCSI initiators startup problem
« Reply #2 on: December 23, 2008, 08:34:49 PM »
Have you setup your iscsi target(s) in /etc/iscsi.conf?

Make sure you at least uncomment the DiscoveryAddress= line and set this to the IP address of you iscsi target. 

Once you do this and restart the iscsi service, check dmesg to see if sme attached to the iscsi target and imported the volumes you are exporting.

You can view imported volumes with the command:

fdisk -l

or looking in your messages log file.  You should see something like this:

Oct 10 12:42:20 ora9is2 kernel:   Vendor: EQLOGIC   Model: 100E-00           Rev: 3.2
Oct 10 12:42:20 ora9is2 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 05
Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: 41963520 512-byte hdwr sectors (21485 MB)
Oct 10 12:42:20 ora9is2 kernel: sdd: Write Protect is off
Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: drive cache: write through
Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: 41963520 512-byte hdwr sectors (21485 MB)
Oct 10 12:42:20 ora9is2 kernel: sdd: Write Protect is off
Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: drive cache: write through
Oct 10 12:42:20 ora9is2 kernel:  sdd: unknown partition table
Oct 10 12:42:20 ora9is2 kernel: sd 3:0:0:0: Attached scsi disk sdd
Oct 10 12:42:20 ora9is2 kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.