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

    Is it possible to move an image stored on fog local server, to an external nfs storage

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    11
    2.5k
    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.
    • arnaudrigoleA
      arnaudrigole
      last edited by arnaudrigole

      Hi Fog Community,
      All is in the title, for precision, the NFS storage isn’t in the same group what fog local storage.
      I use two storage groups & two storage nodes:

      EXT_STORAGE group : w2008r2 nfs storage node
      LOCAL_STORAGE group : fog local storage node

      Thanks for your help 🙂

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

        I think I’m loosing my mind, I’m sure this was a recent discussion, but I can’t seem to find it.

        Yes you can do this manually with FTP. For FOG to do this with built in replication, both the master node and storage node need to be in the same storage group.

        What is your logic for not placing both nodes (master and slave) in the same storage group?

        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!

        x23piracyX arnaudrigoleA 2 Replies Last reply Reply Quote 0
        • x23piracyX
          x23piracy @george1421
          last edited by

          @george1421 i think the reason is (for me it is) my master has little storage only 50GB and the Storage Node has 4TB. When i put both in a group i have very quick a full master storage.

          Regards X23

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

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

            Just speaking without putting to much thought into it.

            The location plugin with the external storage node should do it. Basically you will have two locations one for images on the master node and one for images on the storage node. Understand target hosts can only be members of a single location. So what ever location you allocate them to, will decide what storage node they use. Its not a real clean solution but it might work. But I think I would still just add more disk space to the master node and not mess with this dual storage device setup.

            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
            • Wayne WorkmanW
              Wayne Workman @x23piracy
              last edited by

              @x23piracy if your fog server only has 50 GB, sounds like you used fedora or CentOS and didn’t customize the partitioning?

              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/

              x23piracyX 1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy @Wayne Workman
                last edited by x23piracy

                @Wayne-Workman no it was never planned bigger than this, for more storage i have the 4TB storage node. it’s Ubuntu 14.04.4 on VMWare Esx 5.5, the storage node is a physical server.

                Regards X23

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

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

                  While I hear what you are saying, but IMO it would be much easier in the long run to just add a new vmdk file to your virtual server and store your images there. Then you don’t have to mess with the cross species storage node.

                  https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition

                  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!

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @george1421
                    last edited by x23piracy

                    @george1421 sorry george but that is not my problem. i am doing this for work and my boss is an idiot. Should i need to say more? What is missing is storage for the VM’s. I don’t know why my boss is doing IT he has not a hunch from it.

                    In one hand they throw money out of the window and in the other hand they would give a shit for it stuff. Sorry for being loud 😉

                    But you are right, in normal i would take one big machine 😉

                    Regards X23

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

                    1 Reply Last reply Reply Quote 0
                    • arnaudrigoleA
                      arnaudrigole @george1421
                      last edited by

                      @george1421
                      @x23piracy

                      Hi guys.

                      X23Piracy, i have the same setup than you, 150gb for fog partition, then 1TB to store images. Thats my logic ^^

                      George, sorry but i don’t understand what u said with “location plugin”.
                      I tried to simply copy .img files on my storage server, (with CP) but FOG didn’t recognize it in webgui, and besides , it would have really surprised me^^

                      george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @arnaudrigole
                        last edited by

                        @arnaudrigole said in Is it possible to move an image stored on fog local server, to an external nfs storage:

                        George, sorry but i don’t understand what u said with “location plugin”.
                        I tried to simply copy .img files on my storage server, (with CP) but FOG didn’t recognize it in webgui, and besides , it would have really surprised me^^

                        Location plugin: There are add on modules you can use with fog (not part of the core fog program but is part of the fog capabilities) you can install. The location plugin is one such module. This location plugin extends the base fog server to understand the concepts of location (or logical grouping of storage nodes and target computers). This way you can make computer A only talk to storage node A and maybe not storage node B at another site.

                        What you guys are trying to do is not part of FOG itself. You are trying to augment (add to) FOGs internal storage with an external device. You want to make a transparent connection with NFS between your fog storage and the external NAS server. This is NOT a FOG issue but a linux/nfs issue where you can not share out a nfs mounted share on your fog server. The storage node doesn’t work as I think you want it to. A FOG Storage Node is typically complete/independent fog server but acts as a slave to the master node. You can make a Windows server work mostly like a FOG (linux) Storage Node, but it still will not add to the available space of your master node.

                        What you need a block level network device you can add to your FOG server like an ISCSI target from a SAN/NAS device.

                        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
                        • Wayne WorkmanW
                          Wayne Workman @arnaudrigole
                          last edited by

                          @arnaudrigole https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

                          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

                          194

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project