• 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.
    • 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
                            • Wayne WorkmanW
                              Wayne Workman @szecca1
                              last edited by

                              @szecca1 said:

                              @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

                              lol yeah that’s confusing…

                              So… You have a mount called images
                              On the NAS, there’s a folder called FOG/images

                              ?

                              Yeah just replace the /data with /FOG
                              Remember, Linux is case-sensitive.

                              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
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                when done, restart NFS again. see if the errors go away.

                                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 @Wayne Workman
                                  last edited by

                                  @Wayne-Workman HAHA my apologies but you did get the idea of it which I appreciate you making out my disaster. I will give that a try but I have 1 question before I do that.exports.PNG

                                  Do you know what the fsid is for?

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

                                    @szecca1 said:

                                    @Wayne-Workman HAHA my apologies but you did get the idea of it which I appreciate you making out my disaster. I will give that a try but I have 1 question before I do that.exports.PNG

                                    Do you know what the fsid is for?

                                    Absolutely not. But I know that it MUST be unique for each entry…

                                    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 2 Replies Last reply Reply Quote 0
                                    • S
                                      szecca1 @Wayne Workman
                                      last edited by

                                      @Wayne-Workman Nope, still getting the same message because it doesn’t see the path /FOG/Images

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

                                        @Wayne-Workman
                                        “I tried setting the Fog server on several Ubuntu boxes and was unable to do so. After reviewing this case with our team, its come to my attention we can only currently support NFS shares directly to Ubuntu System. I have put in request to our development team for testing and support for FOG server.”

                                        Synology technical support

                                        I randomly came across this, has anyone ever used Synology boxes and would this even make sense? Could this be the reason why it is not working?

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

                                          Just so everyone knows, I called Synology and we got it working. The problem was that on the Synology the NFS Permissions had to be changed. Squash had to be no mapping and the host IP address was changed to *. Once this was done, upload started right away.

                                          I want to thank everyone for your help. Really appreciate it!

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

                                            After the image finished uploading, it gave an error message of
                                            Capture.PNG

                                            I am going to reboot the machine to see if the image upload took but wanted to see if anyone knows why I got this error message?

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

                                            157

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project