Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Jacky on December 23, 2008, 03:15:09 AM

Title: ISCSI initiators startup problem
Post by: Jacky 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
Title: Re: ISCSI initiators startup problem
Post by: Stefano 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]
Title: Re: ISCSI initiators startup problem
Post by: gzartman 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