此内容没有您所选择的语言版本。
1.2. iSCSI
		This section describes the iSCSI API and the 
iscsiadm utility. Before using the iscsiadm utility, install the iscsi-initiator-utils package first; to do so, run yum install iscsi-initiator-utils.
	
		In addition, the iSCSI service must be running in order to discover or log in to targets. To start the iSCSI service, run 
service iscsi start
	1.2.1. iSCSI API 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
		To get information about running sessions, run:
	
iscsiadm -m session -P 3
	
		This command displays the session/device state, session ID (sid), some negotiated parameters, and the SCSI devices accessible through the session.
	
		For shorter output (for example, to display only the sid-to-node mapping), run:
	
iscsiadm -m session -P 0
	
		or
	
iscsiadm -m session
	
		These commands print the list of running sessions with the format:
	
driver [sid] target_ip:port,target_portal_group_tag proper_target_name
driver [sid] target_ip:port,target_portal_group_tag proper_target_name
		For example:
	
iscsiadm -m session
	tcp [2] 10.15.84.19:3260,2 iqn.1992-08.com.netapp:sn.33615311 tcp [3] 10.15.85.19:3260,3 iqn.1992-08.com.netapp:sn.33615311
	
tcp [2] 10.15.84.19:3260,2 iqn.1992-08.com.netapp:sn.33615311
tcp [3] 10.15.85.19:3260,3 iqn.1992-08.com.netapp:sn.33615311
		For more information about the iSCSI API, refer to 
/usr/share/doc/iscsi-initiator-utils-version/README.