On 03/08/2011 03:04 PM, OneSeventeen wrote:
When I set node.startup = automatic then all targets on my SAN are
connected (most are live on another production system)

it usually hangs on this, possibly due to disk activity on the targets
it is automounting?

It will wait for all sessions to get logged and for disks to get scanned for in or for the sessions to fail to get logged into.


Is it possible for me to have this server only mount a specific target
on startup?  (preferably in time for fstab to mount the actual drive
itself)
The /etc/init.d/open-iscsi file states that it logs in to default
targets. Can I specify which targets are default while leaving the
rest alone?


You can set the iscsid.conf settings for specific target portal by running

iscsiadm -m  node -T target -p ip -o update -n name-of-setting -v value

So you would want:

iscsiadm -m  node -T target -p ip -o update -n node.startup -v manual

you could also do the reverse and set node.startup = manual in iscsid.conf then run iscsiadm to turn on specific portals by setting the --value/-v to automatic.

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