It is also possible that the corresponding nic interface is up on boot.
It's worthwhile to make sure that the ONBOOT=yes is set inside that
corresponding sysconfig network script.

On Tue, 2012-11-06 at 03:00 -0600, Mike Christie wrote:
> On 11/06/2012 02:29 AM, vaibhav pol wrote:
> > Hi 
> > set node.startup = manual in 
> > iscsid.conf then run iscsiadm to turn on specific portals by setting the 
> > --value/-v to automatic.
> 
> Just wanted to add some more details.
> 
> The iscsi/iscsid service does not go by the iscsid.conf settings alone.
> When you discovery/setup targets it uses those as the defaults for the
> records that get made. If you run
> 
> iscsiadm -m node -T youtarget -p ip -I iface
> 
> then you will see the settings that will get used for that specific records.
> 
> If those also have automatic, then check that the iscsid and iscsi
> services are started at boot (in some distros it might be called
> open-iscsi).
> 
> And to set settings for specific records run:
> 
> iscsiadm -m node -T youtarget -p ip -I iface -o update -n nameofsetting
> -v newvalue
> 
> 
> 
> >  
> > Thanks and regards
> > Vaibhav  Pol
> > Senior Technical Officer 
> > National PARAM Supercomputing Facility
> > Centre for Development of Advanced   Computing
> > Ganeshkhind Road
> > Pune University Campus
> > PUNE-Maharastra
> > Phone +91-20-25704176 ext: 176
> > Cell Phone :  +919850466409
> > 
> > 
> > 
> > On Mon, Nov 5, 2012 at 1:46 PM, riva gupta <[email protected]
> > <mailto:[email protected]>> wrote:
> > 
> >     Dear All
> > 
> >     I have connected my host and iSCSI storage directly with LAN cable.
> > 
> >     The iface created for the particular port through which the
> >     connection is made is:
> > 
> >     * iscsiadm -m iface -I bnx2i.3c:d9:2b:f5:2e:e7*
> >     # BEGIN RECORD 2.0-872
> >     iface.iscsi_ifacename = bnx2i.3c:d9:2b:f5:2e:e7
> >     iface.net_ifacename = <empty>
> >     iface.ipaddress = 192.168.3.20
> >     iface.hwaddress = 3c:d9:2b:f5:2e:e7
> >     iface.transport_name = bnx2i
> >     iface.initiatorname = <empty>
> >     # END RECORD
> > 
> >     I have successfully discovered the target using the command:
> >     *iscsiadm -m discovery -t st -p 192.168.3.14:3260
> >     <http://192.168.3.14:3260> -I bnx2i.3c:d9:2b:f5:2e:e7*
> > 
> >     And logged into my storage successfully as:
> >     *iscsiadm -m node -p 192.168.3.14:3260 <http://192.168.3.14:3260> -I
> >     bnx2i.3c:d9:2b:f5:2e:e7 -l
> >     *
> >     I can then see my sessions successfully as:
> >     *iscsiadm -m session*
> >     bnx2i: [2] 192.168.3.14 <tel:%5B2%5D%20192.168.3.14>:3260,1
> >     
> > iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000000090019.lx-hprhel6.target0000
> > 
> >     I have the setting *node.startup = automatic*
> >     in the file /etc/iscsi/iscsid.conf
> > 
> >     But on reboot I see:
> >     *iscsiadm -m session*
> >     iscsiadm: No active sessions.
> > 
> >     I think the node.startup=automatic is not working. Have any of you
> >     faced such a problem. Please help.
> > 
> > 
> >     -- 
> >     You received this message because you are subscribed to the Google
> >     Groups "open-iscsi" group.
> >     To view this discussion on the web visit
> >     https://groups.google.com/d/msg/open-iscsi/-/iSgT7ktg3bMJ.
> >     To post to this group, send email to [email protected]
> >     <mailto:[email protected]>.
> >     To unsubscribe from this group, send email to
> >     [email protected]
> >     <mailto:open-iscsi%[email protected]>.
> >     For more options, visit this group at
> >     http://groups.google.com/group/open-iscsi?hl=en.
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google
> > Groups "open-iscsi" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/open-iscsi?hl=en.
> 


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to