Simple iSCSI Lab with Linux & Windows Server 2008 Core

This is a very simple lab scenario for testing iSCSI.
In Linux iSCSI is setup in the usual way: from command line. Since Windows 2008 Core dosen’t have an interface to setup iSCSI initiator, you have to use the linux-way: command line.

iSCSI Target: Linux Box, openSuSE 11, IP address:, Name:
iSCSI Initiator: Windows Server 2008, Core Install, IP Address:, Name:

Target setup:
Install openSuSE 11, any installation type + iscsitarget, iscsitarget-kmp-default
Make available one additional disk, in this case sdb
Add target by editing /etc/ietd.conf:
Lun 0 Path=/dev/sdb, Type=fileio

Enable & satart service
#chkconfig --set iscsitarget on
#rciscsitarget start

Initiator Setup:
Install Windows Server 2008 core

Enable & satart service
sc \\core config msiSCSI start= auto
net start msiSCSI

Setup iSCSI Intiator

iscsicli AddTargetPortal 3260
iscsicli ListTargets
Targets Lists:
iscsicli QloginTarget
iscsicli PersistentLoginTarget T * * * * * * * * * * * * * * * 0
iscsicli ListPersistentTargets
iscsicli ReportTargetMappings

Create partition & format

DISKPART> rescan
DISKPART> list disk
DISKPART> select disk=1
DISKPART> online
DISKPART> create partition primary
DISKPART> format quick