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

    Mounting File System Failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    44
    17.4k
    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.
    • R
      Rusty
      last edited by

      My fog server (CentOS 7, FOG 1.2(5307)
      running on VMWare
      DHCP server is Server2012 on another VM

      I can register hosts (tried on an old Dell Inspiron 1525 (win10) and also Asus N61 (Win8)
      After scheduling a capture tasks the Host starts doing its thing untill the error above appears.
      I have tried changing what sort of image is captured etc.
      Same error on both Host machines…

      Mounting File System Failed
      Failed to mount NFS

      Its not this:
      https://forums.fogproject.org/topic/4955/fatal-error-failed-to-mount-nfs-volume

      Tried this: (My /etc/exports file was totally empty) -is that normal ?
      https://wiki.fogproject.org/wiki/index.php/Image_Upload:_Error_Checking_Mount

      The size of my VM image disk size was set to 50GB I think when I created it, I thought space may have been an issue so thats why I tried to change the image capture to partition table and MBR etc. I was thinking these might be smaller images and so test if disk space was an issue.

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

        Just going on a limb but is selinux disabled?

        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

        R 2 Replies Last reply Reply Quote 0
        • R
          Rusty
          last edited by

          FOG Settings:
          Web root: /fog
          images path /images
          FTP Path /images

          I have the files /images/.mntcheck and /images/dev/.mntcheck

          1 Reply Last reply Reply Quote 0
          • R
            Rusty @Tom Elliott
            last edited by

            I also tried this
            https://forums.fogproject.org/topic/1929/solved-fatal-error-failed-to-mount-nfs-volume
            But the commands didn’t seem to work

            1 Reply Last reply Reply Quote 0
            • R
              Rusty @Tom Elliott
              last edited by

              @Tom-Elliott The entire contents of my vi /etc/selinux/config is
              SELINUX=disabled
              SELINUXTYPE=targeted

              Also just re-ran the couple of commands;
              systemctl stop firewalld
              systemctl disable firewalld
              setenforce 0

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

                Then maybe permissions? Can you run chmod -R 777 /images

                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

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

                  https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS

                  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
                  • R
                    Rusty @Tom Elliott
                    last edited by

                    @Tom-Elliott no go. What is actually happening in this part of the upload process ?
                    @Wayne-Workman thanks, I hadn’t come accross that one yet

                    1 Reply Last reply Reply Quote 0
                    • R
                      Rusty
                      last edited by

                      Following this guide:
                      https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS

                      I keep getting FOGFTP: Login failed.
                      username: fog, Password: xxx
                      Error: ftp_login(): Login incorrect

                      I found tftp_ftp username and password in fog settings. So I changed it to xxx (it was a different generated one) but it still doesnt work.
                      I have tried logging into ftp with an external ftp client from my VM host machine, and it gets password rejected.
                      Can I test it this way and how do I change the password ?

                      I chec

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

                        https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                        I’m full of links tonight 🙂 There is a section in there on credentials, that’s what you’re looking for.

                        But I am not fully understanding why you are getting errors about FTP, nothing in that NFS troubleshooting article below uses FTP. That error usually happens at the end of a image capture attempt. Or, if you’re just trying to log into your server using invalid ftp credentials.

                        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/

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          Rusty @Wayne Workman
                          last edited by Rusty

                          @Wayne-Workman Hmm strange then…
                          I get that ftp error at this point in the troubleshooting NFS page
                          https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS#Testing_NFS

                          echo ‘This is the text I use to test with.’ > /images/test.txt
                          -Create deploy task
                          -Choose Schedule as debug task
                          –Click “Create*”

                          I also can’t get to a command line on the client(host?) PC in the boot menu to get to the next part:
                          "At the client, if it did not WOL, turn it on. After the client shows options on the screen, you can press [enter] to be given a command prompt. "

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

                            @Rusty Then that is definitely an FTP related issue. The article just below on FTP can walk you through correcting the FTP credentials issue. If you can’t schedule a task, then you wouldn’t be able to get anything on a host.

                            Also, you said in your OP that the /etc/exports file was empty. That’s pretty concerning. Can you try to re-run the installer and see if that helps your /etc/exports to be populated with the right config?

                            Also, feel free to post your /opt/fog/.fogsettings file with your IP addresses and passwords omitted.

                            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/

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              Rusty @Wayne Workman
                              last edited by

                              @Wayne-Workman Thanks, Ill update this thread when I get it solved 🙂

                              1 Reply Last reply Reply Quote 0
                              • R
                                Rusty
                                last edited by

                                FTP issue is solved now. I went through the excellent https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP guide and changed the FOG OS user account password to match the others (I didn’t think it was different, but it must have been).
                                This solved the issue where I got stuck in going through the also excellent https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS. I couldn’t get the images capture though, some other errors I need to work through. I think relating to partitions not in the right state or something like that.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by

                                  Thanks for letting us know. Great that the wiki was helpful for you!

                                  If you need further assistance please post the exact error messages you see and we should be able to help you out.

                                  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 2
                                  • R
                                    Rusty
                                    last edited by

                                    Thank you.
                                    Yep when I get to it, I will post what the next errors are.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      Rusty
                                      last edited by Rusty

                                      I had new issues this time…
                                      I brought my PC with the FOG VM into work (was testing at home) and I had to change the gateway IP and DNS server.
                                      I thought re-running the installer was the best way to do it?
                                      I ran it once or twice before I realised I had to change the router option in the Linux network card settings. Then the installed picked it up.
                                      This is where I was having “tftp connection timed out” issues.
                                      After following this: https://wiki.fogproject.org/wiki/index.php/Tftp_timeout…#Testing_TFTP
                                      and getting to the storage management section and checking the password, I noticed the “interface” was set to “eth0” instead of the strange “eno16777736” that VMWare allocated.
                                      So changing that fixed THAT issue. But why the heck did this issue suddenly appear ? Did the installer change it on me ?

                                      No that wasn’t it! after another reboot it it doesn’t work again, still getting “tftp connection timed out”
                                      Tested tftp from another machine OK.
                                      A couple of times now it has downloaded the files quickly and shown the fog menu. Then it won’t work again for the next 20 reboots or so
                                      Some images from wireshark: In between the two images is just the rest of the file transfer

                                      0_1447664979785_W1.png 1_1447664979785_W2.png

                                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        Does restarting the tftp service help? service xinetd restart

                                        Check netstat to see if it is listening on port 69: netstat -antup | grep ":69"

                                        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

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

                                          @Rusty the intermittent hit-or-miss you’re describing with TFTP suggests that you have more than one DHCP server in your environment and not all of them are configured with options 066 and 067 properly.

                                          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 1
                                          • R
                                            Rusty @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth
                                            [root@localhost bin]# netstat -antup | grep “:69”
                                            udp 0 0 0.0.0.0:69 0.0.0.0:* 7860/xinetd

                                            @Wayne-Workman Funny you say that, last night (after my problems) our old DHCP server was restarted and the DHCP service started again, so this morning we had issues with 2 running.
                                            However that’s fixed now and like yesterday it’s still not working.
                                            Whats the best way to check for other DHCP servers ?
                                            Shouldn’t the Wireshark capture I posted show it?

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

                                            190

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project