Skip to content

Commit

Permalink
{TODO} osd-target: up: Launch a 2nd LUN
Browse files Browse the repository at this point in the history
For multy-device mirror configuration and all future multi device configurations
we should be able to export multiple targets/luns from the same server. Each with
it's own backing store.

TODO: Just us we establish the second lun in this patch, we should remove the automatic-
first-lun patch on /tmp/$user/... and have backing-device path here inside the script.
(And not hard coded in source-code.)

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
  • Loading branch information
Boaz Harrosh committed Oct 19, 2009
1 parent 3e92d24 commit 6f7abc2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion up
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@
# DEBUG="-d 9"
DEBUG=""

./tgt/usr/tgtd $DEBUG -f
./tgt/usr/tgtd $DEBUG -f &

sleep 2
./tgt/usr/tgtadm --lld iscsi --mode logicalunit \
--op new --tid 1 --lun 2 --bstype=osdemu --device-type osd \
--backing-store /tmp/tgt-bharrosh-2/

tgt/usr/tgtadm --lld iscsi --mode target --op show
wait

0 comments on commit 6f7abc2

Please sign in to comment.