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

    Expanded Virtual Disk but FOG doesn't see the change

    Scheduled Pinned Locked Moved
    General Problems
    3
    5
    647
    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.
    • B
      BREIT
      last edited by

      Hey Guys,

      So today we gave our Fog server more disk space. We expanded the drive in Ubuntu but FOG isn’t seeing the changes even after a restart. I’ve looked on the forum and tried a few suggestion there but they didn’t work. I increased the drive by 125GBs. I’m running Ubuntu server 16.04.

      James

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

        @breit You have to either expand the partition or if you’re using logical volume management, you can add another partition to your volume group. If you search around in the forums, lots of people have done this, and there are tutorials here too. But this isn’t something FOG Specific - this is just Linux disk management.

        in either case, ABSOLUTELY snapshot your fog VM before doing this. If it’s not a VM, backup your images and database first!

        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/

        1 Reply Last reply Reply Quote 0
        • B
          BREIT
          last edited by

          Ok, I just went through it again and its apart of our volume group . Ubuntu sees it just fine but I’m not able to get FOG to see the newly added space.

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

            @breit You need to add the disk/space to the correct logical volume. And it’s not that fog can’t see it, it’s that you’ve not added the space to the correct logical volume or you’ve not extended the filesystem yet. After adding the space, you also need to extend that partition’s filesystem to use all available space. All of this is in the Linux OS, nothing to do with fog.

            Use this command: df -h
            If you don’t see the extra space using that command, then you’re not done. Fog has nothing to do with it.

            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/

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @breit said in Expanded Virtual Disk but FOG doesn’t see the change:

              Ubuntu sees it just fine but I’m not able to get FOG to see the newly added space.

              What do you mean by “Ubuntu sees it”? We need more details to help. So far you haven’t told us anything about what steps you made (details!) to expand virtual disk, LVM, partition, filesystem and how your setup looks like.

              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
              • 1 / 1
              • First post
                Last post

              159

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project