[stgt] Startup race condition?
dkelson at gurulabs.com
Sun Mar 28 23:55:02 CEST 2010
I'm writing documentation and lab exercises on stgt for our Guru Labs
Linux training courses. We try to document and show best practices in
I was looking at the initd.sample file and I see this code:
# Start tgtd first.
if [ "$RETVAL" -ne 0 ] ; then
echo "Could not start tgtd (is tgtd already running?)"
# Put tgtd into "offline" state until all the targets are configured.
# We don't want initiators to (re)connect and fail the connection
# if it's not ready.
tgtadm --op update --mode sys --name State -v offline
Is there a race condition between the initial starting of tgtd telling
it to go into the offline state?
If so, how about adding a --start-offline or equivalent to the tgtd
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt