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

    Additional disk space is not showing up on Fog server

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    33
    8.8k
    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.
    • george1421G
      george1421 Moderator @sjensen
      last edited by george1421

      @sjensen linux console…

      What may be confusing you is that linux (here) is using LVM (logical volume manager) to manage your disks. It doesn’t have an equivalent in the windows realm. But LVM is an abstract layer between the hardware and the OS. If you close one eye and squint with the other one, one might says its a kind to a disk virtualization layer. Between the hardware and the OS. (even if the system is running as a virtual machine). LVM allows you to add more disks to an operating system without needing to reformat your hard drive to extend it. Granted its much easier now with linux running on a vm to extend the vmdk and add space, when you are talking about physical servers, it a bit harder. That is where LVM comes into play.

      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 1
      • Tom ElliottT
        Tom Elliott @sjensen
        last edited by

        @sjensen Open a terminal.

        Gain root: (If ubuntu typically sudo -i).

        Once at the root prompt, run the command.

        Root prompt looks similar to:

        [root@fogserver ~] #
        

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          sjensen @Tom Elliott
          last edited by

          @Tom-Elliott
          ok done

          Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @sjensen
            last edited by

            @sjensen Did it 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! 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

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

              @sjensen now do you see the additional space when you do a 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 1
              • S
                sjensen @Tom Elliott
                last edited by

                @Tom-Elliott 0_1488554008764_Capture6.PNG

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

                  Did you expand the originating volume, or did you add a new HDD to the VM?

                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sjensen @Tom Elliott
                    last edited by

                    @Tom-Elliott

                    1. i added more disk space from the hyper v console
                    2. booted into gparted live cd and extended the volumes.
                    3. rebooted
                    JunkhackerJ Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @sjensen
                      last edited by

                      @sjensen it might be easier to follow these instructions to resize your LVM, you’ve already done part of this, but i’m sure you can figure out what needs to be done yet. https://blog.vbonhomme.fr/extend-a-lvm-partition-after-increasing-its-virtual-disk-on-virtualbox/

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      S 1 Reply Last reply Reply Quote 2
                      • Wayne WorkmanW
                        Wayne Workman @sjensen
                        last edited by

                        @sjensen I’d also recommend against gparted in this particular case. To do what you need manually it’s only a couple standard linux commands.

                        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
                          sjensen @Wayne Workman
                          last edited by

                          @Wayne-Workman it’s a little late for that Wayne. I’ve used Gparted already. It seemed like a good solution.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sjensen @Junkhacker
                            last edited by

                            @Junkhacker Would this work for a Hyper-v machine too?

                            JunkhackerJ 1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer @sjensen
                              last edited by

                              @sjensen your virtual machine doesn’t know it’s a virtual machine, so what hypervisor you’re using is irrelevant. everything in the steps past gparted (which you say you’ve already done) is relevant

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              S 2 Replies Last reply Reply Quote 1
                              • S
                                sjensen @Junkhacker
                                last edited by

                                @Junkhacker Thank you for the link. If I understand this correctly, gparted resized the partition, now I have to go in and make changes so Ubuntu sees that I extended the hard drive space. Is basically what needs to happen? Please bare with me I am new to Linux, i’m still learning. Any advice is appreciated.

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

                                  @sjensen If you run that list of commands again that I posted previously, we can see exactly how it is now and give you guidance on what to do.

                                  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/

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

                                    @Wayne-Workman https://forums.fogproject.org/topic/9636/additional-disk-space-is-not-showing-up-on-fog-server/11#

                                    Just trying to 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! 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 1
                                    • S
                                      sjensen @Junkhacker
                                      last edited by

                                      @Junkhacker Thank that link worked

                                      1 Reply Last reply Reply Quote 2
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by Wayne Workman

                                        Well if it’s still exactly like how it was in the photos he posted, this command would allocate the free space available in the volume group ‘FOGserver-vg’ to the logical volume ‘root’

                                        lvextend -l 100%FREE /dev/FOGserver-vg/root/
                                        

                                        And then this command would then expand the file system on root

                                        resize2fs /dev/FOGserver-vg/root
                                        

                                        After that, a simple df -h should show the space is available at the / mount point.

                                        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
                                          sjensen @Wayne Workman
                                          last edited by

                                          @Wayne-Workman Wayne thank you for the reply. I used the that Junkhacker posted. It worked very.
                                          https://blog.vbonhomme.fr/extend-a-lvm-partition-after-increasing-its-virtual-disk-on-virtualbox/

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

                                          249

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project