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

FOG Server GUI disk info not the same as Gparted disk info

Scheduled Pinned Locked Moved Solved
FOG Problems
4
10
2.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.
  • G
    greenfog
    last edited by Nov 11, 2016, 4:11 AM

    Server
    • FOG Version: 1.2.0
    • OS: Ubuntu 14.04 LTS
    Client
    • Service Version:
    • OS:
    Description

    My fog server does not seem to get updated or synchronized on its total disk capacity after extending the capacity from 183GB to 250GB using Gparted LiveCD. .Is there anything I can do do get it updated on the Web console or on the Ubuntu’s filesystem as well? I am a noob in the world of Linux-based machines so please bear with me.

    0_1478837336229_upload-169cf329-0ed1-4f54-9ae9-ef37a0b6d2d7

    0_1478837306839_upload-d219bd36-bd69-4c55-b57e-7b2c1d7cc99b

    0_1478837419679_upload-90511c4a-5120-49b1-a3b0-9327d4fc5c87

    1 Reply Last reply Reply Quote 0
    • G
      greenfog @greenfog
      last edited by Nov 14, 2016, 9:32 PM

      @Tom-Elliott, @Wayne-Workman

      Thanks for your help guys, great stuff. I was able to increase my disk size the way I want it too.

      0_1479159136765_upload-ea588445-3e1c-4913-842a-09aebff13f1a

      0_1479159145646_upload-2fd09ea2-6d4f-4ca7-b1ab-64e515b86943

      1 Reply Last reply Reply Quote 1
      • W
        Wayne Workman
        last edited by Nov 11, 2016, 4:22 AM

        I assume you want to expand your disk because the images you have presently on your fog server, you want to keep. I also assume this server is virtualized, since you only have one disk listed in gparted. I’d first recommend snapshotting this server if you’ve not done so. You might think about copying the images directory to somewhere for safety also.

        Then read through this:
        http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm

        I think you can probably start in that article at the step where they are extending root’s logical volume with all available free space.

        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/

        X G 3 Replies Last reply Nov 11, 2016, 9:01 AM Reply Quote 1
        • X
          x23piracy @Wayne Workman
          last edited by Nov 11, 2016, 9:01 AM

          @Wayne-Workman said in FOG Server GUI disk info not the same as Gparted disk info:

          I assume you want to expand your disk because the images you have presently on your fog server, you want to keep. I also assume this server is virtualized, since you only have one disk listed in gparted. I’d first recommend snapshotting this server if you’ve not done so. You might think about copying the images directory to somewhere for safety also.

          Then read through this:
          http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm

          I think you can probably start in that article at the step where they are extending root’s logical volume with all available free space.

          I don’t think he want to expand the disk, hes i using for his missing 60GB. Free on partition 75gb (look at the screenshots) and FOG Webif is telling only ~14GB free.

          Regards X23

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

          W 1 Reply Last reply Nov 11, 2016, 3:15 PM Reply Quote 0
          • W
            Wayne Workman @x23piracy
            last edited by Nov 11, 2016, 3:15 PM

            @x23piracy The operating system isn’t showing a 250GB disk, it’s showing a 183.7GB disk. I think the logical root volume hasn’t been expanded into the free space available in the LVM partition yet.

            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/

            X 1 Reply Last reply Nov 11, 2016, 4:48 PM Reply Quote 0
            • X
              x23piracy @Wayne Workman
              last edited by Nov 11, 2016, 4:48 PM

              @Wayne-Workman said in FOG Server GUI disk info not the same as Gparted disk info:

              @x23piracy The operating system isn’t showing a 250GB disk, it’s showing a 183.7GB disk. I think the logical root volume hasn’t been expanded into the free space available in the LVM partition yet.

              whoops, missed that point…sry

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

              1 Reply Last reply Reply Quote 0
              • G
                greenfog @Wayne Workman
                last edited by greenfog Nov 13, 2016, 9:58 PM Nov 14, 2016, 3:49 AM

                @Wayne-Workman said in FOG Server GUI disk info not the same as Gparted disk info:

                I assume you want to expand your disk because the images you have presently on your fog server, you want to keep. I also assume this server is virtualized, since you only have one disk listed in gparted. I’d first recommend snapshotting this server if you’ve not done so. You might think about copying the images directory to somewhere for safety also.

                Then read through this:
                http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm

                I think you can probably start in that article at the step where they are extending root’s logical volume with all available free space.

                Thanks for the reply Wayne. Unfortunately, the Free space that I was trying to extend to was already done by booting to a GParted LiveCD and expanded from there. What I am a little bit confused about is why the OS partition does not recognize the new partition size of 250GB. It still displays the old size of 183GB and I’ve got like 175GB worth of images that I do not want to be removed.

                I do not want to reinstall the whole FOG server again, if possible as it took me quite a while to do it and move the images back. Is there a way for me to combine the LV size for my root and swap_1? Is it possible? If yes, how do I do it? Could the swap_1 be the reason why my main disk size is still showing as the old disk size?

                0_1479095293522_upload-78bb8264-e96b-4809-8aa8-a3635f04cb8e

                1 Reply Last reply Reply Quote 0
                • G
                  greenfog @Wayne Workman
                  last edited by Nov 14, 2016, 3:52 AM

                  @Wayne-Workman

                  You are correct in saying that this is a virtualized Fog server with just one disk. I also have snapshots running off it at the moment.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Tom Elliott Nov 14, 2016, 5:34 AM Nov 14, 2016, 11:29 AM

                    Seeing as you increased the size of the disk, did you run through the information @Wayne-Workman provided in his first post? The http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm portion of it.

                    Expanding a partition and making a system recognize the new size are two totally different things.

                    While I’m sure GParted has utilities available to allow it to expand and make the LVM recognize the new size, I’m fairly sure this is the portion you’re missing.

                    Please read through the link and pay particular close attention to the last two portions of the page.

                    Based on the second set of pictures you provided, it seems to me you created the partition to read that new data as Swap space. It may, as a last resort, be simpler to start fresh though I do understand the hesitation.

                    I might try these steps to move the swap into usable root space:

                    swapoff -v /dev/ubuntu-vg/swap_1
                    lvm lvremove /dev/ubuntu-vg/swap_1
                    

                    Edit the /etc/fstab file and look to see that the swap space from the LVM is removed.

                    Then run though the information within the link @Wayne-Workman provided.

                    If these steps do not work, I’d recommend thinking about reinstalling as it will likely lead to a more successful end point for you.

                    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

                    G 1 Reply Last reply Nov 14, 2016, 9:14 PM Reply Quote 0
                    • G
                      greenfog @Tom Elliott
                      last edited by Nov 14, 2016, 9:14 PM

                      @Tom-Elliott

                      Thanks Tom, I’ll try to do just that. I’ll let you guys know how it goes.

                      G 1 Reply Last reply Nov 14, 2016, 9:32 PM Reply Quote 0
                      • G
                        greenfog @greenfog
                        last edited by Nov 14, 2016, 9:32 PM

                        @Tom-Elliott, @Wayne-Workman

                        Thanks for your help guys, great stuff. I was able to increase my disk size the way I want it too.

                        0_1479159136765_upload-ea588445-3e1c-4913-842a-09aebff13f1a

                        0_1479159145646_upload-2fd09ea2-6d4f-4ca7-b1ab-64e515b86943

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

                        208

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project