Windows Server 2016: Mapping iSCSI Drive using Windows 10

Windows Server 2016: Mapping iSCSI Drive using Windows 10

// Setup a segregated network for use with iSCSI on Windows 10

1) Windows 10 > Network & Sharing Centre > Change Adapter settings > Ethernet0 (WAN/Internet) / Ethernet1 (Private) > right-click Ethernet1 > IPv4 > Use following IP address:- IP Address: 10.0.20.99 | Subnet Mask: 255.255.255.0

// Opens up iSCSI initiator from Windows 10 search box
// Start iSCSI initiator automatically (Microsoft iSCSI)

2) Windows 10 > Type: iscsi > Microsoft iSCSI > Yes

// GUI for Microsoft iSCSI pops up

// 10.0.20.40 is the iSCSI Target (Server)
// 10.0.20.99 is the iSCSI Initiator (Client)

3) Windows 10 > iSCSI Initiator properties:- Discovery > Discover Portal > IP Address or DNS Name: 10.0.20.40 | Port: 3260 > Advanced > Connect using (a) Local Adapter: Microsoft iSCSI initiator | (b) Initiator IP: 10.0.20.99 > OK

4) Windows 10 > iSCSI Initiator properties:- Discovery > Target Portals:

Address:      | Port:    | Adaptor:                             | IP Address:
10.0.20.40   | 3260    | Microsoft iSCSI Initiator   | 10.0.20.99

5) Windows 10 > iSCSI Initiator properties:- Targets >

(right-click) iqn.2005-10.org.freenas.ctl.vmstorage15k    (Status: Inactive)
iqn.2005-10.org.freenas.ctl.vmstorage7k      (Status: Inactive)

// Properties for  iqn.2005-10.org.freenas.ctl.vmstorage15k

6)  Windows 10 > iSCSI Initiator properties:- Targets > Properties > Add session > Advanced > Connect using (a) Local Adapter: Microsoft iSCSI initiator | (b) Initiator IP: 10.0.20.99 > Target portal IP: 10.0.20.40 / 3260 > OK

// Properties for iqn.2005-10.org.freenas.ctl.vmstorage7k

7)  Windows 10 > iSCSI Initiator properties:- Targets > Properties > Add session > Advanced > Connect using (a) Local Adapter: Microsoft iSCSI initiator | (b) Initiator IP: 10.0.20.99 > Target portal IP: 10.0.20.40 / 3260 > OK

// After Properties are filled in at stages 6) & 7)
// iSCSI Targets are connected.

8) Windows 10 > iSCSI Initiator properties:- Targets >

iqn.2005-10.org.freenas.ctl.vmstorage15k    (Status: Connected)
iqn.2005-10.org.freenas.ctl.vmstorage7k      (Status: Connected)

9)  Windows 10 > iSCSI Initiator properties:- Volumes and Devices > Auto Configure >

9) i)  Windows 10 > right-click on Windows Start bar & goto Disk Management > Disk 1 & Disk 2 (Offline) are mounted > Click "Online" button to set Disk 1 & Disk 2 Online >

// ------------------------------------------------------------------
// Extra Info:
// Prepare / Format iSCSI virtual disks
// ------------------------------------------------------------------

A) [Windows Server 2016] > File and Storage Services > Volumes > Disks > Right-click on iSCSI disk (Status: Offline) > Bring Online > right-click on iSCSI disk > initialize > Parttion  Info (i.e. Unknown) becomes GPT (i.e. UEFI mode - GPT supports drives > 4TB) >  under Volunes (box), select " To Create a volume, start the New Volume Wizard " > under File System Settings, File System: ReFS (i.e. ReFS cannot boot but uses checksum for data integrity check + the data integrity check is automated) > Create > 

Comments