INSTALLING FREENAS INTO VMWARE WORKSTATION PT3 – iSCSI Setup

Navigate to Storage and highlight the Volume you just created and Select create zVol

1

Enter a Volume name and the size, if using GB be sure to enter the g after the number.  Select Add zvol

2

Navigate to Services on the top bar and turn on iSCSI by clicking on the Toggle

3

Click on the Wrench next to iSCSI to enter the iSCSI Settings

Select Portals and Add Portal

4

Give the Portal a comment and leave the IP at 0.0.0.0 which means it will communicate with all IPs

5

Select Initiators and select Add Initiator

6

We could lock this down but for the lab environment I will leave at ALL and ALL and click OK

7

Select Authorised Access and select Add Authorised Access

8

Enter a Username and Password details ( I kept them simple for the lab)

9

Select Targets and Add Target

Enter Relevant details i.e Target Name and Alias and use Drop down menu on the Portal Group ID and Initiator Group ID just created

10

Select Extents and Add Extent

Enter a name for the Extent and Select Device from the Extent Type options.  Select the Volume you want from the Device window and click OK

11

Select Associated Targets and Add Target / Extent

Give the Extent a LUN ID and select the Target and Extent from the drop downs and click OK

12

So from here we can map this back to vSphere or Windows.  As a quick test, I will map it to a Windows Box.

Bring up the iSCSI Initiator and enter the IP of the FreeNAS Box – click Quick Connect

13

Select Done

14

Now if we go into Computer Management / Disk Management we should see Windows wanting to Add the Drive

15

Select OK and add Volumes as necessary

16

Make sure you can Write files to the New Drive

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s