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

Images storage question

Scheduled Pinned Locked Moved Solved
General
3
10
672
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.
  • M
    mpatel
    last edited by Aug 16, 2018, 10:32 PM

    we completed setting up FOG in CentOs7 in VM. we assigned 250GB hard drive space. now when i opened up FOG webpage i noticed Storage Node Disk Usage where it shows 46.35 free and 3.63 used. is this a location where images will be saved ?

    if so 46.35 GB won’t be enough. why would it only shows that much. how can i increase it ?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Aug 16, 2018, 10:55 PM

      What is the output of these two commands.

      1. lsblk
      2. df -h

      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
      • M
        mpatel
        last edited by Aug 16, 2018, 11:30 PM

        Here is screenshot. 0_1534462227786_1.PNG

        G 1 Reply Last reply Aug 16, 2018, 11:59 PM Reply Quote 0
        • M
          mpatel
          last edited by Aug 16, 2018, 11:33 PM

          this is what i was talking about. screenshot of fog dashboard.

          we basically want maximum possible size for /images directory 0_1534462420539_Fog.PNG so we can store more images there.

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator @mpatel
            last edited by george1421 Aug 16, 2018, 6:00 PM Aug 16, 2018, 11:59 PM

            @mpatel Well from the df-h command it shows that you have 192GiB of space assigned (mounted over) to /home. So your /images is connected to your root partition which is only 50GiB in size.

            While I don’t know what instructions you used, I might suspect that the fog-home device should have been mounted over /images and not /home to provide storage for your images.

            What I see from your dh -h your the FOG dashboard is seeing your file systems correctly.

            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
            • M
              mpatel
              last edited by Aug 17, 2018, 5:10 PM

              how can we correct it ? I want all available size to go to /images directory.

              G 1 Reply Last reply Aug 17, 2018, 6:04 PM Reply Quote 0
              • G
                george1421 Moderator @mpatel
                last edited by george1421 Aug 17, 2018, 12:05 PM Aug 17, 2018, 6:04 PM

                @mpatel If you have a linux admin at your location then I would contact them, because you could login issues since you are changing the user’s home directory. It can be done, but if you are not taking care, logins will be disabled and the server will be lost.

                The second method is to wipe your server and reload linux. This time don’t let the system pick the partition table, but allow it to set the defaults then you go in and change 1 thing. The linux installer by default will create a 50GB partition for the root partition and then allocate everything else to /home. I would go in to the partition layout tool, in the linux installer and edit the /home path to be /images instead. Then continue on with a normal linux installation.

                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
                • M
                  mpatel
                  last edited by Aug 17, 2018, 6:06 PM

                  can i not move /images to /home ? this will solve the issue i think.

                  currently /images shows up under root.

                  T 1 Reply Last reply Aug 17, 2018, 6:15 PM Reply Quote 0
                  • T
                    Tom Elliott @mpatel
                    last edited by Aug 17, 2018, 6:15 PM

                    @mpatel A simple method would be:

                    sudo mv /images /home/images
                    sudo ln -s /home/images /images
                    

                    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
                    • M
                      mpatel
                      last edited by Aug 17, 2018, 7:02 PM

                      Tom, Thank you so much for help on this. it did work. i noticed on Fog dashboard. disk space shows 190gb.

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

                      249

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project