[CentOS] Possible to run iscsi-target and initiator on same server?

Mon Oct 12 14:48:25 UTC 2009
Ross Walker <rswwalker at gmail.com>

On Mon, Oct 12, 2009 at 12:10 AM, C Linus Hicks <linush at verizon.net> wrote:
> On Sun, 2009-10-11 at 23:26 -0400, Ross Walker wrote:
>> Can you send a short tcpdump between initiator and target during
>> discovery/login?
>
> Sure. Note that all this traffic is on the "lo" interface.
>
> The discovery command and tcpdump output:
>
> [root at lh6 ~]# iscsiadm -m discovery -t st -p 10.200.1.6:3260 -P 1
>    Target: iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
>        Portal: 10.200.1.6:3260,1
>           Iface Name: iface0
>
>
> [root at lh6 iscsi]# tcpdump -i lo -n -vv

Unfortunately this doesn't actually show me anything of the iSCSI protocol.

Can you dump these to a file, zip it and send it to me off-list so I
can look at it in wireshark?

# tcpdump -c 1000 -n -nn -i lo -s 1600 -w iscsi-dump port 3260

-Ross