Oh yeah, to be able to use be2iscsi for root like below you must use
be2iscsi for the initial boot (the bios int13 boot). So in the bios
screens for be2iscsi, set the target you want to boot from, boot from
it, then the commands below will use that same info for root boot.

On 06/09/2011 01:12 PM, Mike Christie wrote:
> If do then for 2.6.39 you should just use be2iscsi in the initramfs. In
> there you need to do:
> 
> // this module will read the boot info that was used by the bios and
> export it in sysfs
> modprobe iscsi_boot_sysfs
> // this will load be2iscsi
> modprobe be2iscsi
> // this will have iscsid/iscsistart read the iscsi_boot_sysfs info and
> have be2iscsi create sessions using that info
> iscsistart -b
> 
> // you can run iscsistart -f to see the info in sysfs if you wanted or
> you can just cd to /sys/firmware/iscsi_boot_*
> 
> 
> When the system has switched to the real root and the init scripts run
> then you just need to start iscsid and log into any other sessions you
> wanted running.
> 

-- 
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