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

    NFS Mount Fails... Network Unreachable

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    17
    6.7k
    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.
    • M
      mmethe
      last edited by

      Hello All,

      I am running FOG 1.2 on Ubuntu. Everything was working fine until a reboot of the server. I found that SAN volume had not remounted so images were not there. the mount point was but there was nothing behind it. I remounted it and images can be SENT to machines as expected.

      When I attempt to create an image though, it fails. The following issue:

      • Mounting File System…Mount: mounting 192.168.232.248:/san_images/dev/ on /images failed: Network is unreachable

      From a windows machine, I can mount this NFS export to a drive letter so I know the network is reachable. Both the windows machine and FOG client are on the same VLAN.

      Is fog trying to mount the image to a local /image path on the client?

      Thanks!!!
      mmethe

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

        Have you updated /etc/fstab and /etc/exports appropriately? If you’re doing mount commands on-the-fly, those don’t stick around after a reboot.

        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
          Sebastian Roth Moderator
          last edited by

          @mmethe said:

          192.168.232.248:/san_images/dev/ on /images failed: Network is unreachable

          Is this IP on the same subnet? The error message is quite common in network terms and usually means that a client is meant to talk to another machine that is in a different subnet and does not have a proper default gateway/route set. Please make sure the client is getting correct IP settings via DHCP. For example schedule a debug job and run ip a s and route -n when you get to the shell on the client. Please post a picture here.

          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
          • M
            mmethe
            last edited by

            @mmethe I launched a debug job at the target. Initially the machine gets to fog and drops to a console. It then appears to lose its network config as the only adapter listed by ‘ip a s’ is the loopback adapter. I have tried this from both the subnet local to the fog server as other VLANS and the same thing happens.

            Does this sound like a target computer NIC driver issue? I am using the most recent kernel listed on the kernel updates page.

            Thanks!

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

              @mmethe sounds like the second round of DHCP isn’t working, do you have portfast turned on?

              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/

              M 2 Replies Last reply Reply Quote 0
              • M
                mmethe @Wayne Workman
                last edited by

                @Wayne-Workman Yes, portfast is enabled on this port.

                This is the ONLY model PC this is happening with. I am leaning toward a kernel/driver issue I think. It is an HP ProDesk 600 G2 with an Intel NIC. Where can I get the most recent kernel build?

                Thanks for all the help so far!

                1 Reply Last reply Reply Quote 0
                • M
                  mmethe @Wayne Workman
                  last edited by

                  @Wayne-Workman Also, if DHCP was failing would ‘ip a s’ still list the eth without an IP? There is nothing but loopback listed as 127.0.0.1

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

                    @mmethe not sure on the last question, but you can follow this guide to get the latest kernels:
                    https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update

                    It’s written for fog trunk, but the steps in 1.2.0 are similar.

                    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/

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mmethe @Wayne Workman
                      last edited by

                      @Wayne-Workman Thank You. the problem I am seeing is that the most updated kernel is dated July 22, 2015. Seems a little old. Is there a repository where I can look for something more current than a year ago?

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

                        @mmethe FOG Trunk comes with the latest kernels, your problem might 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/

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mmethe @Wayne Workman
                          last edited by

                          @Wayne-Workman So, I am using the SVN method to switch to trunk. All goes well until I am told to hot the GUI and do the schema update. When I hit the GUI URL I get:

                          SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘hosts.hostPending’ in ‘where clause’ SQL: [94] SELECT COUNT(hosts.hostID) AS total FROM hosts WHERE hosts.hostPending=‘1’ LIMIT 1 Params: 0

                          SQL is running. There were no errors reported during the installation script execution.

                          Thanks!!

                          Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @mmethe
                            last edited by

                            @mmethe Ok. @Tom-Elliott ideas?

                            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/

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

                              Please update to latest and see if this issue is corrected for. I love prepared statements, but they can be a PITA as well.

                              I was able to fix the other thread that had the issue. I commented the lines that were causing the offending issues.

                              I’ve made a more appropriate fix in the latest and just have not got a good way to test it currently.

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

                                @Wayne-Workman Can I simply obtain the most current kernel somehow and point to it?

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

                                  @mmethe when you run the fog trunk installer, it downloads the very latest kernels and inits for you. If this didn’t happen, you’d get a big fat failure message telling you about it during installation. Right now you have a different issue, and tom suggested updating to fix that, which will likely fix it.

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

                                    @mmethe said in NFS Mount Fails... Network Unreachable:

                                    @Wayne-Workman So, I am using the SVN method to switch to trunk. All goes well until I am told to hot the GUI and do the schema update. When I hit the GUI URL I get:

                                    SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘hosts.hostPending’ in ‘where clause’ SQL: [94] SELECT COUNT(hosts.hostID) AS total FROM hosts WHERE hosts.hostPending=‘1’ LIMIT 1 Params: 0

                                    SQL is running. There were no errors reported during the installation script execution.

                                    Thanks!!

                                    Cross linking similar threads:

                                    https://forums.fogproject.org/topic/7855/sql-error-when-upgrading-database-schema

                                    https://forums.fogproject.org/topic/7876/installation-error-fresh-install-with-current-git-trunk-version

                                    https://forums.fogproject.org/topic/7873/sql-error-after-updating-to-trunk-at-login

                                    https://forums.fogproject.org/topic/7870/chromium-os-woes/9

                                    https://forums.fogproject.org/topic/7862/nfs-mount-fails-network-unreachable/16

                                    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
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      This should now be fixed.

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post

                                      178

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project