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

    Adding NAS (NFS) - storage to FOG

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    24
    13.9k
    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.
    • B
      boeleke @Wayne Workman
      last edited by boeleke

      @Wayne-Workman

      Hi there.
      I would be gratefull.
      I think i got some mistakes with my QNAP. I’m not sure what settings …
      See pictures.

      alt text

      alt text

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

        @boeleke Hi, If your NAS is mounted on your FOG server via NFS you can’t re-export it as NFS via FOG server. You have to create a node storage with IP of NAS ans specify NFS and FTP path in the node settings. Before you have to create a user “fog” in your NAS with the same password of the “fog” user of the FOG server.

        When you’ll upload/download image on that node (Your NAS) the fog client will connect directly on your NAS not via your FOG server.

        B 1 Reply Last reply Reply Quote 1
        • B
          boeleke @ch3i
          last edited by boeleke

          @ch3i

          Hi there ch3i,

          thanks for your answer.
          that was the first thing i tried. I added a user ‘fog’ with the same password on the QNAP.
          Then i added a storage node. But it failed. (See pictures)

          LINK FOR BETTER IMAGE 🙂 : http://i65.tinypic.com/5yucyd.png

          alt text

          alt text

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

            @boeleke FTP and NFS path or the sames on your NAS ?

            B 1 Reply Last reply Reply Quote 1
            • B
              boeleke @ch3i
              last edited by

              @ch3i

              hi there!
              I’m not sure , i’m not that familiar with all the NAS-settings.
              I can acces my NAS on windows with :

              ftp://172.16.0.17/images

              & i use the same path for my nfs , isn’t it?

              Sorry , i’m just a beginner :).

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

                @boeleke For QNAP the NFS path seem to be : /share/your_nfs_share but for the ftp access it’s /your_nfs_share. In FOG trunk (https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk) you can differentiate NFS and FTP path. In your version FTP and NFS path must be the same !

                B 1 Reply Last reply Reply Quote 1
                • B
                  boeleke @ch3i
                  last edited by

                  @ch3i

                  hi there.
                  Thank you for the help. I’m working in a school environment & we can’t work with unstable releases.
                  If we want to use it every week , it need to be stable.
                  Is there not another option?

                  Thanks for the help!

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

                    @boeleke I’m working in a School and use Trunk version 😉 Trunk versions of FOG are “stable”.

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

                      @ch3i I too am a systems admin at a school, and I’ve been using FOG Trunk for over a year now. It’s much more stable than it used to be. Others here in the corporate world also use FOG Trunk.

                      I would recommend that you setup FOG Trunk on a VM though, and take snapshots before each update - just so you have a safety net.

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

                        @Wayne-Workman & @ch3i ,

                        Hi there guys,

                        you both convinced me to do this. So i upgraded to Fog Trunk (i can Revert anyway with a snapshot).
                        But now i need your guys help to add this storage node. You got a lot more settings :
                        I’m not sure if its correct now. I mean , the snapin path – must that be a map on the QNAP also?

                        alt text

                        When i use this settings , i get next mistake 👎 😞

                        alt text

                        alt text

                        while upgrading trunk , he said : (Setting up and starting VSFTP server : Failed! )

                        Can you guys help me further?

                        Sorry for my bad english.

                        Greetings,
                        Tom

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

                          @boeleke Hi, it’s normal, because your NAS is not a “FOG Storage Node”. A real FOG Storage Node is an installation of FOG on another server with “Node Installation”. You NAS have not the FOG installation. It’s not a problem to upload/download.
                          Tip : If you use multicast your NAS storage node can’t be the master of the group storage.

                          @Tom-Elliott It’s possible to check if the hw.php is present and display a message to indicate that it’s not a normal node ?

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            boeleke @ch3i
                            last edited by

                            @ch3i

                            Hi Ch3i,
                            eumh wait. With Multicast you mean , imaging more computer at once? So for example 100 computer with 1 image?
                            So i need to make a new storage GROUP and link the image with this group?
                            But how can i image more computers at once then? Just not set it as master node?

                            I’ll try an upload in a couple of minutes then.

                            1 Reply Last reply Reply Quote 0
                            • B
                              boeleke
                              last edited by boeleke

                              @ch3i :

                              i tried to upload an image now.
                              But still , i get an error 😞 :
                              Could not mount images folder (/bin/fog.upload)
                              Args Passed.

                              alt text

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

                                I didn’t test it. But I would say, mount it via linux (ssh into the fog server) and make sure it got the right permissions.

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  boeleke @raice
                                  last edited by

                                  @raice

                                  Thats Re-Exporting , that is not working.
                                  I hope ch3i or Wayne workman can help me. Maybe with teamViewer,
                                  i don’t get this done.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    boeleke
                                    last edited by

                                    I teamviewed with @ch3i & he did it!
                                    New password , more rights on the QNAP & better settings for the node.

                                    Thank you verry mutch guys! For the patience ;)!
                                    You can set this topic on SOLVED 😄

                                    ch3iC 1 Reply Last reply Reply Quote 1
                                    • ch3iC
                                      ch3i Moderator @boeleke
                                      last edited by

                                      @boeleke said:

                                      I teamviewed with @ch3i & he did it!
                                      New password , more rights on the QNAP & better settings for the node.

                                      Thank you verry mutch guys! For the patience ;)!
                                      You can set this topic on SOLVED 😄

                                      There was two problems : NFS path and NFS network access.

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

                                        @boeleke In your screen shots, it looks like the Image Path and the FTP Path are backwards. Usually, the FTP Path contains the entire path, while the NFS Path starts in the exact shared NFS Folder.

                                        -EDIT-
                                        Just read that @ch3i solved it. Good job ch3i!

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

                                        132

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project