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

    FOG 1.2.0 on Ubuntu 12.04 LTS but now want to add Windows 2012 NFS nodes, can't get it working please help!

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    40
    13.0k
    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.
    • K
      Kevin Talbot
      last edited by

      I have FOG 1.2.0 on Ubuntu 12.04 LTS which runs perfectly and we use it everyday.

      However, we have 20 remote locations all connected by Fibre and I would like to utilize the Windows 2012 servers we have at these sites to make imaging localized from an NFS node rather than pulling across the WAN!

      I have following these guides and installed NFS role, Filezilla etc etc:

      https://wiki.fogproject.org/wiki/index.php/Windows_Storage_Node
      https://community.spiceworks.com/how_to/48903-setting-up-fog-with-storage-on-windows-server

      I have got to the point where I can add the new NFS node to the default node group and the images will sync to the NFS node just fine but I cannot a new image to the remote node, I am getting this:

      IMG_0357.JPG

      and this:

      Capturefog.JPG

      Please help?

      ch3iC Wayne WorkmanW 2 Replies Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator
        last edited by

        Hi, it seem that’s a problem on your NFS exports configuration, have you tested the NFS connection with a linux client ?

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

          Are you sure you got all the folder security settings correct? See “Set Security: Make sure you do this for C:, C:\images, and C:\images\dev” in the wiki article you posted. Seams like FOG is unable to create a folder over NFS…

          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

          K 1 Reply Last reply Reply Quote 0
          • K
            Kevin Talbot @Sebastian Roth
            last edited by

            @Uncle-Frank

            Hi Uncle Frank!

            I think I have it correct:

            shared folders filezilla.JPG

            And I have ticked everything for all of them! Only thing I was forced to do was add Aliases!

            How come the images can sync between the fog server and windows node but cannot upload an image to it?

            1 Reply Last reply Reply Quote 0
            • K
              Kevin Talbot @ch3i
              last edited by

              @ch3i

              Hi ch3i!

              I’m not that sure what you mean by the NFS exports configuration and don’t really know how to test the NFS connection to be honest?

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

                AFAIK the syncing is done via FTP (working for you) but image upload is done via NFS (not working for you).

                As ch3i suggested try testing NFS connection: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS#Testing_NFS

                In FOG 1.2.0 starting a debug session works a little different. Select one of your clients to test NFS with. Select “Basic Tasks” and the “Debug”. Boot up the client or wait till it comes up by wake on LAN. When you get to the linux shell prompt you can go ahead with the commands in the wiki article. Creating the test.txt file is just a little differnt on your Windows Server but I guess you can make this up yourself.

                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
                • K
                  Kevin Talbot
                  last edited by

                  Thanks for the testing guide, however I have just discovered what I think is a massive issue…

                  I just went to create the txt file for debug in terminal and got: bash: /images/test.txt: Permission denied

                  And then looked at the File System under File Explorer and see the “images” folder has a padlock on it!

                  AND all my images have gone…oooouch OMG!

                  They have all vanished, please help?

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kevin Talbot
                    last edited by

                    And just tried to image a box and get this:

                    IMG_0358.JPG

                    1 Reply Last reply Reply Quote 0
                    • K
                      Kevin Talbot
                      last edited by

                      Can someone help please? Have I lost everything?

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

                        @Kevin-Talbot

                        Your post has been open for a total period of 2 hours. We are all doing this work for free. I understand the need to get this fixed, but you must not expect us to just drop for you.

                        That said, the fact that all of the information you’re seeing is stating “Permission Denied” have you ensured the permissions are set and correct? Have you ensured that the FTP User has the correct permissions? Have you ensured the NFS has the correct permissions?

                        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 2
                        • K
                          Kevin Talbot
                          last edited by

                          Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images

                          ch3iC 1 Reply Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @Kevin Talbot
                            last edited by ch3i

                            @Kevin-Talbot said:

                            Hi Tom, sorry I’m just panicking now, did you see my last post? its seems I have lost all my images

                            Please post the result of :
                            ls -lhart /images

                            Edit : using a terminal/ssh connection on your FOG server.

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kevin Talbot
                              last edited by

                              root@fog-server:~# ls -lhart /images
                              total 8.5K
                              -rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
                              drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
                              drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
                              drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
                              root@fog-server:~#

                              ch3iC 1 Reply Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @Kevin Talbot
                                last edited by

                                @Kevin-Talbot said:

                                root@fog-server:~# ls -lhart /images
                                total 8.5K
                                -rwxrwxrwx 1 4294967294 4294967294 0 Mar 2 2015 .mntcheck
                                drwxr-xr-x 25 root root 4.0K Sep 11 15:30 …
                                drwxrwxrwx 2 4294967294 4294967294 64 Sep 15 10:18 dev
                                drwxrwxrwx 2 4294967294 4294967294 4.0K Sep 15 10:19 .
                                root@fog-server:~#

                                All of your nodes are syncing ? It’s the same storage group ?

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kevin Talbot
                                  last edited by

                                  I got them to sync yes by adding the windows node to the default storage group but then I moved the windows node to a seperate storage group. I then attempted to upload an image to the windows node but it didn’t work, that was where I was stuck.

                                  However, the bigger problem is I seem to have lost all my images on the fog server, there is a padlock on the “images” folder?

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

                                    Teamviewer? Maybe between @ch3i and myself?

                                    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 1
                                    • K
                                      Kevin Talbot
                                      last edited by

                                      just need to get my images back now or are they lost forever

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

                                        @Kevin-Talbot Teamviewer? Maybe between @ch3i and myself?

                                        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 1
                                        • K
                                          Kevin Talbot
                                          last edited by

                                          yes Tom that would be great!!! I know very little about Linux unfortunately!

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kevin Talbot
                                            last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            206

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project