summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Automate logging into iSCSI FW targets.Lee Duncan2018-01-161-0/+16
| | | | | | | Add a script that logs into all iSCSI firmware targets, and add a udev rule to call that script when new targets are detected. Also, add a man page for the script.
* Replace open-iscsi.org with open-iscsi.com in docsChris Leech2016-09-294-4/+4
| | | | Replaced in README and man pages
* Additional spelling fixesChristian Seiler2016-09-182-5/+5
| | | | | | These spelling mistakes were found by Debian's QA tool lintian. Signed-off-by: Christian Seiler <christian@iwakd.de>
* Spelling fixesVille Skyttä2016-09-182-3/+3
|
* man page syntax fixesVille Skyttä2016-09-182-28/+28
|
* typo in man iscsiadm(8)Christian Hesse2016-09-181-2/+2
|
* Fix typos in iscsiadm man pageChristophe Vu-Brugier2016-08-211-13/+13
| | | | | | Also remove trailing whitespaces. Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
* Merge pull request #8 from dscunkel/mastermikechristie2015-08-041-1/+1
|\ | | | | Fix typo in man page.
| * Fix typo in man page.Christopher Unkel2014-10-031-1/+1
| |
* | Reformat man page synopsis sectionsChristian Seiler2015-06-052-18/+166
| | | | | | | | | | | | Reformat the synopsis section of the iscsiadm(8) and iscsi_discovery(8) man pages to follow traditional man page style more closely. Thanks to Ulrich Windl for the suggestion.
* | Spelling and escaping error fixes.Ritesh Raj Sarraf2015-06-051-7/+7
| |
* | add discovery as a valid mode in iscsiadm.8Chris Leech2015-01-161-6/+6
|/
* Man page correction for host mode options of iscsiadmAdheer Chandravanshi2014-01-021-3/+1
| | | | | | | Correct the help options of iscsiadm host mode in its man page. Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* iscsiadm.8: Updated man page for host statistics.Lalit Chandivade2013-12-221-1/+6
| | | | | Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* iscsiadm: Man page changes to use -x option for chap_tbl_idxAdheer Chandravanshi2013-12-221-5/+5
| | | | | | | | Changes in iscsiadm man page to use -x option instead of -v option for chap_tbl_idx cmdline param. Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* Allow firmware mode to use debug flagMike Christie2013-05-281-1/+1
| | | | | | | | | | From Lee Duncan: When iscsiadm is called with "-m fw", the debug flag can be useful. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Lee Duncan <lduncan@suse.com>
* Manpage changes for flashnode submode support for host mode.Adheer Chandravanshi2013-05-281-4/+31
| | | | | Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* iscsi tools: update documents for CHAP commandNilesh Javali2012-03-061-1/+1
| | | | Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
* iscsi tools: update documents for ping commandVikas Chaudhary2012-03-061-1/+33
| | | | | | update README and man page for ping command. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* iscsistart: allow any rec/iscsid.conf setting as argMike Christie2012-02-261-0/+4
| | | | | | | | | | | | This patch allows users to pass in any record/iscsid.conf setting as a parameter to iscsistart. iscsistart --param $NAME=$VALUE .... example: iscsistart --param node.session.timeo.replacement_timeout=30 \ --param node.session.err_timeo.lu_reset_timeout=120 ....
* iscsiadm: add netconfig supportLalit Chandivade2011-08-141-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Current status: Using iscsiadm one cannot do any network configuration for qla4xxx adapters. However an iface is created for the qla4xxx ports using the hwaddress. \# ls /etc/iscsi/ifaces/ iface.example iface0 qla4xxx.00:0e:1e:04:8b:2a qla4xxx.00:0e:1e:04:8b:2e This allows user to issue sendtargets via the qla4xxx iscsi offload. 2. Current Proposal: Current proposal is to allow iscsiadm to configure the network settings for qla4xxx ports. This implementation is based on discussions at - http://marc.info/?l=linux-scsi&m=127066184916180&w=2 - http://groups.google.com/group/open-iscsi/browse_thread/thread/d8e8c2df71c95d69/8f731d95d46141a0?lnk=gst&q=iscsi+hba# 2.1 Changes in iscsiadm/iscsid 2.1.1 Add a new event: ISCSI_UEVENT_SET_IFACE_PARAMS 2.1.2 New structure/enum to represent a single network parameter - enum iscsi_net_param; - struct iscsi_iface_param_info; 2.1.3 Added new parameters in iface 2.1.4 Change in operations Add two new operations to iscsiadm apply: Apply the single iface settings applyall: Apply the iface settings of all iface having the same MAC address 2.2 Changes in sysfs network representation The new sysfs directory would look like this:- /sys/class/iscsi_iface/-| _______________________| | |- ipv4-iface-<host_no>-<iface_no>/ <-- for ipv4 |- bootproto |- enabled |- ipaddress |- subnet |- gateway |- mtu |- port |- vlan |- vlan_enabled |- vlan_priority |- ipv6-iface-<host_no>-<iface_no>/ <-- for ipv6 |- enabled |- ipaddr_autocfg |- ipaddress |- link_local_addr |- linklocal_autocfg |- mtu |- port |- router_addr |- vlan |- vlan_enabled |- vlan_priority 3. Flow: 3.1 User space code: - If user specify --op=update, then just update the iface config file - If use specify --op=applyall then ifaces for the host passed in. and build up the net config buffer. - Note: If --op is "apply" then only settings for single iface is read, the iface provided with -I option is only read. - The net config buffer will look like this. ----------------------------------------------------------------| | iscsi_net_param { | | iface_num = 0; | | len = 4; | | param = ISCSI_NET_PARAM_IPV4_ADDR; | | iface_type = ISCSI_IFACE_TYPE_IPV4; | | param_type = ISCSI_NET_PARAM; | | value[0] = ipaddress[0]; | | value[1] = ipaddress[1]; | | value[2] = ipaddress[2]; | | value[3] = ipaddress[3]; | | } | ----------------------------------------------------------------| | iscsi_net_param { | | iface_num = 0; | | len = 4; | | param = ISCSI_NET_PARAM_IPV4_GW; | | iface_type = ISCSI_IFACE_TYPE_IPV4; | | param_type = ISCSI_NET_PARAM; | | value[0] = ipgateway[0]; | | value[1] = ipgateway[1]; | | value[2] = ipgateway[2]; | | value[3] = ipgateway[3]; | | } | ----------------------------------------------------------------- | | | iscsi_net_param { | | iface_num = 1; | | len = 4; | | param = ISCSI_NET_PARAM_IPV4_ADDR; | | iface_type = ISCSI_IFACE_TYPE_IPV4; | | param_type = ISCSI_NET_PARAM; | | value[0] = ipaddress[0]; | | value[1] = ipaddress[1]; | | value[2] = ipaddress[2]; | | value[3] = ipaddress[3]; | | } | ----------------------------------------------------------------- ----------------------------------------------------------------- | iscsi_net_param { | | iface_num = 0; | | len = 4; | | param = ISCSI_NET_PARAM_IPV4_GW; | | iface_type = ISCSI_IFACE_TYPE_IPV4; | | param_type = ISCSI_NET_PARAM; | | value[0] = ipgateway[0]; | | value[1] = ipgateway[1]; | | value[2] = ipgateway[2]; | | value[3] = ipgateway[3]; | | } | ----------------------------------------------------------------- | iscsi_net_param { | | iface_num = 1; | | len = 1; | | param = ISCSI_NET_PARAM_IFACE_ENABLED; | | iface_type = ISCSI_IFACE_TYPE_IPV4; | | param_type = ISCSI_NET_PARAM; | | offset = 0; | | value[0] = 0; /* 0 = disable, default = 1 = enable */ | | } | ----------------------------------------------------------------- Each netconfig parameter has different size requirement for value field. e.g.: IPv4 address requires 4 bytes, IPv6 address requires 16 bytes etc. The memory allocated for each netconfig parameter is size of iscsi_net_param + length required for that parameter. The multiple IO Vector mechanism is used to send netconfig parameter from user space to kernel using Netlink interface. IO Vector 0 is used for Netlink message header. IO Vector 1 is used for iSCSI User Event (ev). - The ev will be sent down with event type = ISCSI_UEVENT_SET_NET_CONFIG IO Vector 2 onwards, each vector consists of the struct iscsi_net_param with parameter name followed by its value. The total size will be addition of all the IO vector sizes. 3.2 Kernel space code: - Once event is received, the buffer will look like struct iscsi_net_param with parameter name followed by its value, then next parameter and its value and so on. - the scsi_transport_iscsi would call the adapter's transport->set_net_config - In set_net_config each individual param can be decoded and set into the hardware. 4. qla4xxx configuration: iscsid, creates the iface for qla4xxx, based on the hwaddress. To display the iface related to qla4xxx execute following \# iscsiadm -m iface qla4xxx.00:0e:1e:04:8b:2e qla4xxx,00:0e:1e:04:8b:2e,<empty>,<empty>,<empty> qla4xxx.00:0e:1e:04:8b:2e.ipv6 qla4xxx,00:0e:1e:04:8b:2e,<empty>,<empty>,<e mpty> qla4xxx.00:0e:1e:04:8b:2a qla4xxx,00:0e:1e:04:8b:2a,20.15.0.66,<empty>,<emp ty> qla4xxx.00:0e:1e:04:8b:2a.ipv6 qla4xxx,00:0e:1e:04:8b:2a,2001:DB8:1111:2222::8888,<empty>,<empty> qla4xxx.00:0e:1e:04:8b:2a.ipv6.1 qla4xxx,00:0e:1e:04:8b:2a,2001:DB8:4444:5555::9999,<empty>,<empty> To setup network configuration there can be two methods 4. 1. User can manually modify the iface file, and issue an "apply" command. --------------------------------------------------------------------------- \#cat /etc/iscsi/ifaces/ iface.example iface0 qla4xxx.00:0e:1e:04:8b:2a qla4xxx.00:0e:1e:04:8b:2e Example: \# cat qla4xxx.00:0e:1e:04:8b:2a iface.iscsi_ifacename = qla4xxx.00:0e:1e:04:8b:2a iface.transport_name = qla4xxx iface.hwaddress = 00:0e:1e:04:8b:2a iface.state = enable iface.iface_num = 0 (default) iface.bootproto = static iface.ipaddress = 192.168.2.2 (decimal) iface.subnetmask = 255.255.255.0 (decimal) \# vi qla4xxx.00:0e:1e:04:8b:2a.ipv6 (If file does not exist, the one can create it) iface.iscsi_ifacename = qla4xxx.00:0e:1e:04:8b:2a.ipv6 iface.transport_name = qla4xxx iface.hwaddress = 00:0e:1e:04:8b:2a iface.ipaddress = 1111:2222::7777:8888 (hex) iface.iface_num = 0 \# iscsiadm -m iface -H 00:0e:1e:04:8b:2a --op=applyall This will find the ifaces on the host with MAC address 00:0e:1e:04:8b:2a and apply the settings to the hardware.. Note, this will read all the iface belonging to the same MAC address. Note2, Instead of a MAC address the host number can be passed in. 4.2. User can use iscsiadm to specify the values and then apply -------------------------------------------------------------- \# ls /etc/iscsi/ifaces/ iface.example iface0 qla4xxx.00:0e:1e:04:8b:2a qla4xxx.00:0e:1e:04:8b:2e \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.ipaddress -v 192.168.1.2 \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.gateway -v 192.168.1.1 \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.subnet_mask -v 255.255.255.0 \# iscsiadm -m iface -H 00:0e:1e:04:8b:2a -o applyall Setting up multiple IP: First interface (default, no need to set iface_num, it is 0 by default) \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.ipaddress -v 192.168.1.2 Create the second one if it does not exist \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a.1 -op=new \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.iface_num -v 1 (Mandatory) \# iscsiadm -m iface -I qla4xxx.00:0e:1e:04:8b:2a -o update \ -n iface.ipaddress -v 192.168.1.3 \# iscsiadm -m iface -H 00:0e:1e:04:8b:2a --op=applyall Note: If there are common settings for multiple interfaces then the settings from 0th iface would be considered valid. Note: To apply settings for a single iface, just say --op=apply Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com> Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> [formatting fixes and addition of host param for applyall] Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
* Add multiple sessions per iface commandline syntaxJim Ramsay2011-07-071-2/+3
| | | | | | | | | | | | | | | | | | | This accepts the syntax '-m session -r <n> -o new' and creates a new session based on the session selected via the '-r' option, by setting the 'multiple' flag in the session_rec_t. Example: # iscsiadm -m session tcp: [4] <portal> <target> # iscsiadm -m session -r 4 -o new Logging in to [iface: iface0, target: <target>, portal: <portal>] (multiple) Login to [iface: iface0, target: <target>, portal: <portal>] successful. # iscsiadm -m session tcp: [4] <portal> <target> tcp: [5] <portal> <target> Signed-off-by: Jim Ramsay <jim_ramsay@dell.com>
* iscsid: Implement --no-pid-fileHannes Reinecke2011-06-261-0/+3
| | | | | | | | For root on iSCSI scenarios the /var directory might not exist. And we don't need the pid file anyway as the daemon is synchronized via the IPC connection. Signed-off-by: Hannes Reinecke <hare@suse.de>
* iscsi tools: support hostnames in node modeMike Christie2011-02-011-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now pass in hostnames as the portal argument. If you had: iscsiadm -m node -P 1 Target: iqn.2008-09.com.meanminna:3 Portal: 20.15.0.12:3260,1 Iface Name: default Then you can do iscsiadm -m node -T iqn.2008-09.com.meanminna:3 -p somehostname -l and iscsiadm will match this. For discovery mode we already support hostnames, but we do not support mixing. So if you used a hostname for discovery: iscsiadm -m discoverdb -t st -p somehostname -D Then when you run other discovery commands you have to use the hostname. iscsiadm -m discoverydb -t st -p somehostname -o update -n someval -v val will work, but iscsiadm -m discoverydb -t st -p 20.15.0.12 -o update -n someval -v val would not. For node mode, you do not have any control what the target returns (and it probably returns a address) but for discovery you can pass in what you want, so I think this should be ok.
* iscsi tools: convert discovery code to iscsi error codesMike Christie2011-01-311-0/+10
| | | | | This just converts the iscsi discovery code to the iscsi_err.h error codes.
* iscsid: add new auth error codeMike Christie2011-01-311-0/+6
| | | | | | Add a new auth error code to make it easier for users to tell if it failed due to a auth error vs other target login error.
* iscsi doc: document iscsiadm host argumentMike Christie2011-01-311-1/+7
| | | | | iscsiadm -m host's --host=hostno agrument was not documented in iscsiadm's man page.
* iscsi tools: fix iscsiadm exit codesMike Christie2011-01-311-0/+130
| | | | | | | | | iscsiadm/iscsistart return a mix of type of returns codes. Sometimes -1 and sometimes a EXYZ type of error code. This patch has them return a ISCSI_ERR value. See iscsiadm man page EXIT STATUS section for error code definitions.
* iscsiadm: rename discovery2 mode as discoverydbMike Christie2010-07-111-8/+7
| | | | | This renames discovery2 mode to discoverydb to reflect it works on the discovery db where discovery mode does not.
* iscsiadm: mark discovery mode as depreciatedMike Christie2010-07-011-0/+2
| | | | discovery2 mode should be used instead of discovery mode.
* iscsiadm: add new discovery modeMike Christie2010-07-011-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I really screwed up the old discovery mode record handling. This adds a discovery2 mode, which adds back the old features that got killed over time, and supports the new ones. iscsiadm -m discovery2 -t st -p ip:port --discover will discover targets like before. Note that you must pass in the --discover argument. This will try to read a record for [-t st -p ip:port]. If found it will use those settings. If not found then it will create a record using iscsid.conf discovery.* settings and use them. Note that iscsiadm -m discovery2 -t st -p ip:port will no longer perform discovery (yuou must pass the --discover arguement), because the type and portal [-t st -p ip:port] is now used as the record id. So the above command will now print out the record values. What is being added is discovery record support. iscsiadm -m discovery2 -o new -t st -p ip:port will create a record for [-t st -p ip:port]. You can then use iscsiadm -m discovery2 -o -t st -p ip:port -o update \ -n name -v value to set the settings for the discovery record with id [-t st -p ip:port]. You can also then do more advanced commands like before iscsiadm -m discovery2 -t st -p ip:port -o new -o delete --discover will do discovery and add new portals and delete portals that are no longer returned.
* iscsiadm: fix discovery record managementMike Christie2010-07-011-2/+9
| | | | | | | | | | | | | | | | | | | We recently added the ability to use and update discovery records. when this was done, we had iscsiadm -m discovery -t st -p ip:port use the record value if found. This will break compat with older releases and it is a little strange because iscsiadm -m discovery -p ip:port [ -o ... | -l ] works on or uses the discovery record. So this patch reverts iscsiadm behavior so that iscsiadm -m discovery -t st -p ip:port uses the iscsid.conf settings, and adds a new --discover|-D command that can be used to force discovery. iscsiadm -m discovery -p ip:port --discover will force discovery using the record with the ID ip:port.
* iscsi tools: use open-isns servicesMike Christie2010-03-221-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the native isns code with open-isns's libisns. I included the open-isns code in the open-iscsi tarball to make distribution easier since some distros use different isns clients and may not want to carry open-isns. This is based on open-isns commit 5e09f36d3446e41de0b8361601ffec4cd140d513. Changes in iSNS behavior/use: - To do discovery you must pass the ip and optionally the port to iscsiadm: iscsiadm -m discovery -t st -p 10.15.0.9 This command accepts the same ops as sendtargets so you can add/remove/update the node records that are created. It also supports ifaces properly now. - isns.address and isns.port in iscsid.conf are no longer used. - ESI is temporarily not supported. This will be fixed in the next patch when SCNs support is added. - The iscsiadm isns discovery command is not marked as stable. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
* iscsiadm: add nonpersistent mode to discovery modeMike Christie2010-03-221-1/+3
| | | | | | | | | | | | | | | | | | | | The default behavior for iscsiadm discovery mode is to store the portals found in the node DB. This adds a op "nonpersistent" to run iscsiadm discovery in a nonpersistent mode. In thos mode iscsiadm will not access the node DB. iscsiadm -m discovery -t st -p ip -o nonpersistent will just print out the portals found. icssiadm -m discovery -t st -p ip -o nonpersistent -l will print out the portals found and login. If this command is run to logout you must run in session mode. iscsiadm -m session -u would logout all the sessions.
* minor manpage updatesRitesh Raj Sarraf2010-02-252-25/+25
| | | | Signed-off-by: Ritesh Raj Sarraf <rsarraf@netapp.com>
* doc: add iscsi-iname man pageMike Christie2010-01-151-0/+22
| | | | Add iscsi-iname man page
* doc: add iscsistart man pageMike Christie2010-01-151-0/+67
| | | | Add iscsistart man page.
* iscsiadm: fix discovery record useMike Christie2009-10-111-2/+2
| | | | | | | | | | | | | | | | | | iscsiadm is not using the discovery record settings. This has iscsiadm -m discovery -t st -p ip:port search for a discovery setting for ip:port. If found it will use those values for discovery. Previously it would always use the iscsid.conf settings. To change the discovery settings for a record you can do iscsiadm -m discovery -p ip:port -o update -n setting_name -v value like in node mode. Or you can completely remove the discovery record and targets found through it by doing iscsiadm -m discovery -p ip:port -o delete then run the discovery command which will then use the iscsid.conf values and create a new discovery record.
* iscsiadm: add host modeMike Christie2009-05-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prints out the info for iSCSI hosts in the system. EXAMPLE ------- iscsiadm -m host cxgb3i: [9] 10.10.15.50,[00:07:43:05:97:07],eth3 <empty> $TRANSPORT: [$HOST_NO] $HOST_IP,[$MAC},$NETDEV $INITIATORNAME EXAMPLE --------- iscsiadm -m host -P 2 Host Number: 9 State: running Transport: cxgb3i Initiatorname: <empty> IPaddress: 10.10.15.50 HWaddress: 00:07:43:05:97:07 Netdev: eth3 ********* Sessions: ********* Target: iqn.2001-04.com.home:meanminna Current Portal: 10.10.15.10:3260,1 Persistent Portal: 10.10.15.10:3260,1 ********** Interface: ********** Iface Name: cxgb3i Iface Transport: cxgb3i Iface Initiatorname: iqn.2005-06.com.redhat:noisymax Iface IPaddress: 10.10.15.50 Iface HWaddress: 00:07:43:05:97:07 Iface Netdev: eth3 SID: 8 iSCSI Connection State: LOGGED IN iSCSI Session State: LOGGED_IN Internal iscsid Session State: NO CHANGE ********** Interface: ********** Iface Name: cxgb3i.def Iface Transport: cxgb3i Iface Initiatorname: iqn.2005-06.com.redhat:madmax Iface IPaddress: 10.10.15.50 Iface HWaddress: 00:07:43:05:97:07 Iface Netdev: eth3 SID: 9 iSCSI Connection State: LOGGED IN iSCSI Session State: LOGGED_IN Internal iscsid Session State: NO CHANGE
* docs: fix up iscsiadm man page iface infoMike Christie2009-02-211-1/+2
| | | | | | When the offload iface settings changed the doc page got misedited. This should fix it and add some info on what the hw address is.
* userspace - add new transport cxgb3iKaren Xie2008-12-051-4/+3
| | | | | | | | | added new transport cxgb3i. This patch is based on the master branch of the git tree. Signed-off-by: Karen Xie <kxie@chelsio.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
* Minor fixes in iscsi_discovery documentationErez Zilber2008-10-221-5/+5
| | | | | | | Some changes that were made in iscsi_discovery were not reflected in the docs. Signed-off-by: Erez Zilber <erezzi.list@gmail.com>
* Fix transport_name compat support.Mike Christie2008-06-131-7/+8
| | | | | | | | This lists the default iface stuff as unstable and adds back support for node.transport_name and iface.transport_name. We will not merge Doran's patch for now because I just do not have time to deal with regressions., but I am adding in a hack to make sure we do not change the transport name while a session is running.
* disable iscsi_discovery qla4xxx supportMike Christie2008-04-081-1/+1
| | | | | | iscsi_discovery is not familiar with qla4xxx and cannot just set the transport name for it. This patch removes mentions of qla4xxx in the script.
* Add additional flags to iscsi_discoveryMike Christie2008-04-081-14/+27
| | | | | | | | | | | | | | | | | From Doron: Add additional flag: -t set trasnpot (default is tcp). -f force specific transport -disable the fallback to tcp (default is fallback enabled). force the transport specified by the argument of the -t flag. -m manual startup - will set manual startup (default is automatic startup). -l login - login to the new discovered nodes (defualt is false). Signed-off-by: Doron Shoham <dorons@voltaire.com> Signed-off-by: Erez Zilber <erezz@voltaire.com> Minor teak to get it merged from Mike Christie.
* Add options to modify the db manipulation behavior during discoveryMike Christie2008-02-201-7/+5
| | | | | | | | | | | | Instead of overwriting existing node records, you can modify the behavior by passing in different ops. Pass -o new to add new nodes. Pass -o delete to delete stale ones. Pass -o update to update the records of existing nodes. And pass combos of different ops for different behavior. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
* Add iscsiadm -m fw -l commandMike Christie2008-01-221-2/+2
| | | | | | We can do iscsiadm -m node -l, and this logs into all the portals in the db. This patch adds the equivalent for fw mode.
* add SIGTERM iscsid handler and iscsiadm command to stop iscsidMike Christie2007-10-291-0/+10
| | | | | | | | | | | | You can now do killall iscsid or iscsiadm -k 0 to stop iscsid. This should not normally be done, because iscsid is required for normal initiator behavior. It is mostly for testing, iscsi boot or system shutdown. TODO: - more testing. I am pretty sure the original code is broken. For exmaple sending a SIGTERM to the log process then the daemon process will cause semop errors.
* fix up iscsiadm's debug_level documentationMike Christie2007-08-011-6/+6
| | | | | the iscsiadm man page and --help option do not list the debug_level argument.
* fix iscsid debug option documentationMike Christie2007-07-311-2/+2
| | | | iscsid's man page does not document the debug_level argument.