• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fatal Error: Failed to mount NFS volume

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    87
    60.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott
      last edited by

      It’s possible you’re missing the .mntcheck files as you stated. They can be created with:

      sudo touch /images/{,dev/}.mntcheck
      

      However, the other part to note is that the NFS is getting permission denied. This leads me to believe that the mount point is not correct or the NFS server on the NAS is not running.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @szecca1
        last edited by

        @szecca1

        Hi,

        You need to had in your NAS two empty files .mntcheck in your /FOG/Images/ and /FOG/Images/dev.
        If you have mounted your NFS share on you FOG server you can use the command touch like that : touch /mounted_nas_folder/.mntcheck and touch /mounted_nas_folder/dev/.mntcheck.

        Ensure you have 777 on folders dans files in /images and sub folders.

        Regards,
        Ch3i.

        1 Reply Last reply Reply Quote 0
        • S
          szecca1
          last edited by

          Thank you very much. Yea the permission denied is weird because on the FOG management console it sees the drive perfectly. I followed your syntax and created the .mntcheck for both folder paths. It seems I am still getting the same error message but I have yet to do that 777 on the folder because I am unaware of how to do that.

          Is the a command I have to run to give 777 on folders dans files in /images and sub folders?

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @szecca1
            last edited by

            @szecca1

            chmod 777 -R /images (your mount point)
            
            1 Reply Last reply Reply Quote 0
            • S
              szecca1
              last edited by

              I ran that command and still getting that same permissions error. Capture.PNG
              That is my file structure just so you can see. I am not sure as to why I am not getting access

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @szecca1
                last edited by

                @szecca1 Where is mount your NAS on your server ?

                1 Reply Last reply Reply Quote 0
                • S
                  szecca1
                  last edited by

                  I apologize, I am a newbie but as far as I remember I created the mount point under images. I mounted the NAS drive under images/ to minize the editing of fog since I saw FOG saves its images to that folder. If I did something wrong please suggest away. I am open to anything at this point.

                  1 Reply Last reply Reply Quote 0
                  • S
                    szecca1
                    last edited by

                    storage.PNG

                    nfs.PNG

                    As far as I can tell, FOG is seeing the storage fine and NFS is turned on properly. I just cant figure out why the mount is being denied.

                    Thank you

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by Wayne Workman

                      Verify that NFS is actually running?

                      Give the NFS service a restart?

                      Verify that Ubuntu Firewall is OFF.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • S
                        szecca1
                        last edited by

                        @WayneWorkman I turned off the firewall running “sudo ufw disable.”

                        How can I verify that the NFS service is running? In the post below I have NFS checked on the Storage device. If I do find that it is running, how do I also restart that service?

                        Thank you

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @szecca1
                          last edited by

                          @szecca1 said:

                          @WayneWorkman I turned off the firewall running “sudo ufw disable.”

                          How can I verify that the NFS service is running? In the post below I have NFS checked on the Storage device. If I do find that it is running, how do I also restart that service?

                          Thank you

                          Try these:
                          [CODE]sudo service nfs-kernel-server status
                          sudo service nfs-kernel-server restart[/CODE]

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            szecca1 @Wayne Workman
                            last edited by

                            @Wayne-Workman nfs.PNG

                            I ran those commands and this is what I got. The concerning part is where it says /images/dev does not support NFS export and /images does not support NFS export.

                            Is there something I missed that could be causing this?

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @szecca1
                              last edited by

                              @szecca1 said:

                              @Wayne-Workman nfs.PNG

                              I ran those commands and this is what I got. The concerning part is where it says /images/dev does not support NFS export and /images does not support NFS export.

                              Is there something I missed that could be causing this?

                              Here’s your problem.

                              You’re telling FOG to mount the nfs server from the NAS, not the FOG Server, which you’re showing in the picture above.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                szecca1 @Tom Elliott
                                last edited by

                                @Tom-Elliott Ok I think I get what you mean. How do I change that? Sorry I am a beginner at this

                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  @szecca1 You need to login (in much the same way) to the NAS box itself.

                                  You can use ssh, or putty, or maybe from the web gui?

                                  I don’t know the exact setup to figure things out.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    szecca1 @Tom Elliott
                                    last edited by

                                    @Tom-Elliott Ok so if I understand you correctly, the FOG client is trying to connect to NAS server and not to the fog server for its images? How do I tell the client to look in the right direction?
                                    And when you say login to the NAS box in pretty much the same way, do you mean that the login and password have to be the same? I am using a Synology box with a web gui.

                                    I can send you anything you need to know about my setup that you need to know.

                                    ch3iC 1 Reply Last reply Reply Quote 0
                                    • ch3iC
                                      ch3i Moderator @szecca1
                                      last edited by ch3i

                                      @szecca1 You need to have a user fog in your nas with the same password of your fog server.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        szecca1 @ch3i
                                        last edited by

                                        @ch3i Created the user that I log into the FOG management console and still getting the same error message

                                        ch3iC 1 Reply Last reply Reply Quote 0
                                        • ch3iC
                                          ch3i Moderator @szecca1
                                          last edited by

                                          @szecca1 The same login as specify in fog configuration FTP_TFTP_PASSWORD I think.

                                          S 2 Replies Last reply Reply Quote 0
                                          • S
                                            szecca1 @ch3i
                                            last edited by

                                            @ch3i Ah no I was using the password to log in to the admin console. I just changed it to that password which was different. I deleted the task of upload and started a new one and got the same error message. I even tried to restart the NFS service again and even that gave the same “does not support NFS export” error message.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • First post
                                              Last post

                                            290

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project