• 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
    59.9k
    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.
    • 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
                                  • S
                                    szecca1 @ch3i
                                    last edited by

                                    @ch3i Do I need TFTP enabled on my NAS server? Could that be the problem that TFTP is not enabled right now?

                                    Again thank you all for the assistance

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

                                      @szecca1 said:

                                      @ch3i Do I need TFTP enabled on my NAS server? Could that be the problem that TFTP is not enabled right now?

                                      Again thank you all for the assistance

                                      No, tftp should still be handled by your real server.

                                      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 I saw this on another site, does this make any sense?

                                        If still receiving the same error message after perfroming the above commands, you may need to edit /etc/exports to include your new mount point, i.e. /data/images and /data/images/dev with corresponding permissions.

                                        See following example of /etc/exports:

                                        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                                        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)

                                        /data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                                        /data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)

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

                                          @szecca1 said:

                                          @Tom-Elliott I saw this on another site, does this make any sense?

                                          If still receiving the same error message after perfroming the above commands, you may need to edit /etc/exports to include your new mount point, i.e. /data/images and /data/images/dev with corresponding permissions.

                                          See following example of /etc/exports:

                                          /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                                          /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)

                                          /data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                                          /data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)

                                          Your exports should reflect where the images are actually stored.

                                          So if it’s /images, then you don’t need the /data lines; etc.

                                          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 Ok I apologize I want to make everything clear for you so you have all the info. As you know I created a mount point within the Ubuntu folder images/. On my NAS server I created a folder called FOG, in this folder is the Images folder and in that folder is the dev folder. Clearly I didn’t do that right but should I use that syntax but replace “/data” with “/fog”?

                                            I am sure I just confused everyone so please tell me if I need to be more clear

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

                                            165

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project