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

    [Solved] Nas Buffalo need help

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    7
    688
    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.
    • D
      doubleve
      last edited by doubleve

      Hello,

      I just installed fog project in a virtual machine on a debian 9.11, I have an 8TB buffalo nas to disposition to store my future images.
      Does anyone have a tutorial to properly configure the nas or can someone help me?

      thank you

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        FOG doesn’t natively support NAS devices as storage nodes. The only official remote storage node is another FOG server.

        With that said, you can emulate a FOG storage node if your NAS supports NFS and FTP. You will need to create a user account on your NAS that FOG can use to log into your nas during imaging. FOG also uses NFS to copy the file from the target computer to the storage node. I don’t know the buffalo nas, but most can support that feature. I can tell you from the synology nas its possible. You basically share a directory on the synology nas such as /volume1/images and /volume1/images/dev. Then create a local user that can ftp into the nas with the proper permissions to modify files in /volume1/images and /volume1/images/dev. In the case of nfs /volume1/images should be volume level shared as read only and /volume1/images/dev should be read write. One other thing in regards to NFS, you need to turn off “squash root” which block the root user from connecting to the nfs share. It is turned on by default.

        I have a tutorial on how to setup a synology nas as a storage node. https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node You will need to translate it into what your nas needs. But the key points are ftp, nfs, and a user account.

        Then on the fog server in the storage management page, add a new storage node. Make sure the storage paths match what you created on the nas device for both the nfs share as well as the ftp path. The management user id and password should match the account you created on the nas. And finally this is an undocumented trick, but change the default storage node (the fog server) as a slave and the nas device as the master node. With those roles reversed you will be able to capture images to the nas. By default only the master node in a storage group can capture image. All devices in a storage group can deploy 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!

        D 1 Reply Last reply Reply Quote 0
        • D
          doubleve @george1421
          last edited by

          @george1421

          thank you for the information the nas buffalo has the prerequisites. would you have a screenshot of the node configuration on fog
          thank you

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

            @doubleve The important settings are:

            • Storage Node Name: any name you like to use
            • IP Address: the IP of you NAS
            • Max Clients: set that to 10 for now
            • Is Master Node: No!
            • Storage Group: probably use the default group in your setup
            • Image Path: the path you share as NFS volume, e.g. /volume1/images
            • FTP Path: same as above
            • Is Enabled: Yes!
            • Management Username: the user you created on the NAS - default we use is fogproject and you might want to use that too
            • Management Password: password set for the above user

            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
            • george1421G
              george1421 Moderator @doubleve
              last edited by

              @doubleve said in Nas Buffalo need help:

              would you have a screenshot of the node configuration on fog
              thank you

              They are in my tutorial in relations to how the synology nas is setup. https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node/4 Its not a picture but text, you will have to translate to what is needed for your NAS.

              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!

              1 Reply Last reply Reply Quote 0
              • D
                doubleve
                last edited by

                Thank you for your return.
                The buffalo nas does not have the function TFTP, I will fall back on a synology.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @doubleve
                  last edited by

                  @doubleve You only need tftp if you want to boot from the nas. If you have a real fog server on the same network you can use that. For a storage node you only need NFS and FTP service.

                  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!

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

                  161

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project