[Stgt-devel] [Patch 1/1] Remove non-alphabetic chars from iSCSI target name

Mark Harvey markh794
Fri Aug 24 09:08:09 CEST 2007


Test script configured the iSCSI target name using both '-' & '_' chars. 
The Microsoft iSCSI initiator will not handle these chars.

>From 6e469c7bb490b4a76900492c14aaf26320bf67a0 Mon Sep 17 00:00:00 2001
From: Mark Harvey <markh794 at gmail.com>
Date: Fri, 24 Aug 2007 16:56:08 +1000
Subject: Remove non-alphabetic chars from iSCSI tgt name.

Microsoft iSCSI initiator did not like '-' & '_' chars
in the iSCSI target name.

Signed-off-by: Mark Harvey <markh794 at gmail.com>
---
 scripts/tgt-core-test |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/tgt-core-test b/scripts/tgt-core-test
index 8c58972..d2832cd 100755
--- a/scripts/tgt-core-test
+++ b/scripts/tgt-core-test
@@ -27,7 +27,7 @@ TID=1
 
 # Create Target ID 1..
 tgtadm --lld iscsi --mode target --op new --tid $TID \
-		-T iqn.2007-03:marks-vtl_tgt:`hostname`
+		-T iqn.2007-03:marksvtltgt:`hostname`
 sleep 1
 
 # Create first LUN - Disk
-- 
1.5.2.3







More information about the stgt mailing list