Contents

Configure iSCSI with FreeNAS

Website Visitors:
Contents

Before configuring the below steps, make sure you add some additional hard disk(I mean space) to your freenas machine.

  1. Open a browser and login to FreeNAS 8.2.

  2. Navigate to Storage > Active Volumes:

  3. Click Volume Manager.

  4. Enter a Volume Name, select disk(s), select Filesystem type (ZFS has some neat features), then click Add Volume:

  5. Click the Create ZFS Volume button:

  6. Enter a ZFS Volume Name, specify the volume size, then click Add ZFS Volume:

  7. Navigate to Services > Core, and turn on iSCSI:

  8. Click the wrench icon next to iSCSI.

  9. Navigate to iSCSI > Portals, click Add Portal. Select 0.0.0.0 as the IP Address (this means it will listen on all IPs).Click OK:

  10. Navigate to iSCSI > Initiators, click Add Initiator. Leave ALL in both fields to allow all client connections from any network:

  11. Navigate to iSCSI > Authorized Access, click Add iSCSI Authorized Access. Enter a Userand Secret:

  12. Navigate to iSCSI > Target, click Add Target. Enter a Target Name and Alias. Select thePortal and Initiator Group IDs, and Authentication Group number:

  13. Navigate to iSCSI > Device Extents, click Add Extent. Enter an Extent Name and select aVolume:

  14. Navigate to iSCSI > Associated Targets, click Add Extent to Target. Select a Target andExtent to map together:

  15. Navigate to iSCSI > Target Global Configuration. Customise your Base Name, select CHAPfor Discovery Auth Method and select your Discovery Auth Group. Leave other settings unless you know what you’re doing. Scroll to bottom of page to Save:

  16. All done. Now you need to connect to the iSCSI SAN using an iSCSI Initiator.

  17. If you get any connection problems, try restarting the iSCSI service here:

  18. If you don’t trust the GUI and want to confirm the service has definitely started, you can runservice -e at the shell prompt, and look for istgt:

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: