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

Add NAS for storage with FOG

Scheduled Pinned Locked Moved
General Problems
3
17
4.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.
  • F
    firej
    last edited by Feb 27, 2017, 1:26 PM

    I want to have a clean FOG Server without any images on it, and I want to connect a NAS folder that I could upload, download images. Is it possible? I tried with NFS I can echo files on it from my FOG Server, I see them to the NAS, but my export tells me that doesnt support NFS. I am using fedora 25.

    F 1 Reply Last reply Feb 27, 2017, 1:39 PM Reply Quote 0
    • F
      firej @firej
      last edited by Feb 27, 2017, 1:39 PM

      @firej at the web fog management I can see now at the Storage Node Disk Usage my space from NAS, but when I try to get image from my laptop, “operation not permited”.

      G 1 Reply Last reply Feb 27, 2017, 1:43 PM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Feb 27, 2017, 1:42 PM

        This one is going to be a bit tricky since what I’m going to tell you is not supported by FOG (but some say it works).

        Add your NAS as a Storage Node. Then in your configuration make the storage node the master node (not the FOG server).

        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!

        F 1 Reply Last reply Feb 27, 2017, 2:13 PM Reply Quote 0
        • G
          george1421 Moderator @firej
          last edited by Feb 27, 2017, 1:43 PM

          @firej FWIW, what device is 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!

          F 1 Reply Last reply Feb 27, 2017, 2:06 PM Reply Quote 0
          • F
            firej @george1421
            last edited by Feb 27, 2017, 2:06 PM

            @george1421 I have a Qnap 453A

            F 1 Reply Last reply Feb 27, 2017, 2:31 PM Reply Quote 0
            • F
              firej @george1421
              last edited by Feb 27, 2017, 2:13 PM

              @george1421 said in Add NAS for storage with FOG:

              r NAS as a Storage N

              What about the default storage? I need to change the paths? I set the same paths for NAS could you send me an image/instructions for that?

              1 Reply Last reply Reply Quote 0
              • F
                firej @firej
                last edited by Feb 27, 2017, 2:31 PM

                @firej I done what you told me add new storage for NAS master it but know it tells me Could not mount images folder (bin/fog.download) Args Passed: Reason: mount: mounting xxx.xxx.xxx.xxx:/home/fog/images on /images failed: Permission denied

                F G 3 Replies Last reply Feb 27, 2017, 2:49 PM Reply Quote 0
                • F
                  firej @firej
                  last edited by Feb 27, 2017, 2:49 PM

                  @firej Also I notice in the web management the NAS Storage is 0% on Free and Used

                  G 1 Reply Last reply Feb 27, 2017, 2:52 PM Reply Quote 0
                  • G
                    george1421 Moderator @firej
                    last edited by Feb 27, 2017, 2:51 PM

                    @firej I haven’t setup a Qnap device as a FOG storage node, I have with a Synology NAS. It is documented here: https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node

                    You do need to ensure the nas will allow root to connect to the share.

                    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
                    • G
                      george1421 Moderator @firej
                      last edited by Feb 27, 2017, 2:52 PM

                      @firej said in Add NAS for storage with FOG:

                      @firej Also I notice in the web management the NAS Storage is 0% on Free and Used

                      This is because the NAS isn’t a FOG server, so it can’t report back to the FOG Web gui. Using a NAS as a storage node is not directly supported by FOG. Does it work, most of the time. But its not something that is officially supported.

                      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
                      • G
                        george1421 Moderator @firej
                        last edited by Feb 27, 2017, 2:54 PM

                        @firej said in Add NAS for storage with FOG:

                        Could not mount images folder (bin/fog.download) Args Passed: Reason: mount: mounting xxx.xxx.xxx.xxx:/home/fog/images on /images failed: Permission denied

                        You can test this from the FOG server too. Login to the fog server as root.
                        Then issue the following command: sudo mount -t nfs xxx.xxx.xxx.xxx:/home/fog/images /mnt See if the NAS will allows you to mount the nfs share. To unmount the share umount /mnt

                        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!

                        F 1 Reply Last reply Feb 27, 2017, 3:05 PM Reply Quote 0
                        • F
                          firej @george1421
                          last edited by Feb 27, 2017, 3:05 PM

                          @george1421 It allows me to mount it I have tried manually with mount also for auto i put it on /etc/fstab i tried the echo for test.txt all are ok when I try to deploy image I get this message 😞

                          G 1 Reply Last reply Feb 27, 2017, 3:25 PM Reply Quote 0
                          • G
                            george1421 Moderator @firej
                            last edited by Feb 27, 2017, 3:25 PM

                            @firej OK a couple of things.

                            The fog server can not mount a remote nfs share and then reshare that share. It won’t work.

                            What you are doing is setting up your NAS as a “fake” fog server. Your clients will connect to that share on the NAS, and never the FOG server.

                            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 1
                            • X
                              x23piracy
                              last edited by Feb 27, 2017, 6:57 PM

                              old but maybe still working 🙂
                              https://forums.fogproject.org/topic/1811/how-to-setup-a-fog-storage-node-without-installing-fog

                              ║▌║█║▌│║▌║▌█

                              F 1 Reply Last reply Feb 27, 2017, 10:49 PM Reply Quote 0
                              • F
                                firej @x23piracy
                                last edited by Feb 27, 2017, 10:49 PM

                                @x23piracy I tried your instructions, I have set a new storage from nas i set full access to folders, but when i tried to deploy my laptop it tells me “Operation not supported”, but in the management I have full review of my NAS. It pitty that doesn’t have this feature and I think it’s very important

                                G 1 Reply Last reply Feb 27, 2017, 11:16 PM Reply Quote 0
                                • G
                                  george1421 Moderator @firej
                                  last edited by Feb 27, 2017, 11:16 PM

                                  @firej Are you using the location plugin to tell the target computers to use the nas for imaging?

                                  IF that doesn’t work then we may need to schedule a debug deploy and single step through a deployment until we get the error. From there we can look at the state of the machine. Where is the FOS local /images mapped to is a valid question.

                                  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!

                                  F 1 Reply Last reply Mar 1, 2017, 11:55 PM Reply Quote 0
                                  • F
                                    firej @george1421
                                    last edited by Mar 1, 2017, 11:55 PM

                                    @george1421 OK! At last it’s now working! the info from my friend here : https://forums.fogproject.org/topic/8668/qnap-nas-storage worked awesome! It’s sad that I cannot see the status of my NAS storage on my web fog management->home but I could see it on my NAS

                                    1 Reply Last reply Reply Quote 1
                                    • 1 / 1
                                    1 / 1
                                    • First post
                                      3/17
                                      Last post

                                    146

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project