FreeNAS Tutorial – Create iSCSI Target Server on FreeNAS 9.10

This tutorial is going to show you how to create iSCSI Target server using FreeNAS 9.10. FreeNAS comes with iSCSI Service by default. We only need to configure it to work properly.

Steps to create iSCSI Target Server on FreeNAS

Step 1. Configure Global Configuration

Go to Services | iSCSI. Go to Target Global Configuration. On this section we only need to configure the Base Name for our iSCSI Target. You may change the value with your own or leave it as is.

iscsi on freenas 1.png

Step 2. Configure Portal IP

Go to Portal tab and then Add Portal. Select the FreeNAS IP address from the list.

iscsi on freenas portal

Step 3. Add Initiators

Switch to Initiator tab and Add Initiator. If you don’t want to specify which initiator allowed to access the iSCSI Target, type ALL for each column.

iscsi on freenas initiator.png

Step 4. Add Target

Go to targets and click Add Target. We will configure a new Target here. Enter the target name and alias. Portal Group ID and Initiator Group ID. In my case, I leave Auth method and Authentication Group Number to None.

iscsi on freenas target.png

Step 5. Create Extents

Now we need to create extents. In this example, I choose File as the extent type and I put 5000 MB on the size. You may change it freely.

iscsi on freenas extents.png

Step 6. Associate Extents

After we created Extent, we need to associate extent to the Target. Since we only created one Target and one extent here, its should be pretty straight forward.

iscsi on freenas associate extents.png

OK Now, our iSCSI Target server is ready. We can now connect to iSCSI Target server from other computer/client.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.