FOG Project

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

    FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS

    General
    5
    59
    14347
    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.
    • Slowave
      Slowave last edited by

      Hi 🙂 (last threads who i create 😉 )

      Now, i play with FOG Server 1.1.2 and a FreeNAS 9.1.1 (storage node)

      I explain my work.

      [SIZE=4][B][U]FreeNAS[/U][/B][/SIZE]:
      [U]IP[/U]: 192.168.56.240

      1. I create a user:Cyril1 with password:Cyril1
      • I create a mount a volume for the folder images and dev
        [IMG]http://image.noelshack.com/fichiers/2015/16/1429187016-freenas1.png[/IMG]
      1. Chmod -R 777 /Volume1
        [IMG]http://image.noelshack.com/fichiers/2015/16/1429187237-freenas2.png[/IMG]
        And with “ls -l” i see it’s ok. .mntckeck in /images and /images/dev ok with the same permission.

      2. NFS on the folder “Images”
        [IMG]http://image.noelshack.com/fichiers/2015/16/1429187481-freenas3.png[/IMG]
        4)FTP on the folder “data”
        [IMG]http://image.noelshack.com/fichiers/2015/16/1429187585-freenas4.png[/IMG]

      [SIZE=4][B][U]FOGSERVER[/U][/B][/SIZE]:

      [IMG]http://image.noelshack.com/fichiers/2015/16/1429187795-freenas5.png[/IMG]

      [U]1st error[/U]:
      [IMG]http://image.noelshack.com/fichiers/2015/16/1429187880-freenas6.png[/IMG]

      [U]2nd error[/U]: Upload client.
      [IMG]http://image.noelshack.com/fichiers/2015/16/1429187992-freenas7.png[/IMG]

      NFS it’s ok i think. My error is the permission. But it’s 777 for the user Cyril1 and for the management username, i put Cyril1

      It’s not the good user ?

      Thank for your help 🙂

      1 Reply Last reply Reply Quote 0
      • Slowave
        Slowave last edited by

        It was not a problem of Timeout FTP
But it doesn’t matter, i can do cp -a /images/dev/@MAC /images/name 🙂

        [QUOTE]What user does the FreeNAS use? [/QUOTE]
        I’m only one user of FreeNAS

        The download is ok to the new client.

        I will write the tutorial ! 🙂

        1 Reply Last reply Reply Quote 0
        • ch3i
          ch3i Moderator last edited by

          [quote=“Slowave, post: 46217, member: 29028”]Ok, so with FreeNAS, it’s impossible to modify the config’


          Answer a modo on the FreeNas’ forum:

          [url]https://forums.freenas.org/index.php?threads/ftp-timeout-login.30437/[/url]

          Monday, i will explain the steps to export image on FreeNAS, but in the end, you will have to cp /dev/@MAC /images/nameofyourmachine

          See you later.[/quote]

          Hi,

          Freenas use there own database to store NAS configuration


          Regards,
          Ch3i.

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

            Well you could always change the settings, and then give read-only /w execute permission on that file for everyone.
            chmod 555

            What user does the FreeNAS use?

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

              Ok, so with FreeNAS, it’s impossible to modify the config’


              Answer a modo on the FreeNas’ forum:

              [QUOTE]Because you shouldn’t be modifying config files! FreeNAS does that stuff for you. Use the WebGUI how it is intended, or go to full-blown FreeBSD. [/QUOTE]
              [url]https://forums.freenas.org/index.php?threads/ftp-timeout-login.30437/[/url]

              Monday, i will explain the steps to export image on FreeNAS, but in the end, you will have to cp /dev/@MAC /images/nameofyourmachine

              See you later.

              1 Reply Last reply Reply Quote 0
              • Slowave
                Slowave last edited by

                It’s weird. Everything is ok for me. I upload my pictures with [url]http://www.noelshack.com/[/url]

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

                  For what it’s worth,

                  I can’t see any of the pictures you’re posting. When I browse to the direct link of the picture, I get timeouts.

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

                    Yes i can go where i want after connection. “/etc” or “/mnt” for example.

                    [IMG]http://image.noelshack.com/fichiers/2015/17/1429865693-freenas37.png[/IMG]

                    It’s not a history of timeout FTP the error ? Before, it’s was on 300s. I try to increase.

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

                      You didn’t cd into the directory?

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

                        It’s “/mnt/Volume1/data/images”
                        [IMG]http://image.noelshack.com/fichiers/2015/17/1429864928-freenas36.png[/IMG]

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

                          So when you enter FTP to the free nas box from the Ubuntu server do you access the NFS share /Volume1/data/images or /mnt/Volume1/data/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

                          1 Reply Last reply Reply Quote 0
                          • Slowave
                            Slowave last edited by

                            [IMG]http://image.noelshack.com/fichiers/2015/17/1429862198-freenas35.png[/IMG]

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

                              What does this command output?

                              On the Free NAS:
                              [CODE]ls -laR /mnt/Volume1/data/images[/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/

                              1 Reply Last reply Reply Quote 0
                              • Slowave
                                Slowave last edited by

                                I have change now. I create a user Free/Free, change NFS, permission, etc.
                                On my page management, storage node, i put this user. But same problem


                                [IMG]http://image.noelshack.com/fichiers/2015/17/1429803126-freenas32.png[/IMG]
                                [IMG]http://image.noelshack.com/fichiers/2015/17/1429803204-freenas33.png[/IMG]
                                [IMG]http://image.noelshack.com/fichiers/2015/17/1429803439-freenas34.png[/IMG]

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

                                  If you’re doing the Storage Management with the “root” user of FreeNAS, make sure the information the Storage Node has is correct.

                                  This has NOTHING to do with FOG_TFTP_FTP_USERNAME/PASSWORD. That field is reserved almost entirely for the kernel downloading.

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

                                    The username/password of my FreeNAS must be correct compare which user? FOG_TFTP_FTP_USERNAME/PASSWORD ?

                                    I do the upload in my Storage Management with the user “root” of my FreeNAS.
                                    There are too many users, I am lost ! 😄

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

                                      Go to your storage node settings, ensure the username and password in there are correct.

                                      If they are, reset your fog user’s password, then reset the storage node’s password.

                                      If that doesn’t work, then try to change the owner of /images (recursively) to fog, and set permissions to 777, then try again?

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

                                        I test the cmd on my FreeNAS

                                        chown -R fog:wheel /mnt/Volume1/data/images

                                        (Wheel is the group of my root)

                                        EDIT: Doesn’t Work
FOGFTP: Failet to rename file


                                        1 Reply Last reply Reply Quote 0
                                        • Slowave
                                          Slowave last edited by

                                          Ok. So the upload are finish but my images is on “/dev/@MAC” and not /images/name".
                                          [IMG]http://image.noelshack.com/fichiers/2015/17/1429776385-freenas28.png[/IMG]

                                          I find maybe a solution: [url]http://fogproject.org/forum/threads/ftp-rename-failed.8924/[/url]

                                          I will test this solution. If i understand, it’s a FTP or TFTP (FTP for my FreeNAS) that moves the image from “/dev/@MAC” there to"/images/NameImage".

                                          [IMG]http://image.noelshack.com/fichiers/2015/17/1429777100-freenas30.png[/IMG]

                                          As we can see, my Fog Server (192.168.56.102) connects to my FreeNAS (ROOT FTP login successful /User root login successful) but can’t copy


                                          Root have all the permission:
                                          [IMG]http://image.noelshack.com/fichiers/2015/17/1429777674-freenas31.png[/IMG]

                                          1 Reply Last reply Reply Quote 0
                                          • Slowave
                                            Slowave last edited by

                                            OMFG !!!

                                            [IMG]http://image.noelshack.com/fichiers/2015/17/1429772127-freenas27.png[/IMG]

                                            1 week I’m on the same problem, and it works finally! I can upload a client on my FreeNAS !!!

                                            The upload is not finished, I will tell you my work when everything will be perfect (upload/download)

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

                                            216
                                            Online

                                            10.2k
                                            Users

                                            16.3k
                                            Topics

                                            149.9k
                                            Posts

                                            Copyright © 2012-2020 FOG Project