• 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.0k
    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 @sjensen
      last edited by

      @sjensen Can you post the output of all of these commands actually? If you are like most people you used all the defaults when installing Ubuntu, and there are volume groups setup.

      sudo -i
      df -h
      lsblk
      fdisk -l
      pvdisplay
      vgdisplay
      lvdisplay
      

      Please post using the code formatting tool, preferably with the output of each command in it’s own box.

      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 @george1421
        last edited by

        @george1421

        Here is what I got. I added around 300gb to the linux vm.
        0_1488550591657_linux.PNG

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

          @sjensen Did you expand the volume?

          It may require you to run a live cd to expand seeing as, if I’m understanding correctly, you’re trying to expand the root partition.

          While it is possible to resize the root partition live, I’d recommend against it.

          If you can create a snapshot of the system before you make any partition changes, I think it may help you out too.

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

            @Wayne-Workman
            Here you go.

            4_1488551293945_linux 6.PNG 3_1488551293945_linux 5.PNG 2_1488551293945_linux 4.PNG 1_1488551293945_linux 3.PNG 0_1488551293945_linux 2.PNG

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

              @Tom-Elliott
              Its already done. I used Gparted live cd.

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

                @sjensen I think, then, all you need is

                vgextend FOGserver-vg /dev/FOGserver-vg/root
                

                Edited as I copied from another site, and forgot to modify the vg_tecmint portion.

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

                  @Tom-Elliott said in Additional disk space is not showing up on Fog server:

                  vgextend FOGserver-vg /dev/FOGserver-vg/root

                  Sorry im still new to linux where would i place that at?

                  george1421G Tom ElliottT 2 Replies Last reply Reply Quote 0
                  • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            268

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project