There are two modes discoverydb and discovery. What is the difference ? TOT = Top Of Trunk :-)
In iscsiadm man page, description of option -m/--mode lists the various modes which does not include discovery. On Mon, Jul 18, 2011 at 12:57 PM, Mike Christie <micha...@cs.wisc.edu>wrote: > On 07/17/2011 05:55 AM, Vivek S wrote: > > Hi, > > > > I think the iscsiadm command line syntax should be simpler and easy to > > reproduce without having to look up the man page for the meaning of each > > option. > > > > It should be something like > > > > iscsiadm --mode discovery --portal 192.168.1.2:3260 > > iscsiadm --mode login --targetname iqn.2005-10.com.open-iscsi.test:12345 > > --portal 192.168.1.2:3260 > > iscsiadm --mode display --parameter session/discoverydb/connection > > I am ok with something like this, but you need to support both old style > and new style for some time, because other apps rely on the current syntax. > > > > > > Also, in the current (TOT) iscsiadm man page, there is no mention is > > mode discovery whereas iscsiadm --help displays a line for mode discovery > > "iscsiadm -m discovery [ -hV ] [ -d debug_level ] [-P printlevel] [ -t > > type -p ip:port -I ifaceN ... [ -l ] ] | [ [ -p ip:port ] [ -l | -D ] ] " > > What is this mode used for ? > > > > I am not sure what you mean. It is used for discovery. It is in the man > page. I am not sure what TOT stands for. Maybe that is why I am not > understanding your question. > > For discovery you can have different types of discovery like isns or > sendtargets. You can pass in the ifaces you want to use for discovery. > You can log into the portals you found. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.