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

    Change default /images directory

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    13
    7.7k
    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.
    • Tom ElliottT
      Tom Elliott @finvader
      last edited by

      @finvader How are you running the installer?

      The only time, otherwise, that it asks this is fresh install.

      If you’re upgrading, you would need to edit the /opt/fog/.fogsettings file looking for storageLocation.

      Or, of course, you can run as I just suggested.

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

        @finvader I would have to ask, what is your goal here (yes I know to change the path, but why?) What is your end game because there may be another way to go about it to keep your fog build sane and still get the results you need.

        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
        • F
          finvader
          last edited by

          I was running a fresh install today and I did not see where it asked for storage location.

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

            @finvader Ah, OK it was more of a general 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!

            1 Reply Last reply Reply Quote 0
            • F
              finvader
              last edited by

              Long story short. We maintain 1 centos 7.3 image. Our home directory is around 1.5 TB of storage. We create the /home/images directory to store images. In the past, after the install I had to go into the settings and simply change the location of the storage location and dev, now maybe, if we need to rebuild, I can just specify the location during the install. Trying to simplify things as much as possible for those that come behind me to attempt.

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

                @finvader While this doesn’t speak directly to your current situation, if you ever rebuild your fog server I’ve recommended that you move your images (and if you are a heavy snapin user) off the root partition all together. This way you can prevent a full root partition from taking down your fog server. If you fill up the images partition or disk just that disk has issues and not the OS.
                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!

                F 1 Reply Last reply Reply Quote 1
                • F
                  finvader @george1421
                  last edited by

                  @george1421 The images are not on root partition. Here is our partition setup. This is in a fully STIG compliant secured centos 7.3
                  /root
                  /
                  /home
                  /boot
                  swap
                  /var/log
                  /var/log/audit
                  /tmp

                  Images are stored in /home

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

                    @finvader Right, and all I’m suggesting is that you create a new partition or if this is a virtual machine a new vmdk to hold your images. Your existing validated structure would stay in place.

                    Most users just use the default partitioning structure for the OS and then run into issues when they capture something too big for the available space on the disk. Then the root partition fills up and the OS dies and its hard to recover.

                    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 Reply Quote 0
                    • F
                      finvader @george1421
                      last edited by

                      @george1421 yes definitely, thanks

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

                        Hi,

                        in order to @george1421 's post, because of the may incoming space issue i have the main fog server on a vm with only 50gb of storage and an additional physical storage node with 4tb raid storage that will also went on a backup tape each week. our vm’s on esx also have a backup each week.

                        Regards X23

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

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

                        169

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project