>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On
>Behalf Of Mike Christie
>Sent: Thursday, July 24, 2014 11:09 AM
>To: [email protected]
>Cc: [email protected]
>Subject: Re: change target information in iscsi boot scenario
>
>On 07/18/2014 07:19 PM, [email protected] wrote:
>> Hi folks-
>>
>> Quick question.  Not strictly an openiscsi question but related enough
>> that I'm hoping someone will help me out.  We have installed Ubuntu
>> 14.04 to an iSCSI target called "rbd_base".  We then shut down the
>> client, cloned the installation, and set up a new target called
>> "rbd00".  I can boot off the clone, however, as the OS comes up I see
>> it is still attaching to the original target:
>>
>> iscsistart: Logging into rbd_base 10.0.0.3:3260,1
>>
>> I assume this is just hard coded into a file somewhere when we did the
>> original installation, and I can resolve it by changing that file, but
>> so far I cannot find it.  Can anyone point me in the right direction?
>>
>
>Boot is distro specific. They have implemented it in different ways.
>
>If you are using the iscsi ibft feature then the iscsi tools normally just 
>read the
>ibft info from the system and use that. So if you configured different iscsi 
>targets
>in the bios setup screens, then we should be getting that info. Check that
>/sys/firmware/ibft is reporting the correct info.
>
>If you are using some sort of net/pxe boot for the initial initramfs/kernel, 
>then it
>is really distro specific how they tied things together. Does your distro use
>dracut? If so, check out that info in google. When using dracut, then you can 
>pass
>the target info on the kernel command line (so check maybe the grub.cfg or
>grub.conf) and I think it supports dhcp iscsi boot options, so check that 
>those are
>getting updated properly if you used that.
>

The solution turned out to be to edit /etc/iscsi/iscsi.initramfs, which 
contained static target information, and replace with ISCSI_AUTO=true, then 
just run update-initramfs -u and we're all good.  Thanks for the input!

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to