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

    How to Maintain Snapins Folders on 10 Storage Nodes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    1.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.
    • Wayne WorkmanW
      Wayne Workman @Jim Graczyk
      last edited by

      @jim-graczyk said in How to Maintain Snapins Folders on 10 Storage Nodes:

      In 1.5.0, it appears this doesn’t occur, and that nothing is deleted from the snapin folder when a snapin is deleted.

      That’s a bug report.

      for the rest, scripting and ssh certificates are your friends. I understand the pain fully, I once administrated a 15 node fog setup and pushed through every single problem between Trunk 1.3 and release 1.4. It’s a pain yeah, but your on a release candidate also - so some forgiveness is in order.

      I can get you some SQL commands that will ease the comparison process, I’ll post them in a minute.

      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/

      J 1 Reply Last reply Reply Quote 0
      • J
        Jim Graczyk @Wayne Workman
        last edited by

        @wayne-workman

        Do I need to post this again under Bug Reports? I don’t see a way to move this to a different section of the forum.

        Jim

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

          moved…

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

            @jim-graczyk

            mysql -D fog
            SELECT `sFilePath` FROM `snapins`;
            quit
            

            That will get you a list of all the snapin filenames. Just go from node to node and delete ones not in this list.

            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/

            J 1 Reply Last reply Reply Quote 0
            • J
              Jim Graczyk @Wayne Workman
              last edited by

              @wayne-workman Thanks…

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                I’m not seeing the problem with deleting the files. I understand that the folders thing, but no “data” deletion has ever deleted the “data” just when the definition was deleted. If you delete a definition, the data still remains more as a safety net.

                There is the “checkbox” to delete “and data” but this only appears, for now, on the individual delete of an item.

                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

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

                  @Jim-Graczyk @Wayne-Workman What to do with this? Still a bug or did Tom’s note clear it up? Shall we move it back to FOG problems and mark it solved?

                  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

                  J Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                  • J
                    Jim Graczyk @Sebastian Roth
                    last edited by

                    @sebastian-roth
                    I’m ok with closing this.

                    I’ll do more testing and see what I can see. Of the problems I have with the current Latest version, this is not high on my list - hence my request for advice on how to maintain a large number of storage nodes. I’m thinking we’ll look at a periodic cleanup process.

                    Thanks,
                    Jim

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

                      @sebastian-roth It’s possible that the files @Jim-Graczyk needed to cleanup were left un-deleted from a previous version of fog that had this problem, and it’s also entirely possible that the people that work where @Jim-Graczyk works just didn’t click the box to “delete files too” when they deleted snapins.

                      Either way, Tom stated he’s not seeing the issue in the current version.

                      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/

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jim Graczyk @Wayne Workman
                        last edited by

                        @wayne-workman

                        Agreed on all counts, plus I don’t have images that need deleting at present to test, nor time to create images just to test deletion (at this point). I’ll check this as the opportunity presents itself.

                        thanks to all.

                        Jim

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

                        151

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project