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

    ADD mounted NAS directory into Fog Server

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    10
    2.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.
    • Z
      zingaro
      last edited by zingaro

      Server
      • FOG Version: last download may-2017
      • OS: linux ubuntu last download avaliable
      Client
      • Service Version:
      • OS:
      Description

      Hi,
      I have add to Linux Ubuntu PC with Fog Server, a path for external Buffalo devices ( with add the NAS path to fstab configuration file ) and after mount -a command I have enabled the access for read/write into /images path ( 192.x.x.x /images_fogs is the path of NAS ) from Linux Ubuntu O.S.
      Now how I can enter this settings to fog Server ?

      Regards

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

        What your trying won’t work - linux cannot export an already imported NFS location.

        You need to add the Nas as its own storage node. There are plenty of threads where people have done this.

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

          ok. but I need help for check my configuration !
          To /images directory (Fog server) the process works fine.
          but it’s enable to connect with NAS,
          could you check my configuration 2_1496041725898_Capture3.JPG 1_1496041725898_Capture1_works.JPG 0_1496041725897_Capture2.JPG ?0_1496041804427_Capture4.JPG

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

            @zingaro On your NAS, did you create an NFS shares called images_fog and images_fog/dev with 777 permissions? You will also need to create an FTP directory for both of these, and make a Management Username account that has full access to these locations.

            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
            • Q
              Quazz Moderator
              last edited by

              Afaik, you can’t capture to a storage node in the default setup.

              It’s somewhat explained here: https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

              tl;dr only a master node can capture an image.

              Looks like you can more or less get what you want with the location plugin though, but I’m not 100% on it.

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

                @Quazz Location Plugin still follows the rules on capture. I’m pretty sure you’re correct with the “unless it’s defined as a master node” you won’t be able to capture to 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! 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

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @Tom Elliott
                  last edited by

                  @Tom-Elliott Yeah, I was thinking of giving it its own location and storage group so it could be a master node, not sure how to set that up properly for that purpose though.

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

                    @Quazz The NAS has to support FTP and NFS, those are the two requirements. You’d make two NFS shares called /images and /images/dev and put the .mntcheck files in there, set permissions to 777, share with everyone. /images is read only for NFS, /images/dev is read/write to all. An FTP account needs made and given full access to both of those shares. The Account’s credentials need plugged into FOG. If there is strangeness with FTP root vs NFS root, that can all be set in FOG.

                    Once it’s setup, you can arrange/configure it however you like inside storage management.

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

                      @wayne-workman said in ADD mounted NAS directory into Fog Server:

                      What your trying won’t work - linux cannot export an already imported NFS location.
                      You need to add the Nas as its own storage node. There are plenty of threads where people have done this.

                      ok, but you could indicate to me the exact discussion how to see the full steps ?
                      i need add to storage to fog sever installed ( it now use the pc’s hdd ) but i don’t know how insert the parameter into “add storage page” !
                      I have tried to mount a new path on ubuntu (fstab + mount ) and now i would try test e new backup on external NAS.
                      Could you help to compile the fog nas page ?
                      my parameter has:
                      192.168.x.x.x
                      /fog_images : directory NAS
                      /fog_image : path mount on ubuntu.

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

                        @zingaro Here are some resources:

                        https://wiki.fogproject.org/wiki/index.php?title=NAS_Storage_Node
                        https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node/1

                        There are others you can find too if you just search for the key words.

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

                        189

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project