[Bug 465187] New: cannot boot from iscsi disk due to problem in 12-iscsi.sh script from mkinit
https://bugzilla.novell.com/show_bug.cgi?id=465187 Summary: cannot boot from iscsi disk due to problem in 12-iscsi.sh script from mkinit Classification: openSUSE Product: openSUSE 11.1 Version: RC 2 Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wessels147@yahoo.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 Build Identifier: The 12-iscsi.sh script is part of mkinitrd. The initial ramdisk gets loaded via pxe. At some point the 12-iscsi.sh script gets called and fails. This prevents the boot disk from appearing and therefore in a non booting system. The problem lies in the last line: /sbin/iscsiadm -m node -L onboot The -L (login all) doesn't work for onboot see the man pages. From the man iscsiadm manpages: -L, --loginall==[all|manual|automatic] For node mode, login all sessions with the node or conn startup values passed in or all running sesssion, except ones marked onboot, if all is passed in. This option is only valid for node mode (it is valid but not functional for session mode). The script tags the target with the 'onboot' value but this cannot be used for login. I fixed the script by changing the last line into /sbin/iscsiadm -m node -p ${TargetAddress}:${TargetPort} -T ${TargetName} -l This logs into the target as expected. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=465187
F Wessels
https://bugzilla.novell.com/show_bug.cgi?id=465187
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c1
Alexander Orlovskyy
https://bugzilla.novell.com/show_bug.cgi?id=465187
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c2
--- Comment #2 from Alexander Orlovskyy
https://bugzilla.novell.com/show_bug.cgi?id=465187
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c3
Alexander Orlovskyy
https://bugzilla.novell.com/show_bug.cgi?id=465187
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c4
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=465187
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=465187
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c5
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=465187
User erik@brakkee.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c6
Erik Brakkee
https://bugzilla.novell.com/show_bug.cgi?id=465187
User erik@brakkee.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c7
--- Comment #7 from Erik Brakkee
https://bugzilla.novell.com/show_bug.cgi?id=465187
User hare@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c8
Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=465187
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=465187
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=465187
User erik@brakkee.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=465187#c13
--- Comment #13 from Erik Brakkee
participants (1)
-
bugzilla_noreply@novell.com