Close Menu
    What's Hot

    Evaluating the Most Effective Tools for Streamlining Modern Law Firm Operations

    April 29, 2026

    How to Effectively Use Social Media Analytics Tools

    April 27, 2026

    How I Burned $650 on Claude API in a Month — And the $1 Switch That Fixed It

    April 27, 2026
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Trading Gear
      • Laptops
    SysprobsSysprobs
    Home»Virtualization»Server Virtualization»How to Install FreeNAS on VMware with iSCSI Disks – Windows 10 Host

    How to Install FreeNAS on VMware with iSCSI Disks – Windows 10 Host

    DineshBy DineshUpdated:November 9, 2019
    Share
    Facebook Twitter LinkedIn Pinterest Email

    VMware is one of the best and user-friendly virtualization software in the market. Their Workstation and VM Player can be installed on most of the client Operating Systems to virtualize the physical hardware and install multiple Operating Systems top of it.

    Not only the server or client Operating Systems but even we can also install network storage Operating Systems on VMware as a virtual machine. Here I’m going to show how to install FreeNAS on VMware Workstation and configure iSCSI disks. This method gives the ideal test lab setup to have NAS as a virtual machine on single computer hardware. We can use this storage to setup Microsoft Windows server cluster.

    Freenas On Vmware

    What is NAS (Network Access Storage)?

    In the physical environment, NAS is a hardware device with hard drives and it is accessible via the network port. The controller will have its own Operating System to manage the disks and allow the access. Every NAS devices have plenty of features and tools to make it scalable, secure and accessible.

    These NAS devices support iSCSI, that can be used to set up a Windows failover cluster. But for the testing purpose in VMware, we can’t have the expensive physical NAS devices to configure a cluster with high availability in VMware. So, there is some free open source NAS software available to install on computers or servers to build a NAS system with existing hard disks and partitions. These free storage virtualization software make your computer hard disk as network access storage and allow other clients to access the disk directly through the network.

    I found that these two famous free NAS software can be installed in the computer and make NAS.

    Openfiler
    FreeNAS

    Installing FreeNAS on VMware is simple and straight forward. But setting up and configuring the iSCSI disks involves several steps. Also, remember that the steps involved in configuring iSCSI disks in FreeNAS as shown below remain the same on any platform. For example, if you have the physical FreeNAS box, or install it on VirtualBox or any other virtualization software, you can follow the same below steps to set up disks.

    How to Install FreeNAS Server on VMware workstation?

    1) Download the latest stable version from the official site here. At the moment you can find FreeNAS 11.2 as on writing this guide.

    NOTE: The current version requires a minimum 8GB of RAM. Since I have enough resources on my PC, I could configure a VM with 8GB RAM. If you do not have enough RAM, then you can try with lower capacity. It may impact the performance of VM.

    2)  Create a virtual machine in VMware workstation. Once you browse the downloaded FreeNAS ISO, it will automatically detect the OS version.

    Os Type

    3) Set a hard disk size for the Operating System. Remember, this hard disk will be used to install the Operating System only. We can’t use this disk to create storage, disks and LUNs for sharing a purpose. We need to attach another hard disk again to this VM. We will discuss that later.

    4) Set the appropriate hardware resources. I modified the RAM to 8GB and Processor numbers to 4.

    Hardware Configuration

    Make sure that the ISO file is attached to CD/DVD drive.

    5) Boot the system with the first option (default)

    Boot FreeNAS

    6) Select the Install/Upgrade option and press OK.

    7) On the next screen, select the virtual hard disk to install. You need to choose the hard drive and press spacebar key to make the selection.

    Select The Harddisk And Install

    8) Select the Boot mode as ‘Boot via BIOS’ option to make the things simple.

    You will see the installation screen. It is fast. The installation will be completed

    9) Remove the loaded ISO file and reboot the virtual machine.

    Reboot VM

    At this point, we have successfully installed the latest FreeNAS on VMware which is running on Windows 10 host.

    Let’s see some more settings to make it work.

    Network Settings in FreeNAS VM – Vmware

    Once the VM booted, you can see the below screen which gives several options.

    First VM Options

    By default, the VM network is in NAT mode in VMware. I’m not going to explain more about VMware networking.

    In the NAT mode, your virtual machines and host will communicate well even though the host and VM IP look different.

    If you want you can change the network mode to ‘Bridge Mode’ so the FreeNAS virtual machine will get the same IP scheme of your host computer physical network.

    In both cases, we need to configure static IP for FreeNAS storage. That is the ideal way to keep the IP unchanged for your storage device.

    10) Enter 1 and continue the network configuration. Set up a manual IP which is not in the DHCP scope.

    Here are the steps involved in setting up the IP.

    Configure IP

    Once the IP changes, it will display the web URL on the screen.

    11) Open a browser and access the URL. Login with the root user name and password you set during the installation.

    Freenas Web Login

    You must land on the FreeNAS management page without any issues.

    Add Disk and Configure iSCSI in FreeNAS 11 on VMware

    12) Now we are ready to configure the storage system and iSCSI disks. But we do not have any more drives than the OS disk. Hence we need to add another disk. You can add a few disks if you want.

    Luckily VMware allows adding the virtual disks to a virtual machine while it is working. SCSI disks can be added.

    Add Another Disk

    I added another 10GB disk for testing purpose.

    Added 2nd Disk

     

    13) Make sure VMware and FreeNAS detected the new disk successfully. It should be listed under the disks.

    Freenas New Disk

    14) Create a pool. Select and add the new disk to the pool, as shown below.

    Select And Move The New Disk

    15) Now start the iSCSI service in FreeNAS. By default, it is off.  Go to ‘Services’, select and switch on the iSCSI service.

    Start ISCSI In FreeNAS

    16) Go to ‘Sharing’ and select ‘Block (iSCSI)’ to configure more options.

    17) Click on ‘Portals’ and add a new one. If it is the first time you are configuring, most probably you need to add a new portal.

    You can comment for your reference. Click on the drop-down and select the IP address of the FreeNAS VM.

    New Portal With IP Address

    18) Now click on ‘Initiators’ tab and add a new one.

    If you do not want more restriction, then keep both ‘All’. Otherwise, add the client network where you will be accessing the iSCSI storage. I left ‘All’ and applied the settings.

    Initiators All

    19) Time to add targets. Click on ‘Targets’ and add a new one.

    Give a name related to the type so that you can understand later. Here select the portal you created in the earlier step.

    New Target

    20) We need to create Extents to add the storage. Click on ‘Extends’ and add new.

    Give an appropriate name, and select the type as ‘File’.

    Browse the mount point where you intended to store the iSCSI disk and give a name at the end of the mount point. This method will allow hosting several LUNs in the same disk. Give the size of the extend. When host access this iSCSI target, it will read the disk size what you mention here. It should be less than the mount point size.

    Create Extend

    21) As the final step, add an ‘Associated Targets’. Make sure to select the correct names from the drop-down and add LUN ID. It can be any number between 0 to 256 but should be unique.

    Associated Targets

    With those steps, we have successfully created an iSCSI disk in FreeNAS which is running on VMware workstation.

    Connect and Test the iSCSI Target in FreeNAS from Windows

    Make sure the network connectivity to the FreeNAS is working and iSCSI protocol allowed on the Windows firewall and any other network security protection software on Windows computer.

    I’m going to test this from my Windows 10 computer. You can use the same method on Windows servers such as 2016, 2019 or any other earlier versions which have Microsoft iSCSI service.

    22) Start the iSCSI initiator on Windows client and type the IP address of FreeNAS in quick connect. It will connect successfully.

    Windows Initiator Quick Connect

    23) Go to ‘Volumes and Devices’ and press ‘Auto Configure’. Windows will find the mount point with the device which is hosted on FreeNAS.

    Volumes Auto Configure

    24) We are almost done. Now open the disk management under Computer Management in Windows 10. It will pop up the new volume it found via the iSCSI. Format, give a name and initialize it.

    Disk Management New Volume

    With the above clear steps with the images, you should be having a FreeNAS server on VMware workstation with Windows 10, 8.1 or any client OS. We created iSCSI disks successfully on FreeNAS that can be accessed by any client as long as the network to the virtual machine available.

    Virtualization technology VMware Windows Virtualization
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Top Reasons to Consider Hybrid Cloud Solutions

    June 12, 2025

    Best Free Virtual Machine Software in 2024 – Start Your New Career

    January 15, 2024

    Building a Virtual Lab: Hands-On Learning for System Administrators

    July 20, 2023

    [Guide] How to Merge Snapshots in VMware Workstation?

    March 5, 2023

    Export VMware Workstation/Player Virtual Machine as OVF to VirtualBox

    March 3, 2023

    70 Comments

    1. Srujan Mandalapu on November 28, 2009 8:19 pm

      Really good blog, this is what I was looking for, It will be appreciated if you post /mail using this iscsi in windows 2008 r2.

      looking forward for your posts.

      • sayda on October 2, 2011 8:42 am

        Have open filer volume which is attached to server 2008 and initialized and formatted and data is put in
        for some reason it have been disconnected when connect it back using iscsi initiator the open filer volume is visible in the disk management of server 2008 but have no drive letter and it seem to be empty

        when right click the only option highlighted is convert to dynamic disk
        how to solve this problem and how to restore my data back??

        • Jon on November 2, 2011 1:15 pm

          Do not use dyanmic disks for iscsi using Windows iscsi initiator. They will not reconnect on reboot. Disk must be basic. I know this is true for Windows 2003 so I beleive it is also the case for 2008.

        • Jon on November 2, 2011 1:19 pm

          Do not use dyanmic disks for iscsi using Windows iscsi initiator. They will not reconnect on reboot. Disk must be basic. I know this is true for Windows 2003 so I beleive it is also the case for 2008.

          To get back to basic disk you must delete the partition and recreate it. Make sure you copy your data to another disk or starage before deleting it. Also make sure you setup the iscsi initiator to use persistent targets / reconnect on reboot.

          If you do not want to recreate a basic disk, there may be some scripts out there that will reconnect dynamic volumes on reboot.

    2. Edmund on December 10, 2009 2:09 pm

      Hi, I am using FreeNAS 0.7 Khasadar (revision 4919) and everytime I try and create a target I get Error Code 1 following your instructions. Is this a bug in this version? It only happens right at that step when I create a target. Also, I am using this on ESXi 4 so I don’t know if that will be an issue.

      Thanks,

      Edmund

    3. Dinesh on December 12, 2009 5:11 am

      I don’t think using on ESXi will be an issue. Better give little less size (512 MB to 500MB) when you allocate target disk. I don’t think it will be bug, because I use the same version. I can try if you send the screen shot of error, I would suggest, just for testing install and configure outside ESXi.
      Good luck lets us know what happened.

    4. Karthik M on December 13, 2009 11:26 am

      Hi Dinesh,

      The article is just great .
      When i followed ur steps everything was perfect execpt when t tried to do the 31st step(Coniguring extender and target).iam not able to save the changes and i get error code 1…in step 32 when u say ” It will bring the pool you created as a directory. Click on it and press OK button at top right side” what do u mean by that..i dont see any pool in the parent directory..kindly explain me on this..thank u

    5. Roy on December 13, 2009 1:49 pm

      I’m having the same problem as Edmund. I’m running freenas in a VM with 4 virtual disks in raid 5. Everything goes well until i create the target. I also get the “Error: The changes could not be applied (error code 1). The portal is working and i can connect to it with an initiator but the target kills the service and brings the portal down.
      Allocating less disk space did not work for me.

      I’m going to test it tomorrow on another PC. This is driving me nuts..

    6. Roy on December 13, 2009 1:56 pm

      Extra info from the log:

      istgt[3873]: istgt_lu.c:1223:istgt_lu_add_unit: ***ERROR*** LU1: LUN0: format error
      istgt[3873]: istgt_lu.c:1473:istgt_lu_init: ***ERROR*** lu_add_unit() failed
      istgt[3873]: istgt.c:1247:main: ***ERROR*** istgt_lu_init() failed
      root: Failed to restart service iscsi_target

      Too bad it doesn’t help me that much. 😮

    7. Dinesh on December 14, 2009 12:27 am

      I’m also getting the same error in latest version FreeNAS 0.7 (Khasadar). But here I used earlier version FreeNAS 0.7RC1 (Sardaukar). No major changes between both versions.
      Download FreeNAS 0.7RC1 (Sardaukar) version at
      http://www.softpedia.com/get/UNIX/Networking/Server-Applications/FreeNAS.shtml
      it must be a bug in FreeNAS 0.7 (Khasadar) version, or different way to create SCSI-3 persistent targets.
      I will check & update you all. But Windows 2008 R2 cluster working fine with this setup.

    8. theo on December 15, 2009 2:28 pm

      I also had this issue with FreeNAS 0.7 (Khasadar) but I downloaded FreeNAS 0.7RC1 (Sardaukar) and it worked like a charm. Very useful article. Thanks.

    9. Edmund on December 15, 2009 6:43 pm

      I have just finished creating the ISCSI targets under FreeNAS 0.7RC1 (Sardaukar)and agree this may be a bug in version 0.7 Khasadar (revision 4919.

    10. Hugh Perkins on December 23, 2009 12:09 am

      Dinesh, this article is awesome. Really easy to follow the instructions. Nice work!

    11. aoyama on December 27, 2009 5:20 pm

      Hi,

      It’s nice post.

      >>LUN0: format error

      I provide some fixes.
      Please check iSCSI target updater (binary upgrade) in this thread:
      http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=53&t=4854&start=20#p24519

    12. Romashkarom on January 27, 2010 4:20 am

      Splendid!, excellent!

    13. Tranthom on February 22, 2010 2:28 pm

      Hi folks.

      I completed all the steps from A to Z but when I’m trying to add the Iscsi into the VM host’s config via vsphere (click on CONFIGURATION , then STORAGE in the middle, then ADD STORAGE on upper right corner, then DICK/LUN option is checked, click NEXT, and then BAM!!! nothing shows up.

      I did ALL that was in the article exactly by the book (except IPs and that I gave more significant names to me and my environement wich shoudn’t cause any trouble so far)

      FreeNas version / revision:
      FreeBSD 7.2-RELEASE-p6 (revision 199506)
      0.7.1 Shere (revision 5024)

      any hints on what’s going wrong?

    14. Dinesh on March 3, 2010 9:53 am

      Hi Tranthom,
      You must check this post to connect FreeNAS iSCSI disks to vSphere,
      https://sysprobs.com/connect-freenas-iscsi-disks-vmware-vsphere-4-esxi4

    15. Luke on April 30, 2010 12:32 am

      Thanks you so much for your post and now I can use but I add one more ISCSI FreeNAS into VMware ESXI it cannot from same iSCSI Adapter ?

    16. Constantine on May 3, 2010 12:34 pm

      i ve configured FreeNAS well, with partitions….
      i ve got 3 VMs (1 DC, and 2 for cluster noded)….

      when i’m trying to discover with iscsi initiator, it tells me that Connection is Failed. (Firewalls are disconnected on cluster nodes).

      what may be a cause of this?

    17. Rob on May 11, 2010 12:14 am

      Dinesh – You Rock!! Thanks for you post followed the steps and all works great. I have a little different config as I am using vmware server 2 but all worked good. I had to reboot the NAS a few times for it to see new disks but no big deal. Thanks a bunch!

    18. Dinesh on May 11, 2010 1:16 am

      That’s cool, I helped you in some way.

    19. Dinesh on May 11, 2010 1:24 am

      Constantine,

      Have you created LUNs, and iSCSI targets till last step mentioned here? Have you started iSCSI initiator service in FreeNAS? May be this is the silly question, can your VMs communicate to FreeNAS server? Can you ping to it?
      If all Ok, I’m sure you will not get the issue again.

    20. Constantine on May 11, 2010 3:07 pm

      thank you Dinesh,
      i solved my problem…

    21. Mathias on June 11, 2010 4:32 am

      Hello! Thanks for the guide.

      Just two notes. FreeNAS with ZFS needs at least 1GB RAM to be stable or else it’ll panic. (The screenshot above is from a virtual machine with 256mb RAM.)

      It’s easier to create one big disk as in step 21 and then assign multiple LUNs to it as in step 33. I.e. if your disk is 10gb you can create five LUNs of 2gb each. There’s no need for individual physical disks.

      • Dinesh on June 13, 2010 8:41 am

        @Mathias, Thanks for very useful notes. FreeNAS recommends 512MB Ram. Because of I was using two Windows 2008 R2 servers, windows 2003 server and some client OS as guest in my 3GB host, I had to allocate 256MB only. Anyhow, its just for testing purposes and worked well for R2 Fail over cluster.

        I will try big disk with several LUNs.

    22. Joseph Moses on July 1, 2010 5:52 pm

      I followed this directions and got the extent0 set up and from my XenServers I see the iSCSI 1GB drive and I have HA!! This is cool. But for the DATASTORE drive (10GB) I tried following the same steps again but I have problems and questions:
      1) in step 29 – do I create a new TAG for the DataStore drive? (I did this)
      but then in Step 31 – when I get my DataStore details it shows as “/mnt/DataShare/” and when I try to save I get an error : The following input errors were detected:

      * The path ‘/mnt/DataShare’ is a directory.
      What am I doing wrong?
      Thanks!

      • Dinesh on July 3, 2010 4:49 am

        @Joseph Moses,
        Check the step 33, you have to give a name after /mnt/DataShare/disk1
        Let me know if this works.

    23. prashanth on July 22, 2010 6:08 pm

      I cant seem to open the web gui , I tried the URL from my local computer. Any suggestions ?

      • Dinesh on July 24, 2010 5:36 am

        @Prashanth,
        Check the network connectivity to FreeNAS from your local computer. If you are using internet proxy, then add exception for FreeNAS IP.

    24. JohnBann on August 7, 2010 11:05 am

      Hi, Denish…

      I’m not native english speaker. so, my English is poor …
      But, your article is very very easy for me..
      This is a GREATE GREATE document..
      Thanks for your helps..

      • Dinesh on August 8, 2010 3:49 am

        @ JohnBann, Thanks for your comment. This is what I wanted and started this blog.

    25. Prashanth on August 8, 2010 5:49 am

      Hi Dinesh,

      I tried to ping the IP address of the storage server from my local machine.It doesnt respond. So , there is not network connectivity between them.
      How can I set up a connection.
      I am not so good with networks , Any help is appreciated friends.

      Thanks
      Prashanth

    Newer Comments →
    Top Posts

    Where is the Outlook QR code? How to Use?

    February 16, 2024

    Download and Use Windows 7 Pre-Installed VirtualBox Image

    May 3, 2022

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025
    Don't Miss

    Evaluating the Most Effective Tools for Streamlining Modern Law Firm Operations

    April 29, 2026

    The legal industry has undergone a significant transformation as traditional paper-heavy files are replaced by…

    How to Effectively Use Social Media Analytics Tools

    April 27, 2026

    How I Burned $650 on Claude API in a Month — And the $1 Switch That Fixed It

    April 27, 2026

    200+ Funny Wi‑Fi Names in 2026 for Home Routers, Mesh Wi‑Fi, and Hotspots

    April 26, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    Evaluating the Most Effective Tools for Streamlining Modern Law Firm Operations

    April 29, 2026

    How to Effectively Use Social Media Analytics Tools

    April 27, 2026

    How I Burned $650 on Claude API in a Month — And the $1 Switch That Fixed It

    April 27, 2026
    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and System Administrators. We bridge the gap between enterprise infrastructure and the future of fintech security. From Windows virtualization to Blockchain node management, we provide technical guides for the modern digital economy.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.