From 7a12737c9d53cdee57a178571a375bb11fa9770b Mon Sep 17 00:00:00 2001 From: Joe Eykholt Date: Fri, 11 Jun 2010 17:59:26 +0000 Subject: [PATCH] Simplify README by eliminating example using of ini_groups. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1761 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/README | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/fcst/README b/fcst/README index 5fca70dda..97a3ee4e4 100644 --- a/fcst/README +++ b/fcst/README @@ -78,21 +78,18 @@ To build for linux-2.6.34, do: In the above example, there's one local host on eth3, and it's in a point-to-point connection with the remote initiator with Port_id 010101. -11. Load fcst and create an ini-group for the remote initiator. Do: - - LPORT=20:00:00:1b:21:06:58:21 # the local Port_Name - INIT_PORT=10:00:50:41:4c:4f:3b:00 # remote Port Name - GROUP=test # your choice ini_group name - GDIR=$LPORT/ini_group/$GROUP +11. Load fcst modprobe fcst - cd /sys/kernel/scst_tgt/targets/fcst - echo create $GROUP > $LPORT/ini_group/mgmt - echo add $INIT_PORT > $GDIR/initiators/mgmt -12. Add any disks you want to the LUNs in that init group. +12. Add any disks (configured in step 8) you want to export + Note that you must have a LUN 0. - echo add disk-name 0 > $GDIR/luns/mgmt + LPORT=20:00:00:1b:21:06:58:21 # the local Port_Name + + cd /sys/kernel/scst_tgt/targets/fcst/$LPORT + echo add disk-name 0 > luns/mgmt + echo add disk-name 1 > luns/mgmt 13. Enable the initiator: