From: hexf <hex...@nr...> - 2008-06-27 09:53:05
|
Hi,Mr. Vladislav Bolkhovitin: I am engineer of NRCHPC(National Research Centre for High Performance Computers),China. Now we are developping a product related to network storage,and we use SCST. I have two questions: 1. How can I shutdown a session? I uninstall the initiate's HBA driver,but in server, I "cat" the /proc/scsi_tgt/sessions, the result is like this: Target name Initiator name Group name Command Count qla2x00tgt 21:00:00:1b:32:12:48:30 cli-fc1 0 qla2x00tgt 21:00:00:1b:32:0a:0d:9d cli-fc2 0 even if I shutdown the initiate machine, the session is still exist,and thus the corresponding group cann't be deleted. I wonder how can I shutdown the session manually? BTW:in this case, I cannot remove the group.If I clear the file /proc/scsi_tgt/group/cli-fc1/devices and /proc/scsi_tgt/group/cli-fc1/names, the session is still like above.I make a new group,and add the device and wwn,but it dosen't work. Can you give me some advice? Thanks a lot and best regards. He Xiao-feng Tel: (86)10-6260-0514 Fax: (86)10-6265-7255 Mailing: P. O. Box 2704# Beijing Postcode: 100080 National Research Centre for High Performance Computers Institute of Computing Technology, Chinese Academy of Sciences No. 6, South Kexueyuan Road, Haidian District Beijing, China -------------------------------------- 何晓峰 中国科学院计算技术研究所工程中心 地 址:北京市海淀区中关村科学院南路6号 邮 编:100080 电 话:010-6260 0514 邮 箱:hex...@nr... |