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

    Adding storage to existing FOG server.

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    6.6k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Maybe double check the permissions on the linked (new) hard drive or directory?

      I would suspect that those permissions need to be the same as the ones applied to the original /images directory.

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

        Did that work?

        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
        • T
          TheGorgotron
          last edited by

          [quote=“Wayne Workman, post: 42846, member: 28155”]Maybe double check the permissions on the linked (new) hard drive or directory?

          I would suspect that those permissions need to be the same as the ones applied to the original /images directory.[/quote]

          I will check that tomorrow and copy an image over to see if it works. I’m pretty sure I had both set as 775 last time I tried this, but I’ll make sure this time. Thanks for the suggestion.

          1 Reply Last reply Reply Quote 0
          • T
            TheGorgotron
            last edited by

            [quote=“TheGorgotron, post: 42852, member: 28622”]I will check that tomorrow and copy an image over to see if it works. I’m pretty sure I had both set as 775 last time I tried this, but I’ll make sure this time. Thanks for the suggestion.[/quote]

            Still getting permission denied. I’ll have to check on this some more later. Right now the main drive has a little bit of room left.

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

              i know its not the right place to ask but i just got a new 2 tb hdd to store my image.

              and im not sure how to set it for that everytime i image something upload/download it use that other hdd. im on ubuntu.

              thanks again for any help

              – mod moved question to relevant thread.

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

                @sacha_marin You’d use /etc/fstab (or the ubuntu equivalent) to permanently mount the drive to a directory. You should mount it to it’s own /images directory, not the existing one… maybe something like /images2

                Then, you’d create a brand new storage group, then add a storage node to that group and specify the correct path. Since it’s the only member inside the new storage group, you’d set it as the master storage node. You should also set your original “default” node as the master because it should also be the only node inside its group. Because it’s local to the FOG server, the credentials used in the default node should work on the added node. There’s also a spot inside FOG Configuration -> FOG Settings -> Storage node that you need to set the FTP username and pass, again, it’d be the same since it’s local.

                Then, when you create an image, you’d just specify the storage group you’d want it to go to.

                You would also have to modify your /etc/exports file to export the new directory. It’d be the same as the existing two lines in there, but with the new path.

                You’d also need to create the hidden .mntcheck files both in the new /images and /images/dev directories.

                Then a server reboot should seal the deal.

                Here are some related articles:
                https://wiki.fogproject.org/wiki/index.php/Adding_Storage_to_a_FOG_Server
                https://wiki.fogproject.org/wiki/index.php/Moving_your_images_directory/Adding_Storage_to_the_Images_directory

                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/

                S 1 Reply Last reply Reply Quote 0
                • S
                  sacha_marin
                  last edited by sacha_marin

                  hmmm

                  i followed that guide https://wiki.fogproject.org/wiki/index.php/Moving_your_images_directory/Adding_Storage_to_the_Images_directory

                  and now my client cant connect to the fog server anymore. i just get a tftp…

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

                    @sacha_marin What’s the error?

                    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/

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sacha_marin @Wayne Workman
                      last edited by sacha_marin

                      @Wayne-Workman i just get a tftp…… then an open timeout. i only touched the /etc/fstab that i just restored and the /images is now called /images.old but there is an exact copy of it called /images

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

                        @sacha_marin tftp… what? What does the error say?

                        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
                        • S
                          stevefsusd @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          I’ve been having trouble getting a new storage node (located on a USB Drive that’s plugged into my Fog server) to work properly. I am able to get the drive to mount and have the permissions set the way you mentioned, but when I try to upload an image it isn’t working.

                          It looks like it is going to work, I even see the screen flash briefly that would be showing me the progress. But once that flashes the screen changes to a blue background, with a repetitive message about how it is unable to move the temp image that it is supposed to have in the /dev directory to the /ext_images directory. When I check the /dev directory, I see that there’s no image at all even being started to upload.

                          Sure seems like that would be a permissions type of issue but I know those are good.

                          You mention something about adding FTP info to the Fog Settings – Storage Node area. I am not seeing that. I do see TFTP Server info but nothing that specifies a storage node (either default or new).

                          The USB drive is mounting just fine, I can see the path to the images directory on it and the /dev directory as well. Permissions look the way you mention. Where else could I look for the spot I may need to plug the FTP username/pswd info into for the new storage node?

                          Thanks,
                          Steve

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

                            @stevefsusd Check this out: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                            There’s a section in there just for you. 🙂

                            Let us know if you need more help.

                            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

                            170

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project