On 07/28/2014 08:39 PM, Alex McWhirter wrote: > I'm using Ubuntu's MAAS system which boots nodes via PXE and feeds the > kernel iSCSI options to boot the actual OS image. The MAAS server feeds > kernel options such as... > > iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-release > > iscsi_target_ip=10.0.0.49 > iscsi_target_port=3260 > iscsi_initiator=Alpha ip=::::Alpha:BOOTIF > > I would like to pass a second "iscsi_target_name" option to have > open-iscsi mount a second target at boot. The problem is that by passing > a second "iscsi_target_name" option it causes open-iscsi causes boot > errors referring a session that already exists. Is there a away to > accomplish this via kernel options or should i put a shell script in the > boot image to load the second target after init loads? >
You might have to ask a ubuntu group. We did not implement any of the glue used to take the kernel command line info and pass it to the tools. That differs from distro to distro. We just implemented the tools and iscsi kernel drivers. Ubunutu has some init code specific to them that will read those options you mention then pass them to the open-iscsi tools/drivers. It sounds like it is not reading the second target's info and instead trying to pass the first targets info twice. -- 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.
