• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 May 25, 2017, 8:23 AM May 25, 2017, 2:21 PM

    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
    • W
      Wayne Workman
      last edited by Wayne Workman May 25, 2017, 10:50 AM May 25, 2017, 4:49 PM

      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 May 29, 2017, 1:10 AM May 29, 2017, 7:08 AM

        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

        W 1 Reply Last reply May 29, 2017, 2:39 PM Reply Quote 0
        • W
          Wayne Workman @zingaro
          last edited by Wayne Workman May 29, 2017, 8:39 AM May 29, 2017, 2:39 PM

          @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 May 30, 2017, 10:17 AM

            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.

            T 1 Reply Last reply May 30, 2017, 10:18 AM Reply Quote 0
            • T
              Tom Elliott @Quazz
              last edited by May 30, 2017, 10:18 AM

              @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 May 30, 2017, 11:14 AM Reply Quote 0
              • Q
                Quazz Moderator @Tom Elliott
                last edited by May 30, 2017, 11:14 AM

                @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.

                W 1 Reply Last reply May 30, 2017, 1:22 PM Reply Quote 0
                • W
                  Wayne Workman @Quazz
                  last edited by Wayne Workman May 30, 2017, 7:22 AM May 30, 2017, 1:22 PM

                  @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 Aug 4, 2017, 7:46 AM

                    @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.

                    W 1 Reply Last reply Aug 4, 2017, 1:25 PM Reply Quote 0
                    • W
                      Wayne Workman @zingaro
                      last edited by Aug 4, 2017, 1:25 PM

                      @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

                      160

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project