• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • W
    Wayne Workman
    last edited by Wayne Workman May 22, 2015, 8:14 AM May 22, 2015, 2:14 PM

    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 May 22, 2015, 2:27 PM

      @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

      W 1 Reply Last reply May 22, 2015, 2:29 PM Reply Quote 0
      • W
        Wayne Workman @szecca1
        last edited by May 22, 2015, 2:29 PM

        @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 May 22, 2015, 2:34 PM Reply Quote 0
        • S
          szecca1 @Wayne Workman
          last edited by May 22, 2015, 2:34 PM

          @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?

          T 1 Reply Last reply May 22, 2015, 2:38 PM Reply Quote 0
          • T
            Tom Elliott @szecca1
            last edited by May 22, 2015, 2:38 PM

            @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 May 22, 2015, 2:42 PM Reply Quote 1
            • S
              szecca1 @Tom Elliott
              last edited by May 22, 2015, 2:42 PM

              @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
              • T
                Tom Elliott
                last edited by May 22, 2015, 2:43 PM

                @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 May 22, 2015, 2:52 PM Reply Quote 0
                • S
                  szecca1 @Tom Elliott
                  last edited by May 22, 2015, 2:52 PM

                  @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.

                  C 1 Reply Last reply May 22, 2015, 2:55 PM Reply Quote 0
                  • C
                    ch3i Moderator @szecca1
                    last edited by ch3i May 22, 2015, 8:58 AM May 22, 2015, 2:55 PM

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

                    S 1 Reply Last reply May 22, 2015, 3:24 PM Reply Quote 0
                    • S
                      szecca1 @ch3i
                      last edited by May 22, 2015, 3:24 PM

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

                      C 1 Reply Last reply May 22, 2015, 3:31 PM Reply Quote 0
                      • C
                        ch3i Moderator @szecca1
                        last edited by May 22, 2015, 3:31 PM

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

                        S 2 Replies Last reply May 22, 2015, 3:38 PM Reply Quote 0
                        • S
                          szecca1 @ch3i
                          last edited by May 22, 2015, 3:38 PM

                          @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 May 22, 2015, 4:37 PM

                            @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

                            T 1 Reply Last reply May 22, 2015, 4:46 PM Reply Quote 0
                            • T
                              Tom Elliott @szecca1
                              last edited by May 22, 2015, 4:46 PM

                              @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 May 22, 2015, 4:52 PM Reply Quote 0
                              • S
                                szecca1 @Tom Elliott
                                last edited by May 22, 2015, 4:52 PM

                                @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)

                                W 1 Reply Last reply May 22, 2015, 5:01 PM Reply Quote 0
                                • W
                                  Wayne Workman @szecca1
                                  last edited by May 22, 2015, 5:01 PM

                                  @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 May 22, 2015, 5:08 PM Reply Quote 0
                                  • S
                                    szecca1 @Wayne Workman
                                    last edited by May 22, 2015, 5:08 PM

                                    @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

                                    W 1 Reply Last reply May 22, 2015, 5:11 PM Reply Quote 0
                                    • W
                                      Wayne Workman @szecca1
                                      last edited by May 22, 2015, 5:11 PM

                                      @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 May 22, 2015, 5:14 PM Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by May 22, 2015, 5:13 PM

                                        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 May 22, 2015, 5:14 PM

                                          @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?

                                          W 1 Reply Last reply May 22, 2015, 5:15 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            19/87
                                            Last post

                                          149

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project