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

    Trying to push image to client - Mounting File System Fail

    Scheduled Pinned Locked Moved
    Linux Problems
    5
    33
    10.6k
    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.
    • P
      PageTown
      last edited by

      I am trying to push an image to a client and the process get’s stuck at "Mounting File System…Failed " and then I see the repeated message “mount:mounting 10.1.8.10:/media/BFD_/images/ on /images failed: Connection timed out”. Any idea what could be causing this?

      I am running Fog 1.2.0 on Ubuntu 12.04.!!0_1463068487094_Fog Error 51216.JPG

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

        Try to restart the NFS service on the server and try again. If that doesn’t work, we can dig deeper. https://wiki.fogproject.org/wiki/index.php?title=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/

        P 1 Reply Last reply Reply Quote 0
        • P
          PageTown @Wayne Workman
          last edited by

          @Wayne-Workman

          I restarted the NFS service, it didn’t give me any errors, but now I am seeing this message:

          0_1463070171320_Fog Error b 51216.jpg

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

            Have you followed the whole troubleshooting guide yet?? See the link Wayne posted and let us know if you get any errors (take pictures) along the way.

            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

            P 1 Reply Last reply Reply Quote 0
            • P
              PageTown @Sebastian Roth
              last edited by

              @Sebastian-Roth I have been trying to work through the “Using a Fog debug deployment for testing (easy & quick way)” section of the NFS trouble shooting guide and I need some clarification on a few of the initial steps.

              It says to select the problematic client from my Hosts list in the web UI, choose Basic Tasks, Download and Create a debug task. The screen shot in the article doesn’t look like my UI, I have no option to schedule task as a debug task AND Schedule Instant Deployment on that screen. I did go into Hosts -> Advanced -> Debug and created a debug task. I assume this is the same thing? Do I need to schedule a Download task also?

              So I started up my Host and got this, I assume this is the command prompt mentioned in the article immediately after the section on creating the debug task?

              0_1463079557086_Fog Error c 51216.jpg

              The next part says to create two directories to mount to: mkdir /images and mkdir /images/dev . I already have both of those directories on my Fog server though, so am I creating these again?

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

                @PageTown Yes, you’d create the directories locally in the debug session, then mount those directories to the corresponding shared NFS directories on the fog 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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                P 1 Reply Last reply Reply Quote 0
                • P
                  PageTown @Wayne Workman
                  last edited by

                  @Wayne-Workman Doing that won’t overwrite my pre-exisiting directories? I don’t want to lose the images I already have stored there.

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

                    @PageTown Mounting won’t. If you delete the directory while it’s mounted, it will. Don’t delete it. Unmount it.

                    so, mounting is mount x.x.x.x:\blah
                    unmounting is umount blah

                    Or, after your done with testing, just turn the system off.

                    NFS is Linux-native file sharing, and mounting is just connecting to the share. This is how it’s done in Linux. That goes for SMB, too.

                    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/

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      PageTown @Wayne Workman
                      last edited by

                      @Wayne-Workman So I am unmounting my current directory, which is /media/BFD_/images and mounting these test directories to the same place?

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

                        @PageTown said in Trying to push image to client - Mounting File System Fail:

                        my current directory, which is /media/BFD_/images

                        There’s your problem.

                        You need to update your /etc/exports file on your FOG server to reflect the actual location of your images and dev directories. Then restart NFS.

                        Sorry I didn’t see it sooner.

                        also - make sure you have the .mntcheck files in both /media/BFD_/images and /media/BFD_/images/dev and that permissions on /media/BFD_/images is 777 recursive.

                        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/

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          PageTown @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          My etc/exports file is already configured for that location.

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

                            @PageTown That’s good. Check for the .mntcheck files.

                            If they are there, you can proceed with the NFS testing, the results will give us a direction to go.

                            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/

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              PageTown @Wayne Workman
                              last edited by

                              @Wayne-Workman

                              I think something else may be wrong. When I went to my /images folder at media/BFD_/images to check for the mtn files, nothing is in it besides the text file I created in the first step of the troubleshooting guide. I had three images before, and it shows that I have three images in the UI. Shouldn’t I be seeing my images in that folder? And the /dev folder isn’t there either. Are they hidden or something?

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

                                @PageTown They are hidden. In Linux, files and folders that begin with a period are hidden. Use CLI, and issue the command ls -lahRt /media/BFD_/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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  PageTown @Wayne Workman
                                  last edited by

                                  @Wayne-Workman Here’s what I am seeing when I run that command:

                                  0_1463149695242_IMG_0385.JPG

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

                                    @PageTown You’re missing the .mntcheck files.

                                    Here’s the command to make them, and to set permissions afterwards:
                                    touch /media/BFD_/images/.mntcheck
                                    touch /media/BFD_/images/dev/.mntcheck
                                    chmod -R 777 /media/BFD_/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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      PageTown @Wayne Workman
                                      last edited by

                                      @Wayne-Workman

                                      It wouldn’t take ‘touch /media/BFD_/images/dev/.mntcheck’. It said that the location didn’t exist which makes me think that something has happened to all my images.

                                      I have decided to wipe my server and start from scratch. Thanks for the help.

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

                                        @PageTown That’s because the /dev directory doesn’t exist, from the below output. You could just make the directory with mkdir /media/BFD_/images/dev

                                        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
                                        • P
                                          PageTown
                                          last edited by

                                          I did a HDD wipe and re-install of Ubuntu 12.04 and Fog 1.2.0. I was able to upload an image without any issues, but when I try to push that image to a machine I am still getting hung up on the Mounting thing.

                                          Before I start the troubleshooting process again, I wanted to mention that I am running Fog over a Server 2012 network. Fog is not handling the DHCP. On the server I have 066 Boot Server Host Name & 067 Bootfile Name configured to allow undionly.kpxe and Fog to boot over the network. Could something in the server setup be causing this issue?

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

                                            @PageTown said:

                                            I was able to upload an image without any issues, but when I try to push that image to a machine I am still getting hung up on the Mounting thing.

                                            That sounds really strange. Why would it upload (to NFS) but not download from it? Again, show us the output you get from ls -lahRt /media/BFD_/images! As well please show us the full output of mount (I am wondering what filesystem that external drive is formated with).

                                            Could something in the server setup be causing this issue?

                                            No I don’t think so. NFS has nothing to do with PXE boot or DHCP in general.

                                            Changing the default image paths is not as easy as it might seem on first sight. I count it to the more advanced things to adjust on your FOG server and I would only recommend it to people having played with FOG and linux a fair bit. That said I am wondering if you are aware of the possibility to mount external devices to pretty much any directory within your filesystem. Doesn’t have to be /media/XXX. So if you ever consider to setup things from scratch again you might want to simply mount your external disk to /images before installing FOG.

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

                                            154

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project