When open-iscsi is running with use_discoveryd=YES, one has to restart 
open-iscsi when targets are added or removed:

1. Add a target:

    a. iscsiadm -m discoverydb -o new -p 1.1.1.1 -t st -l
    b. iscsiadm -m discoverydb -p 1.1.1.1  -t st -o update -n 
discovery.sendtargets.use_discoveryd -v Yes
    c. /etc/init.d/open-iscsi restart

2. Remove target:
   

>  a. iscsiadm -m discoverydb -p 1.1.1.1  -t st -o delete
>
    b. /etc/init.d/open-iscsi restart


Is there a way to have open-iscsi pick the new targets without restarting 
open-iscsi, i.e. I do not want to touch any existing sessions for targets 
that I didn't remove and be able to pick up new targets that are put into 
the discovery mode?

Also, is there a way to logoff a specific target with use_discoveryd=YES. I 
can logoff via iscsiadm -m session, but the session is re-established after 
the discoveryd poll interval.

- Tak

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

Reply via email to