> -----Original Message-----
> From: Gerald Stanje [mailto:[email protected]]
> Sent: Thursday, August 08, 2013 6:09 PM
> To: Love, Robert W; Patil, Kiran; [email protected]
> Subject: RE: example
> 
> Hello,
> 
> Attached my targetcli output...looks good?
> 

No, I don't think so.

> Whats the next step? How to setup the initiator and establish the
> connection?
> 

modprobe/vn2vn_create on the initiator. Get The port name from the initiator.

> # targetcli
> targetcli shell version 2.0rc1.fb16
> Copyright 2011 by RisingTide Systems LLC and others.
> For help on commands, type 'help'.
> 
> /> ls
> o- /
> ..........................................................................
> ........................................ [...]
>   o- backstores
> ..........................................................................
> ............................. [...]
>   | o- block
> ..........................................................................
> ................... [1 Storage Object]
>   | | o- Disk1
> ....................................................................
> [/dev/sdb1 (2.0GiB) write-back activated]
>   | o- fileio
> ..........................................................................
> .................. [0 Storage Object]
>   | o- pscsi
> ..........................................................................
> ................... [0 Storage Object]
>   o- loopback
> ..........................................................................
> ......................... [0 Targets]
>   o- tcm_fc
> ..........................................................................
> ........................... [2 Targets]
>     o- 10:00:90:e2:ba:3d:38:82
> ..........................................................................
> .......... [enabled]
>     | o- acls

Go under this directory and:

create <initiator port name>

so you're granting access from the initiator to the target's lun.

I think you then need to logout/in on the intiator again.

echo <ifname> > /sys/module/libfcoe/parameters/destroy
echo <ifname> > /sys/module/libfcoe/parameters/create_vn2vn

then 'fcoeadm -t' 'fcoeadm -l' and 'lsscsi' should all be able to confirm 
you're connected to the target and that you've discovered a lun.

//Rob
_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to