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

    Ubuntu; Disk size?

    Scheduled Pinned Locked Moved
    Linux Problems
    4
    5
    637
    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
      Baessens
      last edited by Baessens

      Hi

      Probably some mistake on my part.

      Ubuntu says I only have 3.9GB available, but the virtual disk i made is 200GB, Why am i not seeing this?
      (does it have something to do with me enabling VLM when installing the OS?
      Does it auto-expand or something?

      be5c22ee-7533-4f84-8883-544c8a143b2f-image.png

      From my Hyper-v:
      a8831f1d-3a4b-4d71-b0dd-f8e036cd0031-image.png

      This is Ubuntu 18.4 LTS, new install.

      Thanks in advance.

      george1421G Q 2 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Baessens
        last edited by

        @baessens 4GB is really small for a linux root partition. I an surprised your server runs.

        I have a solution for what you want, but it might not sound easy to you.

        1. Create a new virtual disk and connect it to your FOG server. This will be your FOG Images disk. Make it what ever size you need.
        2. Partition it using a standard partition format (no lvm).
        3. Format the disk with xfs or ext4 format.

        This above configuration will allow you to easily grow the disk when/if you need more space. LVM adds in a layer of complexity to expand your disk.

        Now what you will do is temporarily mount this new disk, like to /mnt/images then migrate everything in /images to /mnt/images making /images empty.

        Then unmount /mnt/images

        Lastly mount the new disk to the /images directory and update fstab to mount that disk on every reboot.

        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!

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

          @Baessens Please as well run the following commands (as root) and post output here. Maybe we can find out where your disk space is “used”.

          fdisk -l /dev/sda
          lsblk
          lvscan
          vgscan
          pvscan
          

          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
          • Q
            Quazz Moderator @Baessens
            last edited by

            @baessens I’m going to take a guess, but is the disk a “dynamic virtual disk” by any chance?

            1 Reply Last reply Reply Quote 1
            • B
              Baessens @george1421
              last edited by

              @george1421 It worked. Thanks !

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

              154

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project