Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
International Medical Corps

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 83 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       iscsid  [  -b  bindingfile ] [ -d ] [ -f configfile ] [ -l
       basedir ] [ -m mode ] [ -n ]


       iscsid establishes connections with iSCSI targets  defined
       in /etc/iscsi.conf.

       Once the Linux iSCSI driver is activated, a discovery pro­
       cess for iSCSI storage devices will proceed as follows:

       -      The iSCSI daemon requests available  iSCSI  targets
              from  the  iSCSI target, and passes the information
              discovered to the iSCSI kernel module.

       -      The iSCSI kernel module establishes connections  to
              the targets.

       -      Linux queries targets for device information.

       -      Linux  creates  a mapping from SCSI device nodes to
              iSCSI targets.

       iscsid should be started after  networking  is  configured
       and stopped after all iSCSI devices have been unmounted.

       Warning:  Data  corruption can occur if you do not unmount
       iSCSI devices before disabling network interfaces!


       Because Linux assigns SCSI device nodes dynamically  when­
       ever  a  SCSI  logical  unit is detected, the mapping from
       device nodes (e.g /dev/sda, /dev/sdb) to iSCSI targets and
       logical units may vary.

       Variations  in  process  scheduling  and network delay may
       result in iSCSI targets being  mapped  to  different  SCSI
       device nodes every time the driver is started.  Because of
       this variability, configuring  applications  or  operating
       system  utilities to use the standard SCSI device nodes to
       access iSCSI devices may result  in  SCSI  commands  being
       sent to the wrong target or logical unit.

       To  provide  a  more  reliable namespace, the iSCSI driver
       will scan the system to determine the  mapping  from  SCSI
       device  nodes  to iSCSI targets, and then create a tree of
       directories and symbolic links under /dev/iscsi to make it
       easier to use a particular iSCSI target's logical units.

       SCSI  device  nodes  as SCSI devices are found, the driver
       does not and can  not  ensure  that  any  particular  SCSI
       device  node  (e.g.  /dev/sda) will always map to the same
       iSCSI TargetName.  The symlinks described in  the  section
       on  Device  Names  are  intended  to  provide a persistent
       device mapping for use by applications  and  fstab  files,
       and should be used instead of direct references to partic­
       ular SCSI device nodes.

       If the bindings file grows too large,  lines  for  targets
       that  no  longer  exist may be manually removed by editing
       the file.  Manual editing should not normally  be  needed,
       since  the driver can maintain up to 65535 different bind­


       -b bindingfile
              Specify an alternative  bindings  file  instead  of
              /var/lib/iscsi/bindings, which is the default.

       -d     Turns  on  debug  mode.   Each occurence of -d will
              increment the debug level by one.  The  default  is
              zero (off).

       -f configfile
              Specify  an  alternative configuration file instead
              of /etc/iscsi.conf, which is the default.

       -l basedir
              Specify the base directory under which to  build  a
              tree  of  directories  containing  symlinks to SCSI
              device nodes, in a  manner  similar  to  the  devfs
              Linux  kernel  option.   Using these symlinks hides
              variations in the mapping from SCSI device nodes to
              SCSI device id numbers.

       -m mode
              Specify the directory permission mode (in octal) to
              use when creating directories.

       -n     Avoid auto-backgrounding.

       -v     Print version and exit.


       iscsid reacts to a set of signals.  You may easily send  a
       signal to iscsid using the following:

              kill -SIGNAL `cat /var/run/iscsid.pid`

       The  number  of  iSCSI  targets  and LUNs that can be used
       depends on the number of SCSI device  nodes  supported  by
       your  kernel.   Each iSCSI target will be probed for up to
       256 LUNs, until the Linux kernel's limit of  SCSI  devices
       has been reached.

       The iSCSI drivers, README files, and example configuration
       files are available on the Linux-iSCSI homepage at:



              target address and LUN configuration

              persistent iSCSI InitiatorName

              the process id of the running daemon

              persistent bus and target  id  bindings  for  iSCSI

              information about iSCSI devices

              a  directory  tree  containing  symlinks  to  iSCSI
              device nodes.



$Revision:$Date: 2003/07/31 11:26:01 $ ISCSID(8)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


More information about the site can be found in the FAQ



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds