Announcement

Collapse
No announcement yet.

ESXi 3.5 & FreeNAS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ESXi 3.5 & FreeNAS

    Finally got round to setting up a FreeNAS box last night and have it configure with 3 HDDs. Tried to setup a datastore in ESX and just get an error message saying

    mount request was denied by the NFS server
    Any tips on what I need to do next?

    I also noticed that there is an option to setup iSCSI on both the FreeNAS server and ESX server. Would one be better over the other?

    Thanks

  • #2
    Re: ESXi 3.5 & FreeNAS

    Don't know freenas that well

    check that the NFS export is allowed to the specific IP of your ESX machine - it usually is limited.
    Maish
    ----------------------------------------------------------
    Technodrone|@maishsk|Author of VMware vSphere Design
    VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
    MSCA 2000/2003, MCSE 2000/2003
    A proud husband and father of 3 girls
    ----------------------------------------------------------
    If you find the information useful please don't forget to give reputation points sigpic.

    Have a good one!!

    Comment


    • #3
      Re: ESXi 3.5 & FreeNAS

      Originally posted by Maish View Post
      Don't know freenas that well

      check that the NFS export is allowed to the specific IP of your ESX machine - it usually is limited.
      Just checking that now

      My etc/exports file is:

      /mnt/Disk 2/ 192.168.1.38(rw,no_root_squash)
      and my etc/hosts.allow file is:

      portmap: 192.168.1.38
      /mnt/Disk 2/ is the share mounted in FreeNAS and 192.168.1.38 is the IP address of my ESX server.

      That's what I've found online to change so far but I am pretty much a linux noob so please forgive me if it's wrong

      Comment


      • #4
        Re: ESXi 3.5 & FreeNAS

        firstly - If you do not know how use them - Linux does not like spaces in names

        on your freenas console

        tail -f /var/log/messages

        and then try to mount the nfs share again from your esx

        see if you get an error on the freenas that might help you out
        Maish
        ----------------------------------------------------------
        Technodrone|@maishsk|Author of VMware vSphere Design
        VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
        MSCA 2000/2003, MCSE 2000/2003
        A proud husband and father of 3 girls
        ----------------------------------------------------------
        If you find the information useful please don't forget to give reputation points sigpic.

        Have a good one!!

        Comment


        • #5
          Re: ESXi 3.5 & FreeNAS

          Only have remote access at the moment so not able to get to a console

          Looking through the log files I can see the requests made by the ESX server and I'm getting:

          Nov 24 14:55:27 mountd[1329]: mount request from 192.168.1.38 for non existent path /mnt/disk2/
          Nov 24 14:55:27 mountd[1329]: mount request denied from 192.168.1.38 for /mnt/disk2/
          Am I typing the path wrong where I'm pointing the datastore to?

          I've changed the name now so there's no space either

          Comment


          • #6
            Re: ESXi 3.5 & FreeNAS

            And now for some reason it's started working

            Typed in exactly the same mounting path: /mnt/Disk2/ and it's worked

            I am rather confused but happy too lol

            Thanks for all your help I may be back when I start moving the VMs over but hopefully that will go smoothly

            Comment


            • #7
              Re: ESXi 3.5 & FreeNAS

              but you did not change the name of the export on your freenas

              /mnt/Disk 2/ 192.168.1.38(rw,no_root_squash)

              and your trying to mount

              /mnt/disk2/
              Maish
              ----------------------------------------------------------
              Technodrone|@maishsk|Author of VMware vSphere Design
              VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
              MSCA 2000/2003, MCSE 2000/2003
              A proud husband and father of 3 girls
              ----------------------------------------------------------
              If you find the information useful please don't forget to give reputation points sigpic.

              Have a good one!!

              Comment


              • #8
                Re: ESXi 3.5 & FreeNAS

                glad for you it started to work
                Maish
                ----------------------------------------------------------
                Technodrone|@maishsk|Author of VMware vSphere Design
                VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
                MSCA 2000/2003, MCSE 2000/2003
                A proud husband and father of 3 girls
                ----------------------------------------------------------
                If you find the information useful please don't forget to give reputation points sigpic.

                Have a good one!!

                Comment


                • #9
                  Re: ESXi 3.5 & FreeNAS

                  Originally posted by Maish View Post
                  but you did not change the name of the export on your freenas

                  /mnt/Disk 2/ 192.168.1.38(rw,no_root_squash)

                  and your trying to mount

                  /mnt/disk2/
                  Sorry, should have said. I found that everytime I restarted the NFS service using the GUI it changed the export back to original. So anything I changed manually made no difference.

                  Comment


                  • #10
                    Re: ESXi 3.5 & FreeNAS

                    Originally posted by Maish View Post
                    glad for you it started to work
                    Thanks And thankyou for all your help. Rep added to

                    Now to go look for some new discs to install when I can afford them lol RAID 5 here I come

                    Comment


                    • #11
                      Re: ESXi 3.5 & FreeNAS

                      I avoided freenas when I heard stories of it not working well as shared storage with ESX. That was a few years ago. As a result, I turned to using Openfiler. It hasn't failed me yet.

                      Jas
                      VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+
                      boche.net - VMware Virtualization Evangelist
                      My advice has no warranties. Follow at your own risk.

                      Comment


                      • #12
                        Re: ESXi 3.5 & FreeNAS

                        Originally posted by jasonboche View Post
                        I avoided freenas when I heard stories of it not working well as shared storage with ESX. That was a few years ago. As a result, I turned to using Openfiler. It hasn't failed me yet.

                        Jas
                        I shall give Openfiler a go too I just turned to FreeNas first as that was what I had almost working last time I dabbled with ESX. I will be moving onto raiding my NAS system soon and then playing with iSCSI so I will give both FreeNAS and Openfiler a play and see which works best for my home network

                        Comment


                        • #13
                          Re: ESXi 3.5 & FreeNAS

                          openfiler works well - but I would not use it in a production environment unless I really have to...
                          Maish
                          ----------------------------------------------------------
                          Technodrone|@maishsk|Author of VMware vSphere Design
                          VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
                          MSCA 2000/2003, MCSE 2000/2003
                          A proud husband and father of 3 girls
                          ----------------------------------------------------------
                          If you find the information useful please don't forget to give reputation points sigpic.

                          Have a good one!!

                          Comment


                          • #14
                            Re: ESXi 3.5 & FreeNAS

                            This is all a home setup for testing and personal development. The most critical thing it will be used for is probably MCSE labs

                            Would be nice to move it into production but not until I move out of my parents lol

                            Comment


                            • #15
                              Re: ESXi 3.5 & FreeNAS

                              Good luck with the studies!!
                              Maish
                              ----------------------------------------------------------
                              Technodrone|@maishsk|Author of VMware vSphere Design
                              VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
                              MSCA 2000/2003, MCSE 2000/2003
                              A proud husband and father of 3 girls
                              ----------------------------------------------------------
                              If you find the information useful please don't forget to give reputation points sigpic.

                              Have a good one!!

                              Comment

                              Working...
                              X